Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot identify the specified item of the regions object.
#1
Solved: 10 Years, 10 Months ago
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
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
Reply


Messages In This Thread
Cannot identify the specified item of the regions object. - by Uma - 07-29-2011, 10:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot identify the specified item Beginner 0 2,357 06-22-2017, 04:55 PM
Last Post: Beginner
  Cannot identify the object "Webtable" korunu 1 2,411 06-29-2016, 05:28 PM
Last Post: Ankesh
  Cannot identify the object "Webtable" korunu 0 1,685 05-11-2016, 12:02 AM
Last Post: korunu
  WinListView set item command Shahino007 0 2,548 10-06-2015, 03:57 PM
Last Post: Shahino007
  QTP "Cannot identify the object" richardpaulhall_2 3 13,345 08-20-2015, 11:46 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)