com.atlassian.crowd.pageobjects
Class AbstractCrowdPage

java.lang.Object
  extended by com.atlassian.crowd.pageobjects.AbstractCrowdPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page
Direct Known Subclasses:
CreateDirectoryPage, CrowdConsole, CrowdLoginPage, CrowdRestorePage, DirectoryBrowserPage, RemoveDirectoryPage, RestoreFromXMLPage, ViewApplicationDirectoriesPage, ViewDirectory, ViewProfilePage

public abstract class AbstractCrowdPage
extends Object
implements com.atlassian.pageobjects.Page

Base class for Crowd pages.


Field Summary
protected  com.atlassian.pageobjects.PageBinder binder
           
protected  com.atlassian.webdriver.AtlassianWebDriver driver
           
protected  com.atlassian.pageobjects.elements.PageElementFinder finder
           
protected  com.atlassian.pageobjects.elements.PageElement footer
           
protected  com.atlassian.pageobjects.PageBinder pageBinder
           
 
Constructor Summary
AbstractCrowdPage()
           
 
Method Summary
 CrowdHeader getHeader()
           
protected  void waitUntilContentLoad()
          Waits until the content has loaded.
protected  void waitUntilPageLoad()
          Waits until the page has fully loaded.
 
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
 

Field Detail

binder

@Inject
protected com.atlassian.pageobjects.PageBinder binder

finder

@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder finder

pageBinder

@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder

driver

@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver

footer

protected com.atlassian.pageobjects.elements.PageElement footer
Constructor Detail

AbstractCrowdPage

public AbstractCrowdPage()
Method Detail

getHeader

public CrowdHeader getHeader()

waitUntilPageLoad

protected void waitUntilPageLoad()
Waits until the page has fully loaded.


waitUntilContentLoad

protected void waitUntilContentLoad()
Waits until the content has loaded. Used in waitUntilPageLoad(). Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.



Copyright © 2013 Atlassian. All Rights Reserved.