Detailed Explanation of Login Test of Software Testing - Functionality

function test

1. Functional test – login

Functional test cases include:

1. Enter nothing, click the submit button and see the prompt message. (not empty check)

2. Enter the registered username and correct password to verify whether the login is successful;

3. Enter the registered user name and incorrect password, verify whether the login fails and the prompt information is correct;

4. Enter the unregistered user name and any password, verify whether the login fails and the prompt information is correct;

5. Both the username and password are empty, verify whether the login failed, and the prompt information is correct;

6. If one of the username and password is empty, verify whether the login failed and the prompt information is correct;

7. If the login function has the verification code function enabled, on the premise that the user name and password are correct, enter the correct verification code to verify whether the login is successful;

8. If the verification code function is enabled for the login function, if the user name and password are correct, enter the wrong verification code to verify whether the login fails and the prompt information is correct.

9. Whether the user name and password are case sensitive;

10. Whether the password box on the page is encrypted and displayed;

11. When a user created by the backend system successfully logs in for the first time, is it prompted to change the password?

12. Whether the functions of forgotten username and forgotten password are available;

13. Whether the front-end page limits the length of user names and passwords according to design requirements;

14. If the login function requires a verification code, click on the verification code image to see if the verification code can be changed, and whether the changed verification code is available;

15. Whether refreshing the page will refresh the verification code;

16. If the verification code is time-sensitive, the validity of the verification code within the time limit and outside the time limit needs to be verified separately;

17. If the user logs in successfully but the session times out, will continuing the operation redirect you to the user login interface?

18. Whether users of different levels, such as administrator users and ordinary users, have correct permissions after logging into the system; 19. Whether the default focus of the page is positioned in the user name input box;

20. Whether the shortcut keys Tab and Enter can be used normally.

Test case design needs to be carefully considered to ensure that requirements are fully covered!

Tags: functional testing, test cases

Article source: Detailed explanation of login test for software testing-functionality-Chengdu Kexin Youchuang Information Technology Service Co., Ltd.

Guess you like

Origin blog.csdn.net/m0_64305922/article/details/132729897