Package com.atlassian.crowd.pageobjects
Class ViewPrincipalPage
java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
com.atlassian.crowd.pageobjects.AbstractPrincipalPage<ViewPrincipalPage>
com.atlassian.crowd.pageobjects.ViewPrincipalPage
- All Implemented Interfaces:
CrowdPage
,com.atlassian.pageobjects.Page
-
Field Summary
Fields inherited from class com.atlassian.crowd.pageobjects.AbstractPrincipalPage
cancelButton, displayName, email, firstName, lastName, password, passwordConfirm
Fields inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
auiMessages, DEFAULT_CANCEL_BUTTON_ID, DEFAULT_FORM_FIELD_SELECTOR, DEFAULT_SUBMIT_BUTTON_SELECTOR, driver, finder, footer, forgedLicenseWarningBanner, I18N, NEXT_BUTTON_SELECTOR, pageBinder, systemAdminMenu, TABLE_ROWS_SELECTOR, VALUE_DATA_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionViewPrincipalPage
(String username, long directoryId) ViewPrincipalPage
(String username, String directoryId) -
Method Summary
Modifier and TypeMethodDescriptionaddAttribute
(String name, String value) boolean
void
boolean
boolean
protected com.atlassian.pageobjects.elements.PageElement
getForm()
getUrl()
protected com.atlassian.pageobjects.elements.PageElement
boolean
boolean
isActive()
boolean
removeApplicationAlias
(String applicationName) removeAttribute
(String attributeName) setActive
(boolean value) setApplicationAlias
(String applicationName, String alias) setAttribute
(String attributeName, int attributeValueIndex, String attributeValue) setAttribute
(String attributeName, String attributeValue) submit()
Methods inherited from class com.atlassian.crowd.pageobjects.AbstractPrincipalPage
cancel, getDisplayName, getEmail, getErrors, getFirstName, getLastName, getUsername, isContentLoaded, setDisplayName, setEmail, setFirstName, setLastName, setPassword, setPasswordConfirm, setUsername
Methods inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
bindAndWaitUntilPageLoad, clickWithJsById, executeJavascript, getAuiMessages, getForgedLicenseWarningBanner, getHeader, getJsExecutor, getSystemAdminDropdownMenu, initializeSystemAdminMenu, isSystemAdminDropdownMenuPresent, reloadWithoutWaitingForContent, selectOptionById, selectOptionByLabel, setTextField, setTextFieldValueAndPressEnter, waitUntilAsyncFinished, waitUntilAsyncFinished, waitUntilContentLoaded, waitUntilPageLoad
-
Constructor Details
-
ViewPrincipalPage
-
ViewPrincipalPage
-
-
Method Details
-
editPassword
-
cancelEditPassword
public void cancelEditPassword() -
isEditingPassword
public boolean isEditingPassword() -
isActive
public boolean isActive() -
setActive
-
addAttribute
-
getMessage
-
hasMessage
public boolean hasMessage() -
getUrl
-
getForm
protected com.atlassian.pageobjects.elements.PageElement getForm()- Specified by:
getForm
in classAbstractPrincipalPage<ViewPrincipalPage>
-
getUsernameField
protected com.atlassian.pageobjects.elements.PageElement getUsernameField()- Specified by:
getUsernameField
in classAbstractPrincipalPage<ViewPrincipalPage>
-
goToAttributes
-
goToGroups
-
enterAddGroupsPicker
-
enterRemoveGroupsPicker
-
goToApplications
-
getAttributes
-
getAttributeDescriptions
-
removeAttribute
-
setAttribute
-
setAttribute
public ViewPrincipalPage setAttribute(String attributeName, int attributeValueIndex, String attributeValue) -
setApplicationAlias
-
removeApplicationAlias
-
getApplicationsAliases
-
getAliasingErrors
-
getGroupMembershipError
-
getDirectory
- Specified by:
getDirectory
in classAbstractPrincipalPage<ViewPrincipalPage>
-
submit
-
goToRemovePrincipal
-
canAddGroups
public boolean canAddGroups() -
canRemoveGroups
public boolean canRemoveGroups() -
getGroups
-
canRemovePrincipal
public boolean canRemovePrincipal() -
resetPassword
-