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

Interpretation of failure

2 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 2
Alan asked on 16 Apr 2013, 08:02 PM
Hello,

I received this failure and just wanted to be sure that I'm interpreting the result correctly.  I've had timeouts before where it was waiting for the element to exist or be visible, but this error does not specify.  Did this error fail on waiting for the browser to be ready?

Thanks.

'4/16/2013 2:22:55 PM' - 'Pass' : 8. Click 'EMPLOYEEDETAILImage'
'4/16/2013 2:22:55 PM' - 'Pass' : 9. Select 'ByText' option 'SINGLE' on 'DdmTaxFileStatusSelect'
'4/16/2013 2:23:26 PM' - 'Fail' : 10. Click 'BtnSubmitAvailablePGifImage'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Wait for condition has timed out
InnerException:
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.Click(Element targetElement)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'4/16/2013 2:23:26 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.

2 Answers, 1 is accepted

Sort by
0
Accepted
Byron
Telerik team
answered on 19 Apr 2013, 03:50 PM
Hello Alan,

The error means that Test Studio timed out waiting for the browser to return to a ready state (finish loading the web page) after performing the Click 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).

Please let us know if we can assist you further.

Regards,
Byron
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Alan
Top achievements
Rank 2
answered on 19 Apr 2013, 03:53 PM
Got it...just as I suspected.  Thanks for the help!
Tags
General Discussions
Asked by
Alan
Top achievements
Rank 2
Answers by
Byron
Telerik team
Alan
Top achievements
Rank 2
Share this question
or