Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this one instance where descriptive programming does not work?
#11
Solved: 10 Years, 9 Months ago
Its is not good way to use Index , Its better use the web table with regular expressions to make the object unique , Please try the below code with little modifications as required , it might work Smile

Code:
Browser("name:=Delta - Book a flight").Page("title:=Delta - Book a flight").webtable("html id:=selectFlightsSegment.*" , "innertext:=.*Economy (L).*").webelement("innertext:=Select").click
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Descriptive PROGRAMMING sandeepm1989 0 2,010 01-21-2016, 11:46 AM
Last Post: sandeepm1989
  ERROR : Object reference not set to an instance of an object. Suyashxp 2 6,947 12-30-2014, 11:32 AM
Last Post: ursprasadp
  How to run QTP from QC on a remote citrix instance? sreekanth 1 4,596 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,861 09-12-2012, 08:57 PM
Last Post: freeboynil
  Can you use Descriptive Programming with Checkpoint? chong67 4 8,374 06-27-2012, 10:29 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)