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

Post New Answer

More QTP Interview Questions

What is Reusable component is QTP...Anybody can answer it..Thanks in advance...

8 Answers   Siemens,


What is Associate Repository in QTP 9.2 ?

0 Answers  


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

0 Answers  


how to count the word "IS" is repeated in the application using DP

3 Answers   DST Global Solutions,


what is the difference between link and hyperlink?

2 Answers  






Please explain the role of Regular expression in QTP

0 Answers  


How to analyzing the checpoint results?

0 Answers  


QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?

1 Answers  


How to add a runtime parameter to a datasheet?

1 Answers   Crea,


anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework

1 Answers  


Explain the types of object repositorys in qtp?

0 Answers  


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

0 Answers   HCL,


Categories