com.atlassian.jira.pageobjects.pages.admin.user
Class UserBrowserPage
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.admin.user.UserBrowserPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
public class UserBrowserPage
- extends AbstractJiraPage
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserBrowserPage
public UserBrowserPage()
getUrl
public String getUrl()
isAt
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
- Description copied from class:
AbstractJiraPage
- Timed condition checking if we're at given page.
- Specified by:
isAt
in class AbstractJiraPage
- Returns:
- timed condition checking, if the test is at given page
init
public void init()
hasUser
public boolean hasUser(User user)
editUserGroups
public EditUserGroupsPage editUserGroups(User user)
- When editing a users groups from this page, EditUserGroups always returns back to
UserBrowser unless there was an error.
- Parameters:
user
-
- Returns:
getUsersGroups
public Set<String> getUsersGroups(User user)
gotoViewUserPage
public ViewUserPage gotoViewUserPage(User user)
getNumberOfUsers
public int getNumberOfUsers()
filterByUserName
public UserBrowserPage filterByUserName(String username)
gotoAddUserPage
public AddUserPage gotoAddUserPage()
- navigates to the addUserPage by activating the add User link
- Returns:
addUser
public ViewUserPage addUser(User user,
boolean sendPasswordEmail)
- Takes User object and fills out the addUserPage form and creates the user.
- Parameters:
user
- the user to createsendPasswordEmail
- sets the send email tick box to on or off
- Returns:
- the user browser page which should have the new user added to the count.
Copyright © 2002-2011 Atlassian. All Rights Reserved.