Ranorex finds the element, but takes too long, due to which it throws this error: Failed to find item 'Project'.
No element found for path 'element[@automationid='MainWindowTitleControl']//button[@automationid='ID_Open']/picture[@automationid='mImage' and @visible='true']' within 30s.
Any idea as how this could be sorted
how can I increase the time to find and element
Re: how can I increase the time to find and element
Hi,
Could you please post a Ranorex snapshot (NOT screenshot) of the problematic element? Without snapshot, it's almost impossible to suggest something reliable. Generally speaking, you may need to improve the xpath? Of course, you can increase the search timeout value of given element in repository. But I think you should simply improve the xpath. I'm only rarely modifying search timeouts in repo. Another possibility is to use WaitFor Exists action, which pauses the test execution, until a certain element is available.
Could you please post a Ranorex snapshot (NOT screenshot) of the problematic element? Without snapshot, it's almost impossible to suggest something reliable. Generally speaking, you may need to improve the xpath? Of course, you can increase the search timeout value of given element in repository. But I think you should simply improve the xpath. I'm only rarely modifying search timeouts in repo. Another possibility is to use WaitFor Exists action, which pauses the test execution, until a certain element is available.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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