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

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.WebTextHover
Direct Known Subclasses:
WebLinkHover

public abstract class WebTextHover
extends WebWindow

Abstract class for any window opened as a rich hover in a browser page.

Following functionalities are specialized by the rich hover:

Following operations are also defined or specialized for rich hovers:


Constructor Summary
WebTextHover(WebPage page)
           
 
Method Summary
 java.lang.String getText()
          Return the text content of the hover.
 WebBrowserElement open(WebBrowserElement webElement)
          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

WebTextHover

public WebTextHover(WebPage page)
Method Detail

getText

public java.lang.String getText()
Return the text content of the hover.

Returns:
The content as a String.

open

public WebBrowserElement open(WebBrowserElement webElement)
Open the window by clicking on the given web element.

The rich hover is opened by hovering the mouse over the given element.

Specified by:
open in class WebWindow
Parameters:
webElement - The element on which to perform the open action.
Returns:
The dialog as a WebDialog subclass.