Cannot find the object after adding repository.

Ranorex Spy, Recorder, and Studio.
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?
Attachments
snapshot.rxsnp
(482.28 KiB) Downloaded 189 times

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

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)
.
Image