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

Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

662


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

537


hou can we use vb script in qtp could u tell me breafly

1747


Can we use index on view?

1608


When ‘option explicit’ keyword is used in qtp?

757






banking project description for software tester

7031


Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

1415


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1448


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

2401


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1515


Difference between test object and run time object?

596


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1697


What is the syntax to call one action in another?

561


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

3707


What is the descriptive programming?

1516