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 |
Hoe we can export TEST RESUALT IN to XL-sheet?
How Does Run time data (Parameterization) is handled in QTP?
What all challenges you have faced during automation and how you have resolved it?
in QTP we test web based application at that time what script is run? is support vb script? plz tell me
How do we do DOM programming in QTP.Could you explain with an example. If possible please provide some material or link related to DOM Programming.
In QTP for .net application which plug in is used? For Java Application which plug in is used ?
2 Answers AppLabs, Fraze Tech,
What are the disadvantages of Recovery Scenarios in QTP ?
can u store QTp frame work folders in VSS? If Not where u store those?
Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
Why you are Using Descriptive programming instead of Object Repository?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?