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

Is it possible to change the extension of Shared object repository?

2 Answers  


HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST

8 Answers  


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

0 Answers  


What is Parameterizing Tests?

1 Answers   Crea,


is it possible to add sheets to excel at runtime

1 Answers  


what is meant by Implicit and explicit requirements?

0 Answers  


Your roles and responsibilities and daily tasks? (As automation tester)

0 Answers   Oracle,


How to get all the objects count and objects names in webpage using QTP ?

6 Answers  


What is difference between QC and TD?

8 Answers  


What is the Difference between test object and run time object?

0 Answers  


Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday

1 Answers  


How many tabs are available to view your test in a test pane and what are they?

0 Answers  


Categories