Test case example
Project/Software |
Technology export contract online application system (enterprise side) |
Program Version |
1.0.25 |
|||
function module name |
Login |
Editor |
xxx |
|||
use case number - |
TC-TEP_Login_1 |
Compilation time |
2002.10.12 |
|||
Related Use Cases |
without |
|||||
Features |
User authentication |
|||||
Testing purposes |
Verify whether legal information is entered, allow legal login, and prevent illegal login |
|||||
Preconditions |
without |
Instructions for special procedures |
such as database access rights |
|||
Reference Information |
The description of "login" in the requirement description |
|||||
Test Data |
Username=yiyh Password=1 |
|||||
Steps |
Operation Description |
data |
Desired result |
actual results |
actual results |
Test Status (P/F) |
1 |
Enter the user name and press the "Login" button. |
Username=yiyh, password is empty |
The warning message "Please enter username and password!" is displayed |
|||
2 |
Enter your password and press the "Login" button. |
Username is empty, password=1 |
The warning message "Please enter username and password!" is displayed |
|||
3 |
Enter the username and password and press the "Login" button. |
Username=yiyh, Password=2 |
The warning message "Please enter username and password!" is displayed |
|||
4 |
Enter the username and password and press the "Login" button. |
Username=xxx, Password=1 |
The warning message "Please enter username and password!" is displayed |
|||
5 |
Enter the username and password and press the "Login" button. |
Username=xxx, Password=2 |
The warning message "Please enter username and password!" is displayed |
|||
6 |
Enter the username and password and press the "Login" button. |
username=null, password=null |
The warning message "Please enter username and password!" is displayed |
|||
7 |
Enter the username and password and press the "Login" button. |
Username=yiyh, Password=1 |
Go to the system page. |
|||
8 |
Enter the username and password and press the "Login" button. |
Username=Admin, Password=admin |
Go to the system maintenance page. |
|||
9 |
Enter the username and password and press the "Login" button. |
Username=yiyh'', Password=1 |
The warning message "Please enter username and password!" is displayed |
|||
10 |
Enter the username and password and press the "Login" button. |
Username=yiyh, Password=1'' |
The warning message "Please enter username and password!" is displayed |
|||
11 |
Enter the username and password and press the "Reset" button. |
Username=yiyh, Password=1 |
Clear input information |
|||
Testers |
Developer |
Project manager |