BrowserWarning Window Declaration

Description

BrowserWarning is a Silk Test Classic window declaration that declares the message box used by Web browsers to display a warning. For Silk Test Classic, that means any dialog whose caption contains the word "Warning".

Class

BrowserWarning is of class DialogBox.

Declared Objects

BrowserWarning contains two buttons: Continue and Cancel. For more information, see browser.inc in the Extend directory.

Example

The following checks to see whether a BrowserWarning window is displaying; if so, it clicks the Continue button.

[-] if (BrowserWarning.Exists ())
	[ ] BrowserWarning.Continue.Click ()