Cannot find the object after adding repository.

Ranorex Studio, Spy, Recorder, and Driver.
jwei
Posts: 8
Joined: Fri Nov 09, 2012 7:34 pm

Cannot find the object after adding repository.

Post by jwei » Thu Nov 15, 2012 1:53 am

I have a filter panel on UI earch pleat have Apply button. I add Apply button on first pleat to repository, use Highlight button, the correct object is found.

Add Apply button on second pleat to repository, it goes to the first Apply button, the object cannot be found using Highlight button.

All of these buttons have the same id .//input[@id='Apply'], the only difference is the location. How can I add location to RanoreXpath?
You do not have the required permissions to view the files attached to this post.

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

Re: Cannot find the object after adding repository.

Post by Support Team » Thu Nov 15, 2012 3:24 pm

Hello,

You could use the following RxPaths in order to find your specific button:
.//div[#'formsFilter']/input[#'Apply']
.//div[#'formsFilter']/input[id='Apply']

Please make sure that the name of your form is unique.
Please take a look at section RanoreXPath in our User Guide.

Regards,
Markus (T)