ForceReady Method

Class

Browser.

Action

Allows Silk Test Classic to interact with the browser while the browser is busy.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

Browser.ForceReady(bForce)
Variable Description
bForce If TRUE, forces the Browser ready. Default is FALSE. BOOLEAN.

Notes

This method is available for the DOM extension only.

When Silk Test Classic never receives a Document complete message from the browser, it will think that the browser is not ready and will raise an Application not ready error. To ignore that error, call Browser.ForceReady(TRUE) before interacting with the browser when it is not ready, then call Browser.ForceReady(FALSE) when the browser is behaving properly again. Usually the browser will behave properly when you load another page. Simply clicking Refresh will not help.