Package com.atlassian.crowd.pageobjects
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
Base class for Crowd pages.
-
Field Summary
Modifier and TypeFieldDescriptionprotected AuiMessages
protected static final String
static final String
static final String
protected org.openqa.selenium.WebDriver
protected com.atlassian.pageobjects.elements.PageElementFinder
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
protected static final ResourceBundle
protected static final String
protected com.atlassian.pageobjects.PageBinder
protected SystemAdminDropdownMenu
static final org.openqa.selenium.By
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends AbstractCrowdPage>
TbindAndWaitUntilPageLoad
(Class<T> pageClass, Object... vars) void
clickWithJsById
(com.atlassian.pageobjects.elements.PageElement pageElement) protected void
executeJavascript
(String jscode, Object... args) com.atlassian.pageobjects.elements.PageElement
org.openqa.selenium.JavascriptExecutor
void
protected boolean
Returns whether the content has loaded.boolean
void
static void
selectOptionById
(com.atlassian.pageobjects.elements.SelectElement select, String id) static void
selectOptionByLabel
(com.atlassian.pageobjects.elements.SelectElement select, String label) protected void
setTextField
(com.atlassian.pageobjects.elements.PageElement element, CharSequence value) protected void
setTextFieldValueAndPressEnter
(com.atlassian.pageobjects.elements.PageElement element, CharSequence value) protected void
static void
waitUntilAsyncFinished
(org.openqa.selenium.WebDriver driver) protected void
protected final void
Waits until the page has fully loaded.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 Details
-
I18N
-
DEFAULT_SUBMIT_BUTTON_SELECTOR
- See Also:
-
DEFAULT_FORM_FIELD_SELECTOR
- See Also:
-
TABLE_ROWS_SELECTOR
public static final org.openqa.selenium.By TABLE_ROWS_SELECTOR -
DEFAULT_CANCEL_BUTTON_ID
- See Also:
-
NEXT_BUTTON_SELECTOR
- See Also:
-
VALUE_DATA_ATTRIBUTE
- See Also:
-
pageBinder
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder -
auiMessages
-
finder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder finder -
driver
@Inject protected org.openqa.selenium.WebDriver driver -
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
-
isContentLoaded
protected boolean isContentLoaded()Returns whether the content has loaded. Used inwaitUntilContentLoaded()
. 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
-
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
-
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)
-