com.atlassian.bamboo.pageobjects.core
Class AbstractBambooPage
java.lang.Object
com.atlassian.bamboo.pageobjects.core.AbstractBambooPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
- Direct Known Subclasses:
- AbstractBambooAdminPage, AbstractBambooSetupPage, AuthorsPage, BambooAdminHomePage, BambooDashboardPage, BambooLoginPage, CreatePlanPage, EditGroupPage, EditUserPage, GroupsAdminPage, PlanSummaryPage, StageConfigurationPage, TaskConfigurationPage, UserManagementAdminPage, UsersAdminPage
public abstract class AbstractBambooPage
- extends java.lang.Object
- implements com.atlassian.pageobjects.Page
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.pageobjects.Page |
getUrl |
driver
@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
elementFinder
@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
testedProduct
@Inject
protected BambooTestedProduct testedProduct
AbstractBambooPage
public AbstractBambooPage()
doWait
public void doWait()
-
This uses
isPageLoaded()
by default.
If different wait functionality is required, just override this method.
ensureIndicatorPresent
public void ensureIndicatorPresent()
-
Checks for presence of
indicator()
by default.
If different wait functionality is required, just override this method.
isPageLoaded
protected com.atlassian.pageobjects.elements.query.TimedCondition isPageLoaded()
- This indicates that the page has loaded and the presence of indicator may be verified.
- Returns:
- time condition indication that the page has loaded
indicator
public abstract com.atlassian.pageobjects.elements.PageElement indicator()
- This must return an element whose presence indicates that we're on given page.
- Returns:
- element uniquely identifying given page
isAdmin
public boolean isAdmin()
isLoggedIn
public boolean isLoggedIn()
getHeader
public BambooHeader getHeader()
Copyright © 2012 Atlassian. All Rights Reserved.