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
How to use the object spy in quicktest professional 8.0 version?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
Why to use descriptive programming?
In qtp, explain what is qrs file?
How you can decide which type of object repository you have to use?
What is qtpro? What is quick test pro?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
how to disable the pop ups through QTP using a script
How can we conduct U-I Testing by using QTP??????
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
Thanks....But can u tell me how i use the QTP for GIS with one Example...
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
How many types of recording facility are available in quicktest professional?