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

What are test settings and global settings?

823


What are the different types of qtp test assets and their extensions?

875


how did u use automating testing tools in ur job?

1694


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

6743


How qtp recognizes the object?

884


How u will do versioning in QTP?

1660


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1635


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2400


What is the file extension of the code file and object repository file in QTP?

864


If created one virtual object? Next time I changed the window position will it work?

802


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2692


Explain the concept of object repository and how quicktest professional recognises objects?

783


what is the difference between built-i function and In-built function?

1908


When to use descriptive programming?

828


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1774