Select - Dropdown Again

2 posts, 0 answers
  1. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2013

    Posted 10 Jun 2013 Link to this post

    Hell Telerik,
    i am still facing problems with the select-Control. 
    I recorded on a Select-Control the following Select: .SelectByValue("30", true) .
    When running the test the first time (in Telerik Test Studio), the select is executed correctly. When rerunning the test, very often it fails here with this error log:
    (It fails on the recorded step and in a coded step.)

    Do you have any suggestions how i can solve it?
    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.DoSelectDropDown(Element targetElement, String data)
       at ArtOfTest.WebAii.Core.Actions.SelectDropDown(Element targetElement, String text, Boolean useValue)
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.Execute(Browser browser)
       at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

  2. Plamen
    Plamen avatar
    8 posts

    Posted 10 Jun 2013 Link to this post

    Hello Michael,

    The error means that Test Studio timed out waiting for the browser to return to a ready state after the Select 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).

    Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
    Reserve your seat today!
Back to Top