Page 1 of 1

Disable RanorexPath shortening

Posted: Tue Oct 15, 2013 12:24 pm
by mdgairaud
Hi all,

One thing that the spy do is shortening the RxPath by default, it causes that some elements with the same name may crashes the test execution (at least in my case) :roll: .

To avoid this shortening just open the Spy and go to Settings, then check out the option "Enable search by unique ID (if available)". (see image attached) Now it always uses the full lenght path.

Thats all :D
ranorexSpy.png
regards,
Mateo.

[edit: added 2 images showing shortening]

with option checked:
with.png
with option unchecked:
without.png

Re: Disable RanorexPath shortening

Posted: Wed Oct 23, 2013 12:25 pm
by Support Team
Hi Mateo,

Thanks for sharing your experiences :)!

I just want to add that Ranorex not just shortens the RxPath when the search by unique ID algorithm is enabled, it is also a much faster way to find the web elements. In order to find the elements by the IDs it is necessary that these "unique IDs" are really unique. So it is perfectly right to disable it when this is not the case :).

Regards,
Markus