what are the environment variables,how do you use them.
give an example.
Answer Posted / 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 |
Post New Answer View All Answers
What are the views available in quicktest professional (qtp)?
Do you know how to connect database? Can you tell me the procedures?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
When to use descriptive programming?
What is Curd testing?
how to know no.of mails in our g mail by using vb-script
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
what is clean sweep?
regular expression in qtp standar check point for months from accepting months from january to december only
Explain the terms test and business component?
How many tabs are available to view your test in a test pane and what are they?
What the differences are and best practical application of Object Repository?
Define object spy ?
Explain the benefits of quick test pro(qtp)?