what is the wait for condition has timed out

4 posts, 0 answers
  1. dileep
    dileep avatar
    9 posts
    Member since:
    Jun 2010

    Posted 22 Jun 2010 Link to this post

    Hello,
    can anybody help what is the wait for condition has timed out .I am giving sleep also it is not working and one more things in silverlight the pop-up windows like child windows is not recoginized by the telrik with vsts iam using .plez iam getting lot of problem while running can any materials is there to explore the telrik with vsts.

    thanks in advance
    regards
    Dileep.s

    '6/22/2010 3:06:43 AM' - 'Fail' : 22. [dest1_CodedStep11] : @"Click on RajeshTestTextblock", RequiresSilverlight = true
    --------------------------------------------------
    Failure Information:
    ~~~~~~~~~~~~~~~
    Exception thrown executing coded step: '[dest1_CodedStep11] : @"Click on RajeshTestTextblock", RequiresSilverlight = true'.
    InnerException:
    System.TimeoutException: Wait for condition has timed out
       at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
       at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
       at ArtOfTest.WebAii.Silverlight.VisualWait.ForExistsInternal(Int32 timeout, Boolean invertCondition)
       at ArtOfTest.WebAii.Silverlight.VisualWait.ForExists(Int32 timeout)
       at ArtOfTest.WebAii.Silverlight.VisualWait.ForVisible(Int32 timeout)
       at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get(XamlFindExpression expr, Boolean waitOnElement, Int32 timeout)
       at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get(XamlFindExpression expr)
       at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get[TControl](XamlFindExpression expr)
       at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get[TControl](String[] clauses)
       at dest90.Pages.OntSysSilverlightPage.SilverlightAppElement.get_RajeshTestTextblock() in c:\documents and settings\dileep.s\my documents\visual studio 2008\projects\dest90\project.cs:line 195
       at dest90.dest1.dest1_CodedStep11() in C:\Documents and Settings\dileep.s\My Documents\Visual Studio 2008\Projects\dest90\dest1.aii.cs:line 177
    --------------------------------------------------
    '6/22/2010 3:06:43 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
    --------------------------------------------------
    '6/22/2010 3:06:43 AM' - Overall Result: Fail
    --------------------------------------------------
  2. Missing user
    Missing user avatar

    Posted 22 Jun 2010 Link to this post

    Hi dileep,

    Thanks for the post and your trial of WebUI Test Studio. For Silverlight child/popup windows, you would need to add the PopupTracker to your implementation as described in this blog in order to record and automate over the window.

    For the Wait For error, did the test step run correctly as recorded by WebUI before you converted the test step to code? Also, is your TextBlock a customized version of the generic Silverlight kit TextBlock?

    Kind regards,
    Nelson Sin
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Babeena G
    Babeena G avatar
    2 posts
    Member since:
    Mar 2010

    Posted 09 Apr 2013 Link to this post

    Can anyone help to sort out the issue

    "InnerException:
    System.TimeoutException: Wait for condition has timed out
       at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
       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)
       at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
       at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.NavigateToActionDescriptor.Execute(Browser browser)
       at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()"

    Please explain how to fix this
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 09 Apr 2013 Link to this post

    Hello Babeena,

    Since this is a duplicate of your public forum post, let's continue the discussion there.
     

    Greetings,
    Boyan Boev
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top