com.atlassian.jira.pageobjects.pages.btf
Class JiraBtfLoginPage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.JiraLoginPage
          extended by com.atlassian.jira.pageobjects.pages.btf.JiraBtfLoginPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page, com.atlassian.pageobjects.page.LoginPage
Direct Known Subclasses:
TestLoginPage.AdminLoginPage, TestLoginPage.CanonicalLoginPage, TestLoginPage.SysAdminLoginPage

public class JiraBtfLoginPage
extends JiraLoginPage

Page object implementation for the LoginPage in JIRA.

Since:
4.4

Field Summary
protected  com.atlassian.pageobjects.elements.PageElement loginButton
           
protected  com.atlassian.pageobjects.elements.PageElement loginForm
           
protected  Iterable<com.atlassian.pageobjects.elements.PageElement> messages
           
static String PASSWORD_ADMIN
           
protected  com.atlassian.pageobjects.elements.PageElement passwordField
           
protected  com.atlassian.pageobjects.elements.PageElement redirect
           
protected  com.atlassian.pageobjects.elements.PageElement rememberMeTickBox
           
protected  com.atlassian.pageobjects.elements.PageElement signUpHint
           
static String URI
           
static String USER_ADMIN
           
protected  com.atlassian.pageobjects.elements.PageElement usernameField
           
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder, timeouts
 
Constructor Summary
JiraBtfLoginPage()
           
 
Method Summary
protected  com.atlassian.pageobjects.elements.PageElement getLoginButton()
          The button to submit the login form.
 com.atlassian.pageobjects.elements.PageElement getLoginForm()
          The login form
 Iterable<com.atlassian.pageobjects.elements.PageElement> getMessages()
          The aui messages in the login form
protected  com.atlassian.pageobjects.elements.PageElement getPasswordField()
          The text field the password is put on login.
protected  com.atlassian.pageobjects.elements.PageElement getRedirect()
          The element holding the redirect information.
protected  com.atlassian.pageobjects.elements.PageElement getRememberMeTickBox()
          The tick box for remember me cookie.
 com.atlassian.pageobjects.elements.PageElement getSignUpHint()
          The element containing the signup hint
 String getUrl()
           
protected  com.atlassian.pageobjects.elements.PageElement getUsernameField()
          The text field the username is put on login.
<M extends com.atlassian.pageobjects.Page>
M
loginAsSysAdmin(Class<M> nextPage, Object... args)
           
<M extends com.atlassian.pageobjects.Page>
M
loginAsSystemAdminAndFollowRedirect(Class<M> redirectPage, Object... args)
           
 
Methods inherited from class com.atlassian.jira.pageobjects.pages.JiraLoginPage
getError, getErrors, hasErrors, isAt, login, login, login, login, loginAndFollowRedirect, loginAndFollowRedirect, loginAndGoToHome, loginAsSysAdmin, loginAsSysadminAndGoToHome, loginWithRedirect, performLoginSteps
 
Methods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, createXsrfUrl, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

public static final String URI
See Also:
Constant Field Values

USER_ADMIN

public static final String USER_ADMIN
See Also:
Constant Field Values

PASSWORD_ADMIN

public static final String PASSWORD_ADMIN
See Also:
Constant Field Values

loginForm

protected com.atlassian.pageobjects.elements.PageElement loginForm

messages

protected Iterable<com.atlassian.pageobjects.elements.PageElement> messages

usernameField

protected com.atlassian.pageobjects.elements.PageElement usernameField

passwordField

protected com.atlassian.pageobjects.elements.PageElement passwordField

rememberMeTickBox

protected com.atlassian.pageobjects.elements.PageElement rememberMeTickBox

loginButton

protected com.atlassian.pageobjects.elements.PageElement loginButton

redirect

protected com.atlassian.pageobjects.elements.PageElement redirect

signUpHint

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

JiraBtfLoginPage

public JiraBtfLoginPage()
Method Detail

getUrl

public String getUrl()

loginAsSysAdmin

public <M extends com.atlassian.pageobjects.Page> M loginAsSysAdmin(Class<M> nextPage,
                                                                    Object... args)
Specified by:
loginAsSysAdmin in class JiraLoginPage

loginAsSystemAdminAndFollowRedirect

public <M extends com.atlassian.pageobjects.Page> M loginAsSystemAdminAndFollowRedirect(Class<M> redirectPage,
                                                                                        Object... args)
Specified by:
loginAsSystemAdminAndFollowRedirect in class JiraLoginPage

getRememberMeTickBox

protected final com.atlassian.pageobjects.elements.PageElement getRememberMeTickBox()
Description copied from class: JiraLoginPage
The tick box for remember me cookie.

Specified by:
getRememberMeTickBox in class JiraLoginPage

getLoginButton

protected final com.atlassian.pageobjects.elements.PageElement getLoginButton()
Description copied from class: JiraLoginPage
The button to submit the login form.

Specified by:
getLoginButton in class JiraLoginPage

getPasswordField

protected final com.atlassian.pageobjects.elements.PageElement getPasswordField()
Description copied from class: JiraLoginPage
The text field the password is put on login.

Specified by:
getPasswordField in class JiraLoginPage

getUsernameField

protected final com.atlassian.pageobjects.elements.PageElement getUsernameField()
Description copied from class: JiraLoginPage
The text field the username is put on login.

Specified by:
getUsernameField in class JiraLoginPage

getRedirect

protected final com.atlassian.pageobjects.elements.PageElement getRedirect()
Description copied from class: JiraLoginPage
The element holding the redirect information.

Specified by:
getRedirect in class JiraLoginPage

getSignUpHint

public final com.atlassian.pageobjects.elements.PageElement getSignUpHint()
Description copied from class: JiraLoginPage
The element containing the signup hint

Specified by:
getSignUpHint in class JiraLoginPage

getLoginForm

public final com.atlassian.pageobjects.elements.PageElement getLoginForm()
Description copied from class: JiraLoginPage
The login form

Specified by:
getLoginForm in class JiraLoginPage

getMessages

public final Iterable<com.atlassian.pageobjects.elements.PageElement> getMessages()
Description copied from class: JiraLoginPage
The aui messages in the login form

Specified by:
getMessages in class JiraLoginPage


Copyright © 2002-2014 Atlassian. All Rights Reserved.