Class AbstractCrowdPage

java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page
Direct Known Subclasses:
AbstractChangePasswordPage, AbstractLoginPage, AbstractPrincipalPage, AbstractSetupPage, AccessDeniedPage, AddApplicationDetailsPage, AddApplicationOngoingStepPage, AddGroupPage, ApplicationAdministratorsPage, ApplicationAuthenticationTestPage, ApplicationDetailsPage, ApplicationDetailsPage.RemoveApplicationPage, ApplicationDirectoriesPage, ApplicationOptionsPage, ApplicationPermissionsPage, ApplicationRemoteAddressesPage, ApplicationSSOPage, ApplicationUsersPage, BackupPage, BrowseApplinksPage, BrowseAuditLogPage, ChangeEmailPage, ChangeEmailPendingPage, ChangeExpiredPasswordSuccessfulPage, ChooseImporterPage, ClusterMonitoringPage, ConfigureAuditLogPage, ConfigurePruningPage, CreateAzureAdPage, CreateConnectorPage, CreateCustomDirectoryPage, CreateDelegatedDirectoryPage, CreateDirectoryChooseDirectoryTypePage, CreateDirectoryPage, CreateInternalDirectoryPage, CreateRemoteCrowdPage, CrowdConsole, CrowdRestorePage, CrowdWebTestCase.GenericPage, CrowdXsrfProtectionTest.PageWithError, CsvImporterConfigurationPage, CsvImporterConfirmationPage, CsvImporterMappingPage, CsvImporterResultsPage, CurrentSessionsPage, EmailChangedSuccessfullyPage, EmailChangeUnhandledErrorPage, FiltersPage, ForgottenLoginDetailsPage, GeneralOptionsPage, GLABrowseGroupsPage, GLABrowserUsersBelongingToGroupPage, InvalidEmailChangeTokenPage, JndiConnectionPoolPage, LicensePage, LicensesPage, LookAndFeelPage, MailServerPage, MailTemplatePage, PruningAdministrationPage, RemoveDirectoryPage, RemoveGroupPage, RemovePrincipalPage, ResetPasswordConfirmationPage, SessionConfigurationPage, SsoDisabledPage, ViewApplicationDirectoriesPage, ViewDirectory, ViewGroupAdministrationPage, ViewGroupMembersPage, ViewGroupNestedMembers, ViewGroupPage, ViewProfileGroupsPage, ViewProfilePage

public abstract class AbstractCrowdPage extends Object implements com.atlassian.pageobjects.Page
Base class for Crowd pages.
  • Field Details

    • I18N

      protected static final ResourceBundle I18N
    • DEFAULT_SUBMIT_BUTTON_SELECTOR

      public static final String DEFAULT_SUBMIT_BUTTON_SELECTOR
      See Also:
    • DEFAULT_FORM_FIELD_SELECTOR

      public static final String DEFAULT_FORM_FIELD_SELECTOR
      See Also:
    • TABLE_ROWS_SELECTOR

      public static final org.openqa.selenium.By TABLE_ROWS_SELECTOR
    • DEFAULT_CANCEL_BUTTON_ID

      protected static final String DEFAULT_CANCEL_BUTTON_ID
      See Also:
    • NEXT_BUTTON_SELECTOR

      protected static final String NEXT_BUTTON_SELECTOR
      See Also:
    • VALUE_DATA_ATTRIBUTE

      protected static final String VALUE_DATA_ATTRIBUTE
      See Also:
    • pageBinder

      @Inject protected com.atlassian.pageobjects.PageBinder pageBinder
    • auiMessages

      @Inject protected AuiMessages auiMessages
    • finder

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

      @Inject protected org.openqa.selenium.WebDriver driver
    • systemAdminMenu

      protected SystemAdminDropdownMenu systemAdminMenu
    • forgedLicenseWarningBanner

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

    • AbstractCrowdPage

      public AbstractCrowdPage()
  • Method Details

    • initializeSystemAdminMenu

      public void initializeSystemAdminMenu()
    • waitUntilPageLoad

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

      protected <T extends AbstractCrowdPage> T bindAndWaitUntilPageLoad(Class<T> pageClass, Object... vars)
    • getHeader

      public CrowdHeader getHeader()
    • isContentLoaded

      protected boolean isContentLoaded()
      Returns whether the content has loaded. Used in waitUntilContentLoaded(). Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.
    • waitUntilContentLoaded

      protected void waitUntilContentLoaded()
    • setTextField

      protected void setTextField(com.atlassian.pageobjects.elements.PageElement element, CharSequence value)
    • setTextFieldValueAndPressEnter

      protected void setTextFieldValueAndPressEnter(com.atlassian.pageobjects.elements.PageElement element, CharSequence value)
    • executeJavascript

      protected void executeJavascript(String jscode, Object... args)
    • getAuiMessages

      public AuiMessages getAuiMessages()
    • isSystemAdminDropdownMenuPresent

      public boolean isSystemAdminDropdownMenuPresent()
    • reloadWithoutWaitingForContent

      public void reloadWithoutWaitingForContent()
    • waitUntilAsyncFinished

      protected void waitUntilAsyncFinished()
    • waitUntilAsyncFinished

      public static void waitUntilAsyncFinished(org.openqa.selenium.WebDriver driver)
    • getForgedLicenseWarningBanner

      public com.atlassian.pageobjects.elements.PageElement getForgedLicenseWarningBanner()
    • getSystemAdminDropdownMenu

      public SystemAdminDropdownMenu getSystemAdminDropdownMenu()
    • getJsExecutor

      public org.openqa.selenium.JavascriptExecutor getJsExecutor()
    • clickWithJsById

      public void clickWithJsById(@Nonnull com.atlassian.pageobjects.elements.PageElement pageElement)
    • selectOptionByLabel

      public static void selectOptionByLabel(com.atlassian.pageobjects.elements.SelectElement select, String label)
    • selectOptionById

      public static void selectOptionById(com.atlassian.pageobjects.elements.SelectElement select, String id)