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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / saravanaraja

The Following code is used to apply Environment value to
the text field:

Browser("Title:=.*").Page("Title:=.*").WebEdit("html
id:=").Set Environment("OS")

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

what frame work you are following?

0 Answers   Wipro,


what is the Command used to start the QTp from Run.

7 Answers  


How did u write macros?What is the main importance of VB macros in testing environment?

1 Answers  


how to pripare BRS/FRS Document for different projects?

1 Answers   Wipro,


Am going to QTP testing......but i dont know coding languages like (c,c++,java,etc)and am not having interest in coding .............can i choose testing tools like qtp to learn and get a job in software......please reply me

1 Answers  






Describe synchronization point.

0 Answers  


Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne

4 Answers   Siemens,


Can we create a qtp test from qc?

0 Answers  


How to test menu options using qtp

2 Answers  


How can you connect the database with QTP?

3 Answers  


Did you face the problem, changing the properties of an object in Run Time?

1 Answers  


What are the steps involved in the recovery scenario wizard?

0 Answers  


Categories