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
No Answer is Posted For this Question
Be the First to Post Answer
what are the drawbacks for record and payback in qtp
How to retrieve alpha bate from the alphanumeric string with special character.
I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?
What is the use of ordinal identifier in qtp?
How to handle run time errors?
wat are views in qtp explain
What is QTP testing process?
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
What are the types of Object Repository’s in QTP?
how to write regular expression for Date field?
Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil
what r the main benefits of automation?