how to use validate.attributeregex : Automation API

how to use validate.attributeregex

Class library usage, coding and language questions.

how to use validate.attributeregex

Postby yng0505 » Mon May 30, 2011 11: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
yng0505
 
Posts: 3
Joined: Wed Jan 19, 2011 4:52 am

Re: how to use validate.attributeregex

Postby Support Team » Mon May 30, 2011 12:52 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests