Friday 15 March 2013

What is early binding and late binding in QTP

In QTP, all variables of variant type. Meaning It is not necessary to declare a variable with any data type like int, float etc.

When we initialize a variable with any value, QTP will assign a data type to that variable depending upon what kind of Value is assigned to the variable.

Example -

Dim a
a = 10

' In above code, when we assign the value of 10 to a, data type of a becomes integer.
This means that at runtime, the data type binding is happening. This is called as a late binding in QTP.


No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.