java.lang.Object |
↳ |
com.atlassian.jira.functest.framework.admin.UsersAndGroupsImpl |
Class Overview
Admin operations for users and groups
Summary
Public Methods |
void
|
addGroup(String groupName)
Adds the specified group.
|
void
|
addUser(String username, String password, String fullname, String emailAddress)
Adds a user with specified values.
|
void
|
addUser(String username, String password, String fullname, String emailAddress, boolean sendEmail)
Adds a user with specified values.
|
void
|
addUser(String username)
Creates a user with the given username and the same password, fullname and an email address username@example.com
|
void
|
addUserToGroup(String userName, String groupName)
Adds the specified user to the specified group
|
void
|
addUserWithoutVerifyingResult(String username, String password, String fullname, String emailAddress, boolean sendEmail)
Attempts to add a user with specified values, but does not verify that the add succeeded.
|
void
|
addUserWithoutVerifyingResult(String username, String password, String fullname, String emailAddress)
Attempts to add a user with specified values, but does not verify that the add succeeded.
|
void
|
deleteGroup(String groupname)
Removes a group given the groupname.
|
void
|
deleteUser(String username)
Removes a user given the username.
|
EditUserPage
|
gotoEditUser(String username)
Navigate to the edit user page in the admin section for the given user.
|
void
|
gotoUserBrowser()
Navigate to the user browser page.
|
void
|
gotoViewUser(String username)
Navigate to the view user page in the admin section for the given user.
|
void
|
removeUserFromGroup(String userName, String groupName)
Removes an user from a specified group.
|
boolean
|
userExists(String username)
Check if user with given username exists.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.jira.functest.framework.admin.UsersAndGroups
void
|
addGroup(String groupName)
Adds the specified group.
|
void
|
addUser(String username, String password, String fullname, String emailAddress)
Adds a user with specified values.
|
void
|
addUser(String username, String password, String fullname, String emailAddress, boolean sendEmail)
Adds a user with specified values.
|
void
|
addUser(String username)
Adds a user with all fields set to username and email address as 'username'@example.com.
|
void
|
addUserToGroup(String userName, String groupName)
Adds the specified user to the specified group
|
void
|
addUserWithoutVerifyingResult(String username, String password, String fullname, String emailAddress, boolean sendEmail)
Attempts to add a user with specified values, but does not verify that the add succeeded.
|
void
|
addUserWithoutVerifyingResult(String username, String password, String fullname, String emailAddress)
Attempts to add a user with specified values, but does not verify that the add succeeded.
|
void
|
deleteGroup(String groupname)
Removes a group given the groupname.
|
void
|
deleteUser(String username)
Removes a user given the username.
|
EditUserPage
|
gotoEditUser(String username)
Navigate to the edit user page in the admin section for the given user.
|
void
|
gotoUserBrowser()
Navigate to the user browser page.
|
void
|
gotoViewUser(String username)
Navigate to the view user page in the admin section for the given user.
|
void
|
removeUserFromGroup(String userName, String groupName)
Removes an user from a specified group.
|
boolean
|
userExists(String username)
Check if user with given username exists.
|
|
Public Constructors
Public Methods
public
void
addGroup
(String groupName)
Adds the specified group.
Parameters
groupName
| the name of the group to create.
|
public
void
addUser
(String username, String password, String fullname, String emailAddress)
Adds a user with specified values.
Parameters
username
| username |
password
| user password |
fullname
| user's fullname |
emailAddress
| email address of user
|
public
void
addUser
(String username, String password, String fullname, String emailAddress, boolean sendEmail)
Adds a user with specified values.
Parameters
username
| username |
password
| user password |
fullname
| user's fullname |
emailAddress
| email address of user |
sendEmail
| flag to send a notification email to the new user
|
public
void
addUser
(String username)
Creates a user with the given username and the same password, fullname and an email address username@example.com
public
void
addUserToGroup
(String userName, String groupName)
Adds the specified user to the specified group
Parameters
userName
| the user to add. |
groupName
| the group to join.
|
public
void
addUserWithoutVerifyingResult
(String username, String password, String fullname, String emailAddress, boolean sendEmail)
Attempts to add a user with specified values, but does not verify that the add succeeded. This is
intended for use in tests that are specifically checking for failing conditions.
Parameters
username
| username |
password
| user password |
fullname
| user's fullname |
emailAddress
| email address of user |
sendEmail
| flag to send a notification email to the new user
|
public
void
addUserWithoutVerifyingResult
(String username, String password, String fullname, String emailAddress)
Attempts to add a user with specified values, but does not verify that the add succeeded. This is
intended for use in tests that are specifically checking for failing conditions.
Parameters
username
| username |
password
| user password |
fullname
| user's fullname |
emailAddress
| email address of user
|
public
void
deleteGroup
(String groupname)
Removes a group given the groupname. This will throw an error if no group with that groupname exists.
Parameters
groupname
| The name of the group to delete.
|
public
void
deleteUser
(String username)
Removes a user given the username. This will throw an error if no user with the username exists.
Parameters
username
| The username of the user to delete.
|
Navigate to the edit user page in the admin section for the given user.
Parameters
username
| The username of the user to edit.
|
public
void
gotoUserBrowser
()
Navigate to the user browser page.
public
void
gotoViewUser
(String username)
Navigate to the view user page in the admin section for the given user.
Parameters
username
| The username of the user to view.
|
public
void
removeUserFromGroup
(String userName, String groupName)
Removes an user from a specified group.
Parameters
userName
| The name of the user to remove from the group. |
groupName
| The name of the group to remove the user from.
|
public
boolean
userExists
(String username)
Check if user with given username exists.
Parameters
username
| username to check. |
Returns
- true if the user exists; otherwise false.