how to create the varibles and how these are connect to qtp?
plz tell me

Answer Posted / fayaz

As we already know that QTP makes use of VB script, so
declaration of variable will be as follows:

Dim x

and if u wnt to make use of the variable across all the
actions in ur test then the declaration of the variable
will be as follows:

Environment("variable_name").value

and..now u can make use of this environment value anywhere
in ur test...

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In Remote acess server how u run a test?

1276


What is the difference between the design-time and run-time data tables?

544


what is the difference between development and testing

2340


Diff b/w test scenario's and test Procedures?

1616


What is reusable action?

585






what are the limitations of smart identification in qtp 9.0

1911


terminal services client

1774


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1494


unique properties of button,edit box, radio button,check box?

3805


How to build scripts that access data from external sources?

1590


What is the Difference between test object and run time object?

592


How would you export a script from one pc to another in qtp?

643


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

556


Where to use function or action?

660


What is active screen?

553