Use of environment variables?

Answers were Sorted based on User's Feedback



Use of environment variables?..

Answer / hariprasad reddy

The variables declared in Action1, we cannot able to use
them in Action2. So, using Environment key we can access
any variable in any Actions. These variables are known as
environment variables

Is This Answer Correct ?    1 Yes 0 No

Use of environment variables?..

Answer / dinesh1433

in case of normal variable, it has scope of access within action only in which it is defined,now if a user wanted to use this varaible in another action then it is not possible.

so Environemnt varibale came into picture, in this case, if the environemnt value is defined at any action at point of time, then this will accessable through out the actions between the script exection,once the execution is stoped then the environment value loses the value assigned to it. it does not carry forward the value.

Is This Answer Correct ?    1 Yes 0 No

Use of environment variables?..

Answer / jayadev acharam

Environment values can be used in any Action of ur script,
those act as Global Variables

Is This Answer Correct ?    1 Yes 1 No

Use of environment variables?..

Answer / priya

Environment parameters are especially useful for
localization testing, when you want to test an application
where the user interface strings change, depending on the
selected language. Environment parameters can be used for
testing the same application on different browsers. You can
also vary the input values for each language by selecting a
different Data Table file each time you run the test.
You can also create environment output values, which
retrieve values during the test run and output them to
internal environment variable parameters for use in your
test.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

what is meant by source control?

0 Answers   Ordain Solutions,


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

9 Answers  


After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!!

2 Answers   ABC,


Iam doing automation in Oracle App's using QTP? In App's because of some functional setup, keep on changing my script flow. for this how can i use the recovery sceanrio?? Please help me?

1 Answers  


what r the send key commands in QTP why they r used

1 Answers  






Hi All, Can anyone provide me the license for QTP 9.5.... My Email ID: khanbro@rediffmail.com

0 Answers  


What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?

1 Answers   Infosys,


what r the executing modes in QTP

2 Answers  


what are the design objects in qtp

3 Answers   Wipro,


Explain the views in the QTP GUI?

0 Answers  


What are the advantages of qtp?

0 Answers  


How to send the qtp results file by email (Lotus notes).

1 Answers   TCS,


Categories