Issue with regular expression.

0 views
Skip to first unread message

srik

unread,
Aug 18, 2009, 9:23:00 AM8/18/09
to iTest2
Hi Zhimin,

This is srikanth, I have some problem with object identification using
regular expression.

( I used like this) browser.row(:text, /.*...... Weirdnews.*/).checkbox
(:id, /cb.*/).set

but not working
Please explain how to I insert RegExp for the same
my row inner text Propertie is = "7 ...... Weirdnews 571 All
Registered"

Please have a look and let me know if you have any issues.

Thanks
Srikanth

Zhimin

unread,
Aug 18, 2009, 7:35:25 PM8/18/09
to iTest2
Srikanth,

Regular expression for
"7 ...... Weirdnews 571 All Registered"
will be something like (the '.' match any characters)
/7\s(\.)+\sWeirdnews/

If you can send me a sample html (by email), I probably can get a
better understanding of your objective.

Cheers,
Zhimin
Reply all
Reply to author
Forward
0 new messages