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) .
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
regards,
Mateo.
[edit: added 2 images showing shortening]
with option checked:
with option unchecked:
Disable RanorexPath shortening
Disable RanorexPath shortening
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Disable RanorexPath shortening
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
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