what are the environment variables,how do you use them.
give an example.
Answers were Sorted based on User's Feedback
Answer / deepa
Environment Variables are variable whose value is fixed for
its usage everywhere.
There are two types.
1.Built in-which are already existing in QTP which we can
directly use in out script.
ex:ActionName,ActionIteration
2.User-defined
which user has to define and use those variables anywhere
in the action.
Ex:File path-Suppose u r reffering a data file in ur script
then store the location of ur file path in environment
variable and use it across the actions.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / chakrapani
Built in Enironment
a=Environment.Value("TestName")
msgbox a (this gives test script name )
if u see in qtp Resources Environment built in u find many
things like TestName, Pathdir,version etc
User defined Evironment
i want to store a value in run time and pass to another
script then
a=Enironment.Value("DocumentNumber")
Is This Answer Correct ? | 0 Yes | 0 No |
What is creation time property and how does it work?
Difference between object identification and smart identification
what is the extension of action script template?
Hi All, I am a beginner in QTP and have understood the basics of QTP by going through tutorial. I am trying to Automate a HRMIS application, What is the right approach to Automate this application. Kindly answer. Thanks in advance
how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
what is diffrense between action and function
what are SetToProperty, SetROProperty,GetToproperty scripting?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
0 Answers Tavant Technologies,
With what extension you can save the list of tests in a file to run in test batch runner?
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks
Could we use QTP for java project(Which is develop in Netbeans and My SQL) otherwise which one is suitable?
What are the main features we have to compulsory test by using qtp in an web based application