com.atlassian.confluence.pageobjects.page
Class PeopleDirectoryPage
java.lang.Object
com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
com.atlassian.confluence.pageobjects.page.PeopleDirectoryPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
public class PeopleDirectoryPage
- extends ConfluenceAbstractPage
Represents the People Directory Page
- Since:
- 4.1
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
back, doWait, getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeopleDirectoryPage
public PeopleDirectoryPage()
getUrl
public String getUrl()
parseUsers
public Map<String,UserProfileMacro> parseUsers()
- Returns:
- a map of
UserProfileMacro
s for all users that can be parsed from the current page, indexed
by their username.
getAllUsernames
public Set<String> getAllUsernames()
- Returns:
- a set which contains all the usernames on the page.
showAllPeople
public PeopleDirectoryPage showAllPeople()
showAllPeopleWithPersonalSpaces
public PeopleDirectoryPage showAllPeopleWithPersonalSpaces()
hasUser
public boolean hasUser(String username)
getUserMacro
public UserProfileMacro getUserMacro(String username)
isShowingAllPeople
public boolean isShowingAllPeople()
isShowingPeopleWithPersonalSpaces
public boolean isShowingPeopleWithPersonalSpaces()
search
public PeopleDirectoryPage search(String term)
openUserHoverPopup
public UserHoverPopup openUserHoverPopup(String username)
- Mouse-hover over the user icon and wait for the AUI dialog to appear
Copyright © 2003–2015 Atlassian. All rights reserved.