Class AbstractPrincipalPage<T extends AbstractPrincipalPage>

java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
com.atlassian.crowd.pageobjects.AbstractPrincipalPage<T>
All Implemented Interfaces:
com.atlassian.pageobjects.Page
Direct Known Subclasses:
AddPrincipalPage, ViewPrincipalPage

public abstract class AbstractPrincipalPage<T extends AbstractPrincipalPage> extends AbstractCrowdPage
  • Field Details

    • email

      protected com.atlassian.pageobjects.elements.PageElement email
    • password

      protected com.atlassian.pageobjects.elements.PageElement password
    • passwordConfirm

      protected com.atlassian.pageobjects.elements.PageElement passwordConfirm
    • firstName

      protected com.atlassian.pageobjects.elements.PageElement firstName
    • lastName

      protected com.atlassian.pageobjects.elements.PageElement lastName
    • displayName

      protected com.atlassian.pageobjects.elements.PageElement displayName
    • cancelButton

      protected com.atlassian.pageobjects.elements.PageElement cancelButton
  • Constructor Details

    • AbstractPrincipalPage

      public AbstractPrincipalPage()
  • Method Details

    • getForm

      protected abstract com.atlassian.pageobjects.elements.PageElement getForm()
    • getUsernameField

      protected abstract com.atlassian.pageobjects.elements.PageElement getUsernameField()
    • getDirectory

      public abstract String getDirectory()
    • setFirstName

      public T setFirstName(String firstName)
    • getFirstName

      public String getFirstName()
    • setLastName

      public T setLastName(String firstName)
    • getLastName

      public String getLastName()
    • setDisplayName

      public T setDisplayName(String firstName)
    • getDisplayName

      public String getDisplayName()
    • setEmail

      public T setEmail(String firstName)
    • setUsername

      public T setUsername(String userName)
    • setPassword

      public T setPassword(String password)
    • setPasswordConfirm

      public T setPasswordConfirm(String passwordConfirm)
    • getEmail

      public String getEmail()
    • getUsername

      public String getUsername()
    • cancel

      public T cancel()
    • getErrors

      public List<String> getErrors()
    • isContentLoaded

      protected boolean isContentLoaded()
      Description copied from class: AbstractCrowdPage
      Returns whether the content has loaded. Used in AbstractCrowdPage.waitUntilContentLoaded(). Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.
      Overrides:
      isContentLoaded in class AbstractCrowdPage