tell me the script for envirnment value parameeter with an
example. which situation envirnment valu parameter is used

Answer Posted / jay prakash

There are several builtin environment variables provided by
QTP. When ever you want to use one just use it like this:

strName = Environment.Value("UserName")
msgbox strName

For the list of env var you can see File -> Settings ->
Environment.

Please let me know if it helps.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how will you load the test cases in ddt?

1592


Can you write a script to check if the folder exists or not?

513


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1401


what is review

1608


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1531






Does Low-level recording capture mouse movements?

580


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

1806


How to analyzing test results using quicktest professional (qtp)?

582


What are the key elements available in test result window?

620


How do Parameterization and Data-Driving relate to each other in QTP?

552


How does QTP identify an object?

609


Explain how you can replace string in qtp?

601


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

600


How can you close the second opened browser?

800


wht type of User defined functions or Java Releated functions do we write in VB scripting

1823