In general, test case range function test cases and service test cases, for business test cases, fully follow the test flow described in the test requirements Specification, and then analyze the possible error processes according to the correct test process, then All the flows that may appear in the software are all enumerated, and then remove the redundant flow according to the listed data, this is a complete business test case;
For functional test cases, including two parts, one is a functional requirement, then test the business function according to functional requirements, such as one:
demand:
User name length is 6 to 10 bits (including 6 bits and 10)
User name consists of characters (A-Z, A-Z) and numbers (0-9)
Can't empty, spaces and special characters
Password rule with user name rules
Example:
Procedure Expected results
Enter the correct username and password (all 6 digits), click the [OK] button to enter the system
Enter the correct username and password (all 10 digits), click the [OK] button to enter the system
Enter the correct username and password (both 6 to 8 digits), ... enter the system
The user is named empty, ... prompts to enter the username cannot enter the system
The username is space, ... prompts the invalid username and cannot enter the system
The username is less than 6 digits, ... prompting the username too short to enter the system
......