|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPageElement
public abstract class WebPageElement
This class manage a web element belonging to a web page and add some actions and functionalities that anyone can use. It also add some specific operations only accessible to the class hierarchy.
There's no public actions at this root level, only common operations for subclasses usage:
check(By, boolean)
: Set or unset the check-box found inside
the current page using the given search mechanism.findElementInFrames(By)
: Find an element inside a frame of the
window using the given mechanism.resetFrame()
: Reset the current frame for the current window.select(WebBrowserElement, String)
: Select the given item in
the given list element found.selectFrame()
: Select the frame in which the current window is
expected to be found.storeBrowserFrame()
: Store the browser the frame.switchToBrowserFrame()
: Switch to initial browser frame.switchToStoredFrame()
: Switch to stored frame.typeText(WebBrowserElement, By, String)
: Type a text into
an input web element found inside the given parent web element using
the given mechanism.waitForElement(By)
: Wait until having found an element
searched using the given mechanism.waitForElements(By)
: Wait until have found some elements
(ie. at least one) web elements using the given mechanism.
Constructor Summary | |
---|---|
WebPageElement(WebPage page)
|
|
WebPageElement(WebPage page,
WebBrowserFrame frame)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebPageElement(WebPage page)
public WebPageElement(WebPage page, WebBrowserFrame frame)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |