-
Notifications
You must be signed in to change notification settings - Fork 9
User Management
User Management allows to create,update and view users in OAuth server. It also enables to change password of and send credentials to a user.
A user can only be created,updated or send credentials to via mail by a user whose role is admin in OAuth system. An admin user can create many users but with different email Id and Username.
A new user can be created with the following details
- First Name : First Name of the user (Required)
- Last Name : First Name of the user (Required)
- Email : Email Id of the user (It is a required field and needs to be unique)
- Slack User Name : Slack User Name of the user (It is a required field which needs to be unique and exactly same as the username in Slack)
- User Role : Role of the user in OAuth (Required)
- Date of Joining : Date of joining of the user (Required)
The administrator can update any user and change First Name,Last Name,Slack User Name and User Role.
A user whose role is not admin can only view his details and change password.
A user can change his password by providing the following details :
-Old Password : Current password of the user (Required) -New Password : Password that the user wants to change to (Required) -Confirm password : Re-enter new password (Required)
| S.No | Title | Action | Expected Result |
|---|---|---|---|
| (A) | Add User | ||
| 1) To verify Add User | It should able to click on add user button. | ||
| 2) To verify enter the First Name | It should allow to enter the first name in the given field. | ||
| 3) To verify whether the first name is reached the maximum length or not | It should allow only 255 characters in the first name not more than that. | ||
| 4) To verify enter the Last Name | It should allow to enter the last name in the given field. | ||
| 5) To verify whether the last name is reached the maximum length or not | It should allow only 255 characters in the last name not more than that. | ||
| 6) To verify enter the Email | It should allow to enter the email in the given field. | ||
| 7) To verify if email already exists | It should allow to show an error message that email already exists. | ||
| 8) To verify if domain name is valid or not | It should check whether the domain @promactinfo.com is correct or not. | ||
| 9) To verify Email are unique or not | It should allow to user to show an error message that Email is already added. | ||
| 10) To verify enter the Slack Username | It should allow to enter the slack username in the given field. | ||
| 11) To verify whether the Slack Username is reached the maximum length or not | It should allow only 255 characters in the slack username not more than that. | ||
| 12) To verify Slack Username are unique or not | It should allow to user to show an error message that Slack Username is already added. | ||
| 13) To verify whether User Role is selected or not | It should allow to select user role options from the drop down. | ||
| 14) To verify at least one User Role is selected | It should select at least one User Role from the list. | ||
| 15) To verify the Date of Joining | It should allow the user to enter the Date of Joining by selecting the date from the calendar. | ||
| 16) To verify click on Add Button | It should allow to click on add button. | ||
| 17) To verify whether the message is been displayed or not | It should allow user to see a message when we click on add button. | ||
| 18) To verify whether mail has been sent or not when new user is been created | It should allow to send the mail to respective user whenever the new user is been added. | ||
| (B) | User Details | ||
| 1) To verify click on Details button | It should allow user to click on detail button. | ||
| 2) To verify user can see the details of the Added User | It should allow user to see the details of the added user. | ||
| (C) | Edit User | ||
| 1) To verify click on Edit button | It should allow user to click on edit button. | ||
| 2) To verify user can see the edit details of the Added User | It should allow user to see the edit details of the added user. | ||
| 3) To verify user can edit the various details First Name, Last Name, Slack User Name, User Role and Status | It should allow user to edit various fields such as First Name, Last Name, Slack User Name, User Role and Status | ||
| 4) To verify status is valid or invalid | It should allow the user to check and uncheck the status. | ||
| 5) To verify whether the update information is updated or not | It should allow the user to click on update button and user can see the updated information. | ||
| 6) To verify whether the message is been displayed or not | It should allow user to see a message when we click on update button. | ||
| (D) | Re-Send Mail | ||
| 1) To verify click on Re-Send Mail button | It should allow user to click on Re-Send Mail button. | ||
| 2) To verify whether the mail has been received in the mailbox or not | It should allow user to receive a mail in the mailbox when the Re-Send Mail button is been clicked. | ||
| 3) To verify if Password is valid or not for the respective user | It should allow to enter the password which is been received in the mail. | ||
| 4) To verify whether the message is been displayed or not | It should allow user to see a message when we click on Re-Send Mail button. |



