com.ibm.team.fvt.tests.web
Class WebElementWrapper
java.lang.Object
com.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
- Direct Known Subclasses:
- WebCKEditorFramedElement, WebCKEditorSimpleElement, WebContentArea, WebExpandableElement, WebFolderElement, WebSelectElement, WebWindow
public abstract class WebElementWrapper
- extends WebPageElement
This class wraps a web element and add some actions and functionalities
that anyone can use. It also add some specific operations only accessible to
the class hierarchy.
There's still no public action or functionalities at this level, only common
operations for subclasses usage:
Method Summary |
java.lang.String |
getText()
Return the text of the expandable element. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebElementWrapper
public WebElementWrapper(WebPage page)
WebElementWrapper
public WebElementWrapper(WebPage page,
org.openqa.selenium.By findBy)
WebElementWrapper
public WebElementWrapper(WebPage page,
WebBrowserElement element)
WebElementWrapper
public WebElementWrapper(WebPage page,
WebBrowserElement element,
WebBrowserFrame frame)
getText
public java.lang.String getText()
- Return the text of the expandable element.
- Returns:
- The text as a
String
.