Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression in Desc programming
#3
Not Solved
I'm guessing you are getting the "object's description matches more than one of the objects currently displayed in your application" error since you are not using more than one identification properties. Usually, you want to at least include "html tag", then if the text property of "text:=Hotels in .*" matches all of the "Hotels in" links on the page, you have to pick out which one you want to click with the "index" property. This will click the first "Hotels in" link:

Code:
Browser("Hotels").Page("Hotels").Link("html tag:=A", "text:=Hotels in .*", "index:=0").Click
Reply


Messages In This Thread
Regular Expression in Desc programming - by jyoo - 03-03-2010, 08:28 AM
RE: Regular Expression in Desc programming - by cdesserich - 10-06-2010, 03:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,496 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,361 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,831 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,578 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,123 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)