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

can u please explain what is the exact difference between qtp8.2 and 9.0

1677


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1433


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1682


explain structured testing? plz guys with exp. do answer

1408


The hybrid framework can be implemented for any application. Is it true?

583






what type of run time errors you get while you ar edoing rpg program?

1509


What is synchronization point in QTP?

670


please any one can explain the keyword driven framework. with gmail example.

1622


What is fragmentation and paging?

1589


What is qtpro? What is quick test pro?

557


How is the Bitmap checkpoint different from Image checkpoint?

619


In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?

1488


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1435


What is difference between Recording time object identification and Run time (Execution) time.

1003


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1488