Can any one explain about environment variables with examples?
Answers were Sorted based on User's Feedback
Answer / pravati
environment variable is a variable which keeps the value through out action
environment variable are of two types
1.built in
2.userdefined
In built in-u can retrive the built in data
ex-msgbox environment.value("os")
In userdefined u can set the value in environment
ex-file>>setting>>envrnment>>userdefined(+)>>value(abc.01@gmail.com),name(username)
then retrive the data of value & name in test
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
Environment Variables are used to get the basic information of system .
we do have two types
1.inbuilt environment variables
2.user-defined environment variables
Inbuilt environment variables used to get the basic information of system like test name,action name,user name,os
Eg: Environment.value("User Name")
User defined environment variables
two types
a.Internal environment variables
b.external environment variables
Internal Environment Variables are used to pass the values form one action to another action.
External environment Variables are used to store the master credentials of application.For this we can use Xml files to store the information and we can associate these files to the test and we can read the value using Environment.value("some variable").
Is This Answer Correct ? | 0 Yes | 0 No |
how to acess a test in RSA?
How can I generate customized logs in QTP ?
Whats the realtime QTP testing process
how to find that tools work well with ur existing system?
Tell me Three major differences between QTP & Winrunner?
diff between wr and qtp in detail.
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly
str="QTP AUTOMATION TESTING" here how many T are there in the str finally i want to display the T
Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code
While recording a login window QTP is identifying only parent window,then how can u identify the child objects.
Tell me about userdefined functions ?
How to Analyze the Checpoint results by Table and DB Checkpoints?