Answer Posted / ravinder
first diclare veriable in note pade and save in vbs file
after that go to new qtp program
use the publec ffunction
end function satement go to test resoruses and add
librarey file run the frogram
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
What are the 3 main stages involved in testing with qtp?
Differences between quicktest professional (qtp) and winrunner?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
Is the qtp course will help to create a virtual object?
Which environments are supported by hp qtp?
What do you mean by iteration?
how to create flat file datasubmission in qtp
How does qtp identify the object in the application?
what are the mandatory properties for a tex boxc (scenario?)
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How to get the particular property value?
What is the quicktest professional (qtp) testing process?
How to capture a window in QTP?
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
What are the views available in qtp?