Page 1 of 1

Intermittent error

Posted: Wed Jul 31, 2013 9:09 am
by Patrick Kunst
I run this test several times know, but the last time this error occurred.
No element found for path '/form[@controlname='OrderEditForm']' within 30s.
The folder 'StandardtestRepository.AuftragHinzufuegenDE' was not found.
Failed to find item 'StandardtestRepository.AuftragHinzufuegenDE.TabControl1.CmbInboundType'.
I search for the named folder in the repository and found it. It also was found by Ranorex as I tried to highlight it. Also one action earlier the control was clicked and no error was shown.
I run the test again and the error disappeared, even nothing was changed.
Do you know why this error occurred?

Re: Intermittent error

Posted: Thu Aug 01, 2013 11:55 am
by blackout
Could be a timing thing whereby it was searched for prior to the element being loaded.

Shove in a WaitForPageLoad or delay the search/validation for like 1000-2000ms and you'll probably be golden.

Re: Intermittent error

Posted: Thu Aug 01, 2013 1:02 pm
by odklizec
I experienced such kind of problems before and the solution was to disable folder caching. In repository, select the problematic folder, right click on it and from the appeared menu select "Properties". Then in Properties pane set the "Use Cache" option to False.
UseCache.png
Hope this helps?

Re: Intermittent error

Posted: Wed Aug 07, 2013 4:47 pm
by monkey2012
I also have the same problem as Patrick described even though folder cache is false.