This is a migrated thread and some comments may be shown as answers.

what is the wait for condition has timed out

3 Answers 225 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dileep
Top achievements
Rank 1
dileep asked on 22 Jun 2010, 08:14 AM
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
--------------------------------------------------

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 22 Jun 2010, 05:03 PM
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
0
Babeena G
Top achievements
Rank 1
answered on 09 Apr 2013, 11:17 AM
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
0
Boyan Boev
Telerik team
answered on 09 Apr 2013, 03:15 PM
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
Tags
General Discussions
Asked by
dileep
Top achievements
Rank 1
Answers by
Missing User
Babeena G
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or