searching for item after action

Ranorex Spy, Recorder, and Studio.
aidan.mcdonnel
Posts: 8
Joined: Wed Aug 09, 2017 2:11 pm

searching for item after action

Post by aidan.mcdonnel » Tue Aug 07, 2018 3:03 pm

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

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

Re: searching for item after action

Post by Support Team » Thu Aug 09, 2018 3:20 am

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