I cant seem to find anything to make it unique on this object here.
It is a Image. Once you click on it, it is suppose to go to the next page.
Here is what QTP10 capture:
Here is what I did:
The problem is that all the red arrow button have this same name and I cant find anything unique.
About the abs_x and abs_y, if you resize the browser, everything change too. So it is way way too dynamic.
Any trick on this thing?
Thanks for your help!
It is a Image. Once you click on it, it is suppose to go to the next page.
Here is what QTP10 capture:
Code:
Browser("Delta - Book a flight").Page("Delta - Book a flight").Image("red_arrow").Click
Here is what I did:
Code:
Browser("name:=Delta - Book a flight").Page("title:=Delta - Book a flight").Image("file name:=red_arrow.gif", "abs_x:=1236", "abs_y:=393").Click
The problem is that all the red arrow button have this same name and I cant find anything unique.
About the abs_x and abs_y, if you resize the browser, everything change too. So it is way way too dynamic.
Any trick on this thing?
Thanks for your help!