The 'Wait for condition has timed out' exception is occurred

2 posts, 0 answers
  1. Andres
    Andres avatar
    1 posts
    Member since:
    Aug 2017

    Posted 10 Jan 2018 Link to this post

    Hi, I'm using Telerik in a page which call multiple libraries, the time for response is between 30 seconds and 3 minutes. When this libraries pass the 1m to response, Telerik show message the error like this:


    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)


    Can I configure a maximum timeout to waited for the load complete of the page? 

    The navigation of my page is dynamic, sometime to URL (ActivateBrowser.NavigateTo(...)) and sometime do it click in elements, for this reason I need a change global and not only how parameter by each redirect


  2. Nikolay Petrov
    Nikolay Petrov avatar
    308 posts

    Posted 11 Jan 2018 Link to this post

    Hello Andres,

    The setting to extend the page loading time out is "Client Ready". Please, refer to the attached screen-shot. 

    This setting is available in the test list settings if executing tests in a list. It can be set using code lines as well.

    I hope this information is helpful.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top