It seems most people are getting this error in FF but I'm seeing it in IE. I have a form with a <select ... field. The select uses a DHTML based lookup page to find values to populate the select's options - It can contain more than one value thus the select rather than an input field. When I record the action everything looks fine. Playing it back from a test list fails with the error shown below. When I see the playback in the browser it appears that the click that fires the new window never happens. There are some look ups of this type on a previous page - multi-page, multi-form process. The previous lookups are for input fields and those work just fine in the playback.
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: System.TimeoutException: Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)
Any idea on how to sort this out?
UPDATE ...
Did a little more work with this and found something interesting. The attached image shows the actual vs the expected. I'm guessing what's happening is the lookup icon, an image of a maginfying glass, is named the same on both page one - expected - and page 3 - actual. Since they're in different places on the page(s) and have a different url the application is failing to find it. This is my assumption of course. Is this the behavior of the application? If so, how do I defeat this? Is there something I'm not seeing?
Thanks,
Todd B.
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: System.TimeoutException: Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)
Any idea on how to sort this out?
UPDATE ...
Did a little more work with this and found something interesting. The attached image shows the actual vs the expected. I'm guessing what's happening is the lookup icon, an image of a maginfying glass, is named the same on both page one - expected - and page 3 - actual. Since they're in different places on the page(s) and have a different url the application is failing to find it. This is my assumption of course. Is this the behavior of the application? If so, how do I defeat this? Is there something I'm not seeing?
Thanks,
Todd B.