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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain actions in qtp ?

567


how to test use the quality control .how to verify the image verification

2561


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1401


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

1391


What is the parameterization?

592






please any one can explain the keyword driven framework. with gmail example.

1635


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1358


Explain how you can replace string in qtp?

618


How many tabs are available in debug viewer pane?

662


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

1422


Is it possible to switch between recording modes during a test creation?

604


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1413


What is different command used in command Prompt while using QTP?

1760


describe some problems that u had with automating testing tool?

1425


What will be happen if i load object repository at run time, but it has already associated.

1272