Use of environment variables?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
can we install qtp in windows vista
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y?
what is the diffrence between script and Language ? (Chandana)
How to create a Runtime property for an object in QTP?
What is environment variable in qtp and why to use it?
what are the attributes of QTP?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
How to connect the real time application application with the QTP?
what is localisation testing and globalisation testing? what is the difference between them?
How to capture screenshots of Exceptions/Errors during run- time?
What are the two types of repositories available, explain them?
What is Test Fusion Report in QTP?