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
Hybrid framework supports Descriptive programming. Is it true?
How can you give wait up to 10 seconds in qtp?
Explain how you can replace string in qtp?
Explain the concept of object repository & how qtp recognizes objects?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
Can U Explain about QTP tool from older version to latest version also its differences?
banking project description for software tester
How do client side image and server side image work?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
How to capture a window in QTP?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
How do you test DLL files using automation Tool QTP?
In qtp, how you can use xpath to identify objects?
How many lines of code in each script of QTP?