Manual

44.1.5
The DialogNode class

The DialogNode class, also derived from Node is not a standard DOM class, but created solely for convenient access to dialogs within QF-Test. It also resides in the package de.qfs.apps.qftest.client.web.dom but has very little to do with the other Node classes. A DialogNode represents a message or error dialog which can be triggered via JavaScript. It provides the following methods:

 
 
long getStyle()
Get the style of the dialog.
Returns The style of the dialog. Any of the constants STYLE_ALERT, STYLE_CONFIRM or STYLE_AUTHENTICATE defined in the DialogNode class.
 
String getTitle()
Get the title of the dialog.
ReturnsThe title of the dialog.
 
String getText()
Get the message text of the dialog.
ReturnsThe message text of the dialog.