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 are the drawbacks for record and payback in qtp

3 Answers  


How to retrieve alpha bate from the alphanumeric string with special character.

7 Answers   ADP, Cap Gemini,


I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?

4 Answers   IBM,


What is the use of ordinal identifier in qtp?

0 Answers  


How to handle run time errors?

9 Answers  






wat are views in qtp explain

3 Answers   IGT,


What is QTP testing process?

0 Answers  


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

3 Answers  


What are the types of Object Repository’s in QTP?

2 Answers   Crea,


how to write regular expression for Date field?

12 Answers   Google,


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

2 Answers  


what r the main benefits of automation?

2 Answers  


Categories