BrowserWarning Window Declaration


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".


BrowserWarning is of class DialogBox.

Declared Objects

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


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

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