"Software Test" the fourth time operation
Soft Gold 3 class Chen Xiaoyan 3137102311
1, the background of a company's website management has a user registration function needs to test, the test is a black box test, please use a table to give the function of the test case (refer to the Textbook P107 page). The user registration function is described as follows:
(1) The administrator must first log in, to enter the site management, access to the background management interface can be user registration (assuming that the user registered URL address is http://www.fengt.com/Admin/UserRegister.jsp)
(2) User registration requirements to enter the user name, password, password confirmation, mailbox, these 4 items can not be empty
(3) The user name requires 6-10 characters, consisting of letters and numbers, and can only begin with a letter. The user name is unique.
(4) Password at least 6 digits, including letters, numbers and special symbols (such as:!) + ~ etc)
(5) The mailbox must comply with the mailbox rules
(6) Any requirement above the law should have a corresponding prompt
(7) Registration success must prompt "registration success, please remember password" and jump to the user login page to sign in (assuming the user login page is http://www.fengt.com/Admin/Login.jsp)
Test case ID |
Scene |
Test steps |
Test results |
TC1 |
Administrator Login |
Open the Login interface to enter as an administrator |
Access to the Admin interface |
TC2 |
Registered users |
In the background management interface for user registration, user name, password, password confirmation, mailbox and other operations |
Go to User registration page |
TC3 |
User name Input-null value verification |
User name not entered |
Registration failed, prompt: User name cannot be empty |
TC4 |
User name Input-format verification |
Enter User name 135 |
Registration failed, hint: The user name requires 6-10 characters, consisting of letters and numbers, and can only start with a letter. |
TC5 |
User name Input |
Enter user name a13579 |
Registration is successful. |
TC6 |
User name Input-Verify duplicate user name |
Enter user name a13579 |
Registration failed with prompt: The user already exists. |
Scp |
Password input-no characters entered |
Password not entered |
Input failed, prompt: Please enter password, password cannot be empty. |
TC8 |
Password Input-format verification |
Enter your password 456 |
Input failed, hint: password at least 6 bits, including letters, numbers and special symbols such as:! 、. ~ etc) |
TC9 |
Password input |
Enter Password 12345 ... |
The input was successful. |
TC10 |
Email registration |
Enter email [email protected] |
Input success, prompt: Registration success, please remember the password; |
TC11 |
Mailbox Verification |
Enter the wrong mailbox |
Prompt for mailbox input errors |
TC12 |
Registration successful, jump login page |
Login interface |
User Login page is http://www.fengt . com/admin/login.jsp |
Note
L Design test Cases should consider the success of the login and unsuccessful two situations;
Software Test Job Four