BrowserMessage Window Declaration

Description

BrowserMessage is a Silk Test Classic window declaration that declares the standard message box used by all Web browsers.

Class

BrowserMessage is of class DialogBox.

Declared Objects

See browser.inc in the Extend directory.

Example

The following checks to see whether a BrowserMessage window is displaying; if so, the message in the window is printed and the AppError function is called.

[-] if (BrowserMessage.Exists ())
	[ ] BrowserMessage.PrintMessage ()
	[ ] AppError ("Unable to load '{sLocation}'")

Method

The window declaration declares the following method: