com.ibm.team.fvt.tests.web
Class WebDialog
java.lang.Object
com.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.web.WebWindow
com.ibm.team.fvt.tests.web.WebDialog
- Direct Known Subclasses:
- WebFramedDialog
public abstract class WebDialog
- extends WebWindow
Abstract class for any window opened as a dialog in a browser page.
Following functionalities are specialized by the dialog:
Following operations are also specialized for dialogs:
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebDialog
public WebDialog(WebPage page,
By findBy)
WebDialog
public WebDialog(WebPage page,
By findBy,
java.lang.String frame)
WebDialog
public WebDialog(WebPage page,
By findBy,
WebBrowserFrame frame)
open
public WebBrowserElement open(WebBrowserElement openElement)
- Open the window by clicking on the given web element.
- Specified by:
open
in class WebWindow
- Parameters:
openElement
- The element on which to perform the open action.
- Returns:
- The dialog as a
WebDialog
subclass.