Issue with Navigate to method: System.TimeoutException: Wait for condition has timed out

1 Answer 143 Views
Test Execution
Top achievements
Rank 1
Yulia asked on 30 Apr 2021, 10:10 AM

I am trying to open our web site which is located abroad so there is a considerable delay between request and response. Sometimes it takes up to 10-15 seconds to load the page and while waiting for it Test studio is throwing the following error (but after all it loads the page though):


'30/04/2021 14:46:42' - 'Fail' : 6. Navigate to : eHarmony by NavigateURL variable
Failure Information: 
Exception thrown executing coded step: 'Navigate to : eHarmony by NavigateURL variable'.
System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri, Boolean useDecodedUrl)
   at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri, Boolean useDecodedUrl)
   at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url, Boolean useDecodedUrl)
   at UpdateIdkynScreenFull.YN_GeneralManagerLoginProduction.YN_General_Manager_Login__CodedStep2() in c:\Automate\ATP%20Sources\eHarmonySecurity11\Logins\YN- General Manager Login .tstest.cs:line 111


Has someone faced this issue and how could you handle this, please? I know that I can put "continue on failure"=true, but then the overall result of the test will be shown as failed

1 Answer, 1 is accepted

Sort by
Plamen Mitrev
Telerik team
answered on 03 May 2021, 08:49 AM

Hello Yulia,

You can increase the "Wait On Elements" time from the default 15 000 msec to 30 000 msec or even higher. This is a global setting that determines what is the default waiting time, before the step times out. In addition to that, you can increase the "Client Ready" from its default value of 60 000 msec to more, if needed.

In case the issue persists, I would like to investigate your test scenario further. To do that, I will need your help with the following resources.

  • Prepare a sample Test Studio project with a web test the simulates the issue and attach it as .zip file.
  • Clear/Enable the Test Studio application log and run the test again. Gather and zip the generated log and send it over with your next reply.
  • Export the step failure details and attach the archive, as well.
  • Is it possible to access the application under test, or another application that will load slowly? Please provide the necessary access to such web application for testing and troubleshooting purposes.

I hope the above suggestion will help you configure the project settings and reduce the timeout errors during execution. If it does not help, I am looking forward to investigating the above mentioned additional resources and advising you further.

Thank you for your cooperation in this thread.

Plamen Mitrev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at
Test Execution
Asked by
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question