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 |
A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key
what is a test strategy & what is the difference between test strategy & test plan?
At a time how many users can access QTP?
Analyzing the Checkpoint results ?
hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you
please send detail navigation for merging of object ripositories in QTP 8.2
3 Answers Infosys, Ordain Solutions,
Tell me the QTP Advantages and Disadvatages ?
what all are the coverages , explain ?
How to explain a banking project in interview as a test engineer???
How do you configure QTP AND Test director?
suppose i can done the project in automation tool with QTP in that time what i can say?
can any body pls mail me latest FAQ's in QTP to my mailid btrintra@gmail.com....Thanks in advance