Page 1 of 1

searching for item after action

Posted: Tue Aug 07, 2018 3:03 pm
by aidan.mcdonnel
Hi

I'm finding that Ranorex is still searching for an element after an action is performed on that element?
Is this right?

Thanks

Aidan

Re: searching for item after action

Posted: Thu Aug 09, 2018 3:20 am
by Support Team
Hi Aidan,

Repository elements do have a maximum timeout that it will look for an item to perform an action, but as soon as the element is found, the action is performed, and Ranorex moves on to the next action. The timeout is only for instances where the element is never found in which Ranorex throws an exception once the timeout is reached.

I do not think this is your issue, but sometimes there are caching issues where Ranorex will look for the item until the timeout is reached, then run a quick fall back method with the absolute RxPath (instead of the cached RxPath). Sometimes this absolute RxPath works and the test continues. If this is occurring, the warning on the report should explain how to resolve it but it is typically resolved by disabling caching on the root/parent repository element.

If you continue to experience issues, please provide the following files so we may further investigate. You can contact us if you wish to troubleshoot this issue in a more private manner.
  1. Ranorex Report depicting this described behavior (compressed)
  2. Ranorex Solution (compressed)
Kind Regards,
Ned