-
Cannot identify the object "fromPort"
I am running a parameterized test in QTP on the website http:// newtours . mercuryinteractive . com with parameters as city of "Departing From" field.
The first iteration is running correctly but when the second iteration starts, it does not navigate to Find a Flight page. Instead it gives an error-"Cannot identify the object "fromPort" (of class WebList). Verify that this object's properties match an object currently displayed in your application."
Any help in this regard is appreciated.
Question asked by visitor Reena
-
Contributing Member
Re: Cannot identify the object "fromPort"
You mentioned tht in second iteration Flight button is not enabled
jus check u have parameterized for
date fly_from fly_to column and data s are added in data table!!!
-
Moderator
Re: Cannot identify the object "fromPort"
Try this:
Browser("micClass:=Browser").Page("micClass:=Page").WebList("name:=fromPort").Select "SomeCity"
-
Contributing Member
Re: Cannot identify the object "fromPort"
Anyway this problem only come when recorded object description is different from Actual Object Description.
As you are a begginer, i would suggest you to re-record the script and parameterize the script properly. it will work.
Make Sure that there is no blank row in datatable between two consecuitve rows. Make sure that initial conditions are meeting scriopts needs. Make sure that dynamic object is dynamic. if yes then use regular expressions, paratmeterize property value or exclude the dynamic property from Properties Description set.
SYCHO
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules