Wait For Condition Has Timed Out

PROBLEM

You may encounter the Wait for condition has timed out error after your test performs a click action.

 

Failure Information:
~~~~~~~~~~~~~~~
Wait for condition has timed out
InnerException:
System.TimeoutException: Wait for condition has timed out
at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()

 

This indicates the test timed out waiting for the browser to return to a "ready" state after the click command was sent to it.

SOLUTION

This can often be overcome by setting the applicable step's SimulateRealClick property to True. Find it under the Behavior heading in the Properties pane.

 

 

When set to True, Test Studio will not wait for the browser to return to a "ready" state. Also, it will not automatically refresh its local copy of the DOM. Instead it sends the click command to the browser (as a live user would) and immediately moves on to the next test step.