Test Case Categories
Login Page Testing - Complete Test Case Guide for Secure and User-Friendly Authentication
A well-designed login page is essential for both security and user experience. This guide outlines key test cases for verifying username and password input behavior, password masking, character requirements, and validation rules. These test cases ensure your login page handles credentials safely and functions intuitively.
| Nr | Test Idea | |
|---|---|---|
| 1 | Check the parent page testcases for general login functionality testing guidelines | |
| 2 | Check that both the username and password fields are mandatory | |
| 3 | Check the minimum and maximum length allowed for the username and password fields | |
| 4 | Check which characters are allowed in the username and password fields | |
| 5 | Check that the username field is case-insensitive | |
| 6 | Check that the username field validates if the username is already taken | |
| 7 | Check that the password field is case-sensitive | |
| 8 | Check that the password field does not display actual characters when typing — the value should be masked | |
| 9 | Check if the password field validates password requirements (e.g., minimum length) | |
| 10 | Check that all password requirements are displayed to the user | |
| 11 | Check that the password is saved in encrypted form in the database | |
| 12 | Check that the actual password is saved, not the masked characters | |
| 13 | Check if the password field should have a reveal button | |
| 14 | Check that the password remains masked when viewing a pre-filled password field (e.g., in user profile) | |
| 15 | Check that the masked value length does not reflect the actual password length when viewing a pre-filled password field | |
| 16 | Check that it is not possible to copy text from the password field |