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

syncwaitresult was null for this wait

2 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dileep
Top achievements
Rank 1
dileep asked on 28 Jun 2010, 12:00 PM
Hello Nelson,
I was wonder to see this exception because when i was running the scenerio it was well going after continuesly running the same
scenerio again and again the below exception is giving could you plez tell me why this exception is coming

System.ApplicationException: Unexpected error. SyncWaitResult was null for this wait
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get(HtmlFindExpression expr, Boolean waitOnElement, Int32 timeout)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get(HtmlFindExpression expr)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](HtmlFindExpression expr)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](String[] clauses)
   at ontariotest1365.Pages.OntSysSilverlightPage.get_SilverlightApp() in C:\Documents and Settings\dileep.s\My Documents\Visual Studio 2008\Projects\ontariotest1365\Project.cs:line 174
   at ontariotest1365.ontairotest133.ontairotest133_CodedStep12() in C:\Documents and Settings\dileep.s\My Documents\Visual Studio 2008\Projects\ontariotest1365\ontairotest133.aii.cs:line 194


regards
Dileep.s

2 Answers, 1 is accepted

Sort by
0
Missing User
answered on 28 Jun 2010, 07:26 PM
Hello dileep,

After checking out the error for past users, is this happening when you are debugging Silverlight customized to code test steps? And if you are, can you post the code that was generated and any modifications you made to the code?

If you are debugging code, please try removing any breakpoints and seeing if the test runs correctly. If the test runs without problems, you can then break past the line in execution that is throwing the exception to view debug information after the line executes.

Also, let us know if the test step worked before you customized the step in code.

Sincerely,
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
Missing User
answered on 06 Jul 2010, 05:49 PM
Hello again dileep,

Just wanted to check back for you, please let us know if you have resolved this or are still encountering the problem.

Kind regards,
Nelson
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
Tags
General Discussions
Asked by
dileep
Top achievements
Rank 1
Answers by
Missing User
Share this question
or