0 votes
in QuickTest Professional (QTP) by

How will you  declare a variable in QTP?

1 Answer

0 votes
by

You declare using a DIM keyword. You assign value to the variable using the SET keyword.

Ex.

Dim temp 'Will declare the temp variable

Set  temp = 20 ' Will assign a value 20 to temp.

...