Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expressions
#1
Solved: 10 Years, 8 Months, 4 Weeks ago Question 
I have a list of buttons. And Button is type of WebElement Link like mentioned below:-

Its outer HTML is as follows:-

Code:
<A class="abc" title="xyz" href="#a_b_DM_c" name=center jQuery1303725751136="4"></A>

Only thing in above outer html, class and href is changing. So at runtime am using regular expression in outerhtml property to recognize the webelement as :-

Code:
objBtn = "*.a_b_DM_c.*"

But this type of regular expression assigment is not working. Could anyone tell me how to use the string in between and use regular expression on both the sides of String. Any help will be appreciated. Thanks.
Reply


Messages In This Thread
Regular Expressions - by Charanpreet - 04-25-2011, 03:50 PM
RE: Regular Expressions - by supputuri - 04-25-2011, 06:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  regular expressions ajayr1982 2 2,064 06-08-2012, 03:43 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 1 Guest(s)