what are the environment variables,how do you use them.
give an example.

Answer Posted / deepa

Environment Variables are variable whose value is fixed for
its usage everywhere.
There are two types.
1.Built in-which are already existing in QTP which we can
directly use in out script.
ex:ActionName,ActionIteration

2.User-defined
which user has to define and use those variables anywhere
in the action.
Ex:File path-Suppose u r reffering a data file in ur script
then store the location of ur file path in environment
variable and use it across the actions.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1655


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

1895


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1748


How to customize checkpoints with parameters?

3107


How do Parameterization and Data-Driving relate to each other in QTP?

667






How to give a call to another action from one action?

709


What is clean sweep?

1473


How to run a test using quicktest professional?

611


How you know that a test case is a regression test case

3233


What is business process testing(bpt) in qtp?

786


what is keyword driven testing in qtp?n how is it useful?

1576


Explain QTP using different development techniques ?

614


What is the extension of qtp local repository?

647


Mention what are the different types of recording modes in qtp? Which will be used when?

658


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1666