how to use validate.attributeregex

Class library usage, coding and language questions.
yng0505
Posts: 3
Joined: Wed Jan 19, 2011 3:52 am

how to use validate.attributeregex

Post by yng0505 » Mon May 30, 2011 10:04 am

Can anyone teach me how to use validate.attributeRegEx ??Is it mean we can validate text with regular expression ?? But i try to put ".*abc$" ..BUt it failed..thank you

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: how to use validate.attributeregex

Post by Support Team » Mon May 30, 2011 11:52 am

Hi,
yng0505 wrote:Is it mean we can validate text with regular expression ??
Yes, you are able to use regular expressions.
yng0505 wrote: But i try to put ".*abc$" ..BUt it failed..thank you
Have you tried to validate the RxPath in Spy if this one is valid. If not please copy your RxPath to Spy and check if it works.
Please take a look to following blog
http://www.ranorex.com/blog/ranorexpath-tips-and-tricks

Regards,
Peter
Ranorex Team