|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject com.atlassian.jira.webtest.selenium.framework.pages.AbstractPage
public abstract class AbstractPage
Abstract implementation of the Page
interface.
Implemented methods are templates defined in terms of an abstract method detector()
,
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject |
---|
assertThat, client, context |
Constructor Summary | |
---|---|
protected |
AbstractPage(SeleniumContext ctx)
|
Method Summary | |
---|---|
void |
assertReady(long timeout)
Assert that this object is loaded and ready to be exercised by Selenium. |
protected void |
checkOnPage()
|
protected abstract String |
detector()
Locator used to check if we are currently at the page |
boolean |
isAt()
Check if the test driver is currently at this page |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractPage(SeleniumContext ctx)
Method Detail |
---|
public final boolean isAt()
Page
isAt
in interface Page
true
, if the test driver is currently at this page, false otherwise
public final void assertReady(long timeout)
PageObject
assertReady
in interface PageObject
timeout
- timeout to waitprotected abstract String detector()
protected final void checkOnPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |