com.atlassian.webdriver.jira.page
Class JiraAbstractPage

java.lang.Object
  extended by com.atlassian.webdriver.jira.page.JiraAbstractPage
All Implemented Interfaces:
Page
Direct Known Subclasses:
DashboardPage, JiraAdminAbstractPage, JiraAdminHomePage, JiraLoginPage, LogoutPage

public abstract class JiraAbstractPage
extends Object
implements Page

Proveds a set of common functions that a JIRA page object can do. Such as getting the admin menu. Sets the base url for the WebDrivePage class to use which is defined in the jira-base-url system property.


Field Summary
protected  AtlassianWebDriver driver
           
protected  PageBinder pageBinder
           
 
Constructor Summary
JiraAbstractPage()
           
 
Method Summary
 void doWait()
          The default doWait for JIRA is to wait for the footer to be located.
 DashboardMenu getDashboardMenu()
           
 JiraHeader getHeader()
           
 boolean isAdmin()
           
 boolean isLoggedIn()
           
 
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

pageBinder

@Inject
protected PageBinder pageBinder

driver

@Inject
protected AtlassianWebDriver driver
Constructor Detail

JiraAbstractPage

public JiraAbstractPage()
Method Detail

getHeader

public JiraHeader getHeader()

getDashboardMenu

public DashboardMenu getDashboardMenu()

doWait

public final void doWait()
The default doWait for JIRA is to wait for the footer to be located.


isLoggedIn

public boolean isLoggedIn()

isAdmin

public boolean isAdmin()


Copyright © 2014 Atlassian. All rights reserved.