com.ibm.team.fvt.tests.web
Class WebDialog

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPageElement
      extended by com.ibm.team.fvt.tests.web.WebElementWrapper
          extended by com.ibm.team.fvt.tests.web.WebWindow
              extended by 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:


Constructor Summary
WebDialog(WebPage page, By findBy)
           
WebDialog(WebPage page, By findBy, java.lang.String frame)
           
WebDialog(WebPage page, By findBy, WebBrowserFrame frame)
           
 
Method Summary
 WebBrowserElement open(WebBrowserElement openElement)
          Open the window by clicking on the given web element.
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebWindow
cancel, close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.