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 |
Whenever we use GETROPROPERTY function.
what is smart identification in qtp? pls any give details? thanks in advance
when do we write a script in qtp?(plz give me more then 2 reasons)
What is the recovery scenario in qtp?
How to Analyze the Checpoint results by Checking Bitmaps?
How to use Regular Expressions in QTP
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
What environment does qtp run in?
I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?
On what basis we select test cases to automate?
What are the various automation frameworks available in qtp?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?