BrowserAuthentication Window Declaration


BrowserAuthentication is a Silk Test Classic window declaration that declares the dialog used by all Web browsers to solicit a user name and password before the user of the Web application can continue.


BrowserAuthentication is of class DialogBox.

Declared Objects

See in the Extend directory.


The following code fragment checks to see whether a BrowserAuthentication window is displaying; if so the user name and password is entered and the window is dismissed.

[-] if (BrowserAuthentication.Exists ())
	[ ] BrowserAuthentication.UserName.SetText (sUserName)
	[ ] BrowserAuthentication.Password.SetText (sPassword)
	[ ] BrowserAuthentication.OK.Click ()