Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
regular expression
#13
Solved: 11 Years, 3 Months, 4 Weeks ago
When using multiple descriptors, try the following:

Code:
Browser("micclass:=Browser").Page("micclass:=Page").Frame("micclass:=Frame").Link("micclass:=Link","html tag:=a","text:=(Junk)$|Junk[\d\)\(]+").Click

Note, the quotes are given between each attribute.

Also, in object identification, add other properties name, innertext, outertext, visible as well. Delete the object inbox() added in object repository, and again add it to OR with these properties.

Make sure you check 'regular expression' checkbox in the properties of the object in OR.
Try with the value Inbox ([0-9].*) in Value configuration options of the property in OR, and do not set '\' backslash. Set Regular expression checkbox.
With all this set, try with
Code:
Browser("micclass:=Browser").Page("micclass:=Page").Frame("micclass:=Frame").Link("innertext:=Inbox ([0-9].*)").Click
Reply


Messages In This Thread
regular expression - by bangla123 - 10-06-2010, 12:30 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 12:39 AM
RE: regular expression - by bangla123 - 10-06-2010, 12:46 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 12:52 AM
RE: regular expression - by bangla123 - 10-06-2010, 12:52 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 01:02 AM
RE: regular expression - by bangla123 - 10-06-2010, 01:06 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 01:16 AM
RE: regular expression - by bangla123 - 10-06-2010, 01:26 AM
RE: regular expression - by Pallavii - 10-06-2010, 02:37 PM
RE: regular expression - by bangla123 - 10-06-2010, 10:34 PM
RE: regular expression - by cdesserich - 10-07-2010, 01:07 AM
RE: regular expression - by bangla123 - 10-07-2010, 08:52 PM
RE: regular expression - by jsknight1969 - 10-06-2010, 01:37 AM
RE: regular expression - by bangla123 - 10-06-2010, 02:08 AM
RE: regular expression - by cdesserich - 10-06-2010, 04:17 AM
RE: regular expression - by bangla123 - 10-06-2010, 09:13 PM
RE: regular expression - by cdesserich - 10-08-2010, 09:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,495 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,830 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,576 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: 5 Guest(s)