Element suddenly logged with "was found using Robust path"

Ranorex Studio, Spy, Recorder, and Driver.
qa-auto
Posts: 86
Joined: Mon Aug 05, 2019 10:46 pm

Element suddenly logged with "was found using Robust path"

Post by qa-auto » Thu Feb 24, 2022 10:40 pm

Hi Ranorexers,

What would cause an element to be suddenly found using Robust path? The log line is

[User]: Item 'ErrMsg_InternalSystemError' was found using Robust path.

The test passed for more than a year and now suddenly this element is found. To work past it, I've even updated the XPath twice and still the same issue. The element is not even present on the screen--regardless of the XPath.

I don't have the advanced Robust setting selected; I read other posts about how it works. I understand that if the option IS selected, it's only for elements generated after the setting is selected. (How does one even recognize an element has been generated using Robust XPath?? I tried to detect in a simple demo but the generated element looks the same.)

Suggestions on how to get rid of this? I'm at wits end.

Thanks for any help!

Item_Found_Using_Robust_path.png
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Element suddenly logged with "was found using Robust path"

Post by odklizec » Fri Feb 25, 2022 10:35 am

Hi,

If you don't want Robust Path to be used for a particular repo element, then it should be enough to simply delete Robust Path entry for given repo element?
RobustPath.png
And if you don't like Robust Path to be generated for each new element, then simply disable this feature in Ranorex Settings >>Advanced Tab >> Expert settings, as described here:
https://www.ranorex.info/robust-path-di ... tml#p68655
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

qa-auto
Posts: 86
Joined: Mon Aug 05, 2019 10:46 pm

Re: Element suddenly logged with "was found using Robust path"

Post by qa-auto » Mon Feb 28, 2022 6:06 pm

Thanks for the details!

Lorinda

PS Thinking of you all in your part of the world. I hope you and loved ones are safe. Take care, Pavel.