com.atlassian.jira.pageobjects.pages
Class AbstractJiraPage
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
- Direct Known Subclasses:
- AbstractDeleteLinkPage, AbstractJiraAdminPage, AbstractJiraTabPage, AbstractProjectConfigPageTab, AddUserPage, AdminSetupPage, AdvancedPropertiesPage, AdvancedSearch, ApplicationSetupPage, ChangeFieldSchemePage, ChangeIssueTypeSchemePage, ConfigureFieldScreenScheme, ConfigureIssueTypeScreenScheme, ConfigureScreen, DashboardPage, DatabaseSetupPage, DeleteProjectPage, DeleteUserPage, EditDefaultFieldConfigPage, EditFieldConfigPage, EditFieldSchemePage, EditIssueSecurityScheme, EditIssueTypeSchemePage, EditNotificationsPage, EditPermissionScheme, EditUserGroupsPage, EditWorkflowScheme, FieldsPanel, IssueSecurityPage, IssueTypesPage, JiraLoginPage, JiraWebSudoPage, LogoutPage, MailSetupPage, MoveIssueConfirmation, MoveIssuePage, MoveIssueUpdateFields, MoveUserToGroupPage, NotificationsPage, PeoplePage, ProjectConfigErrorPage, RestoreCompleted, RestoreInProgressPage, SelectCvsModules, SelectIssueSecurityScheme, SelectIssueTypeScreenScheme, SelectPermissionScheme, SelectWorkflowScheme, SetupCompletePage, UalConfigurePage, UserBrowserPage, ViewIssuePage, ViewLicensePage, ViewProjectsPage, ViewUserPage, ViewWorkflowSteps, WorkflowDesignerPage
public abstract class AbstractJiraPage
- extends Object
- implements com.atlassian.pageobjects.Page
Provides a set of common functions that all JIRA pages 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.
- Since:
- 4.4
Field Summary |
protected com.atlassian.pageobjects.elements.PageElement |
body
|
protected com.atlassian.webdriver.AtlassianWebDriver |
driver
|
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder
|
protected com.atlassian.pageobjects.elements.PageElement |
footerElement
|
protected com.atlassian.pageobjects.elements.PageElement |
metaElement
|
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
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 |
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
elementFinder
@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
driver
@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver
body
protected com.atlassian.pageobjects.elements.PageElement body
footerElement
protected com.atlassian.pageobjects.elements.PageElement footerElement
metaElement
protected com.atlassian.pageobjects.elements.PageElement metaElement
AbstractJiraPage
public AbstractJiraPage()
getHeader
public JiraHeader getHeader()
doWait
public void doWait()
The default doWait for JIRA is defined in terms of isAt()
.
execKeyboardShortcut
public void execKeyboardShortcut(CharSequence... keys)
getPageTitle
public String getPageTitle()
getXsrfToken
public String getXsrfToken()
createXsrfUrl
public String createXsrfUrl(String origUrl)
isAt
public abstract com.atlassian.pageobjects.elements.query.TimedCondition isAt()
- Timed condition checking if we're at given page.
- Returns:
- timed condition checking, if the test is at given page
isLoggedIn
public boolean isLoggedIn()
isAdmin
public boolean isAdmin()
back
public <P> P back(Class<P> binder,
Object... arguments)
Copyright © 2002-2012 Atlassian. All Rights Reserved.