Unable to set path

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
prasanna
Posts: 10
Joined: Fri Jan 23, 2015 11:23 am

Unable to set path

Post by prasanna » Mon Feb 16, 2015 6:14 am

Hi,
I'm trying to give path of text box directly in code by using view spy without adding it to repository , on clicking add button we get new text box and id is getting incremented. If we enter text in first text box then second text box should be identified to enter text. I'm using some regular expressions [0-9] but i'm unable to set path correctly. please can anyone help me
textbox1 path is /dom//input[#'10000001_description']
textbox2 path is /dom//input[#'10000002_description']

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Unable to set path

Post by Support Team » Mon Feb 16, 2015 12:44 pm

Hi prasanna,

Could it be that a college of yours already asked the same question here: http://www.ranorex.com/forum/viewtopic. ... 524#p30524?
If so, please don't post the same question twice.
Please add all the requested information to the other post.

Thanks,
Markus
.
Image

prasanna
Posts: 10
Joined: Fri Jan 23, 2015 11:23 am

Re: Unable to set path

Post by prasanna » Mon Feb 16, 2015 1:14 pm

could you please explain how to use regular expression for the above case

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Unable to set path

Post by Support Team » Tue Feb 17, 2015 3:49 pm

Hi prasanna,

Please see: http://www.ranorex.com/forum/how-to-han ... tml#p30578 for the answer.

Regards,
Markus
.
Image

prasanna
Posts: 10
Joined: Fri Jan 23, 2015 11:23 am

Re: Unable to set path

Post by prasanna » Wed Feb 18, 2015 5:32 am

Thankyou