Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this one instance where descriptive programming does not work?
#11
Solved: 11 Years, 3 Months, 4 Weeks 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,099 01-21-2016, 11:46 AM
Last Post: sandeepm1989
  ERROR : Object reference not set to an instance of an object. Suyashxp 2 7,247 12-30-2014, 11:32 AM
Last Post: ursprasadp
  How to run QTP from QC on a remote citrix instance? sreekanth 1 4,872 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 5,241 09-12-2012, 08:57 PM
Last Post: freeboynil
  Can you use Descriptive Programming with Checkpoint? chong67 4 8,662 06-27-2012, 10:29 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 2 Guest(s)