Wild card within object repository : Object Identification and Technologies

Wild card within object repository

Technology specific object identification, supported applications, web technologies, and 3rd party controls.

Wild card within object repository

Postby EugeneF » Tue Sep 27, 2011 12:28 am

Is it possible to use wild card with Object Repository?
If so, how to do it?
I tried ".*" with no success.

I had -

cell[@accessiblename='Address Row 6']


and I changed it for -

cell[@accessiblename='Address Row .*']

Anything wrong?
EugeneF
 
Posts: 55
Joined: Fri Jul 29, 2011 1:26 am

Re: Wild card within object repository

Postby sdaly » Tue Sep 27, 2011 9:15 am

Change the = to ~ to switch to regex mode....
User avatar
sdaly
 
Posts: 213
Joined: Mon May 10, 2010 12:04 pm
Location: Dundee, Scotland

Re: Wild card within object repository

Postby EugeneF » Wed Sep 28, 2011 7:34 pm

Can you, please, give me an example? In my case how it should be?
EugeneF
 
Posts: 55
Joined: Fri Jul 29, 2011 1:26 am

Re: Wild card within object repository

Postby Ciege » Wed Sep 28, 2011 8:03 pm

See this page http://www.ranorex.com/support/user-guide-20/ranorexpath.html and scroll to the RanoreXPath with Regular Expression section.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...
User avatar
Ciege
 
Posts: 965
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Wild card within object repository

Postby EugeneF » Fri Sep 30, 2011 7:42 pm

Hi Ciege,

Thank you very much for your great help!!!
EugeneF
 
Posts: 55
Joined: Fri Jul 29, 2011 1:26 am


Return to Object Identification and Technologies

Who is online

Users browsing this forum: No registered users and 0 guests