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 |
What are the file extensions for per-action, shared object repository files and what is the extension for library files?
Suppose there is a bitmap with some text in it how do you write the script to get the text.
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
How to connect the real time application application with the QTP?
what is recovery manager and recovey scenerio?
how can i pass parameters into function?
Does QTP is "Unicode" compatible?
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
i have 100 manual test cases, how to automate from no 1. ols detail steps
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
in qtp how we work with out put values and what is the process?
how to get the particular chr in an array list the question is ....i have an array like this ABCD EBCF GBCH IBCJ HERE I NET TO GET ONLY "BC" FROM ALL HOW TO GET IT HELP ME ANY ONE THANKS