Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this one instance where descriptive programming does not work?
#1
Solved: 10 Years, 10 Months, 2 Weeks ago
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:

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!


Attached Files Image(s)
       
Reply


Messages In This Thread
Is this one instance where descriptive programming does not work? - by chong67 - 06-25-2012, 08:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Descriptive PROGRAMMING sandeepm1989 0 2,028 01-21-2016, 11:46 AM
Last Post: sandeepm1989
  ERROR : Object reference not set to an instance of an object. Suyashxp 2 7,025 12-30-2014, 11:32 AM
Last Post: ursprasadp
  How to run QTP from QC on a remote citrix instance? sreekanth 1 4,651 07-29-2013, 12:24 AM
Last Post: ravi.gajul
  Descriptive Programming By giving the description in form of the string arguments sia sharma 6 4,904 09-12-2012, 08:57 PM
Last Post: freeboynil
  Can you use Descriptive Programming with Checkpoint? chong67 4 8,408 06-27-2012, 10:29 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 2 Guest(s)