|
Module name | User registration module | Tested by | Foreground user |
|
Case number | 1 | Test time | 2022.3.2 |
|
Test purpose | Test the effectiveness of user registration function |
|
Browser | General browsers such as IE11 |
|
Correct data | User name: 4–10 digits; password: 5–15 digits; real name: required |
|
| Test input | Expected output | Actual output |
Operation steps | User name | Password | Duplicate password | Real name |
1 | Guest | 12345 | 12345 | Zhang San | Normal registration | Normal registration |
2 | Guest | 12345 | 12345 | Zhang San | Prompt user name length error | Prompt user name length error |
3 | Guest | 12345 | 1234 | Zhang San | Prompt that the two passwords are inconsistent | Prompt that the two passwords are inconsistent |
4 | Guest888888 | 12345 | 12345 | Zhang San | Prompt user name length is too long | Prompt user name length is too long |
5 | Guest | 1234567891011111 | 1234567891011111 | Zhang San | Prompt password length is too long | Prompt password length is too long |
6 | Guest | 12345 | 1234 | Zhang San | Prompt that the two passwords are inconsistent | Prompt that the two passwords are inconsistent |
7 | Guest | 12345 | 123456 | Zhang San | Prompt that the two passwords are inconsistent | Prompt that the two passwords are inconsistent |
8 | Guest | 1234 | 1234 | Zhang San | Prompt password length is too short | Prompt password length is too short |
9 | Empty | 12345 | 1234 | Zhang San | Prompt user name cannot be empty | Prompt user name cannot be empty |
10 | Guest | Empty | 1234 | Zhang San | Prompt password cannot be empty | Prompt password cannot be empty |
11 | Guest | 12345 | Empty | Zhang San | Prompt duplicate password cannot be empty | Prompt duplicate password cannot be empty |
12 | Guest | 12345 | 12345 | Empty | Prompt that the real name cannot be empty | Prompt that the real name cannot be empty |
13 | Empty | Empty | Empty | Empty | Prompt user name cannot be empty | Prompt user name cannot be empty |
|