Interpretation of failure

3 posts, 1 answers
  1. Alan
    Alan avatar
    6 posts
    Member since:
    Aug 2011

    Posted 16 Apr 2013 Link to this post

    Hello,

    I received this failure and just wanted to be sure that I'm interpreting the result correctly.  I've had timeouts before where it was waiting for the element to exist or be visible, but this error does not specify.  Did this error fail on waiting for the browser to be ready?

    Thanks.

    '4/16/2013 2:22:55 PM' - 'Pass' : 8. Click 'EMPLOYEEDETAILImage'
    '4/16/2013 2:22:55 PM' - 'Pass' : 9. Select 'ByText' option 'SINGLE' on 'DdmTaxFileStatusSelect'
    '4/16/2013 2:23:26 PM' - 'Fail' : 10. Click 'BtnSubmitAvailablePGifImage'
    ------------------------------------------------------------
    Failure Information:
    ~~~~~~~~~~~~~~~
    Wait for condition has timed out
    InnerException:
    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.Actions.Click(Element targetElement)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
       at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
    ------------------------------------------------------------
    '4/16/2013 2:23:26 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
  2. Answer
    Byron
    Admin
    Byron avatar
    184 posts

    Posted 19 Apr 2013 Link to this post

    Hello Alan,

    The error means that Test Studio timed out waiting for the browser to return to a ready state (finish loading the web page) after performing the Click step.

    To overcome this, you need to increase the ClientReadyTimeout that specifies the amount of time to wait for a ready state. You can do that from the Test List Settings (if you are running your test as part of a Test List) or from Quick Execution Options (if it's a Quick Execution).

    Please let us know if we can assist you further.

    Regards,
    Byron
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Alan
    Alan avatar
    6 posts
    Member since:
    Aug 2011

    Posted 19 Apr 2013 Link to this post

    Got it...just as I suspected.  Thanks for the help!
Back to Top