why we use environment variables

Answers were Sorted based on User's Feedback



why we use environment variables..

Answer / srinivas poodari

We can use the environment variables for speed up the
testing process. For example During testing if at all we
have the long path, then we give the user defined variable
to that path and run the programm.

Is This Answer Correct ?    2 Yes 0 No

why we use environment variables..

Answer / issac

It can be used to pass values across actions
syntax is Environment.value=""

Is This Answer Correct ?    1 Yes 0 No

why we use environment variables..

Answer / narendra

The main use of Environment variable is the value of
environment variable does not change

Is This Answer Correct ?    0 Yes 0 No

why we use environment variables..

Answer / ramesh

we will use the environment variables for global values.
global values are the values which havent changed in the
etire application testing.we will use these values in our
test scripts without declarations.

Is This Answer Correct ?    0 Yes 0 No

why we use environment variables..

Answer / uday

environment variable is a variable,Which you have in one
action can't be used in some other action so by using
environment variable we can use the variables in one action
in to another action.

These are global through variables

if i am wrong correct me plz

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What are the disadvantages of Recovery Scenarios in QTP ?

3 Answers  


Explain about Hybrid Framework

2 Answers   IBM,


Is it possible to switch between recording modes during a test creation?

1 Answers  


Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------

6 Answers  


Can anybody send me the code to get the RO property of the active screen in QTP while running?

9 Answers  


Please mail me the license key of QTP 9.5 t v.sadangi@gmail.com ????? thx

0 Answers  


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1 Answers  


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" ar = Window("Flight Reservation").WinComboBox("Fly From:").GetContent your actual value is : that shows data in combo box how can u test the both data is correct or not by using split function

1 Answers   FIS,


what are the main differences between keyword driven frame work and data driven frame work?

1 Answers   UHG,


I am not able to record yahoomail browser.its giving error like "The browser Application can't be launched .Posssibly the URL is wrong" So anyone can tell me what setting i have to do in qtp??

1 Answers  


Is it a smart choice to use QTP for backend testing?

1 Answers   CTS,


what is the advatages of merging of object repositories in Qtp9.0

3 Answers   TCS,


Categories