|
Test function | Test input | Expected outcome |
|
Add user | Add 3 user information already in the system; 3 user information with incomplete information: 3 user information already in the system; directly save once without filling in any information; | The user list shows that there is no user information in the 3 systems just added. The test with incomplete information gives a “Incomplete information” prompt, and the user already exists in the newly added system prompts “the user already exists,” do not fill in the information save prompt required fields |
|
Initialize user password | Select an existing user, reset the user’s login password, and test 5 times | The user successfully logged in to the system with the initial password |
|
Disable user | Select a disabled account and test 2 times; test the account in normal state 3 times | Failed to log in to the system with a disabled user account, prompting that the account has been disabled |
|
Unblock user permissions | Select a normal account and test 2 times; test the disabled account 3 times | You can successfully log in to the system with an account that has been lifted |
|
Role assignments | Select an existing user, assign certain roles to the user, test 5 times | The user can operate the permission function points corresponding to several associated roles, but cannot operate other functions without permission |
|
Search for users | Enter the username 3 times and other conditions 2 times | The page will display the information of all registered users that meet the input conditions |
|
Modify selected user information | User information is modified 3 times normally, all fields are blank when one modification is made, and some fields are blank when one modification is made | Normal modification succeeds in modifying the user’s information. When modifying, if there are fields left blank, the corresponding required fields will be prompted |
|
Delete selected users | Select the user and delete it, test 5 times | Deleted users are not displayed in the user list |
|