What is a login screen or page?
A login screen is a website or the home page of an online or mobile application that requests user identification and authentication. It is often done by providing a username or email address and password combination.
Since it grants access to a complete website or application, or at least a portion of it, therefore, the login screen needs to be thoroughly tested.
When creating test cases or test scenarios for a login page, a mix of positive and negative test cases should be used. Make sure to cover performance, security, and functional scenarios.
A username, password, ‘Sign In’ button, cancel button, and forgot password link may be present. There may be one more control, a checkbox labelled ‘remember me,’ to remember the login information on a specific machine.
32 tips for login page testing
The tips listed below can be used to test the login screen of any system/application.
1. Test the login process with and without credentials to compare the results.
2. Check whether a user will be able to log in with a valid username and password.
3. Check whether a user can log in with a valid username but an invalid password.
4. Check the login functionality when the required fields (username and password) are empty and the Submit button is pressed.
5. Make sure to test the ‘Forgot Password’ feature.
6. Check the popup messages when invalid login information is provided.
7. Check to see whether a “Remember me” option is available. And does it function normally? Check what transpires if the password is modified as well.
8. Verify if the data in the password field is hidden, visible as an asterisk or a bullet sign.
9. Check if a user can login with a new password, and only if he changed the password.
10. Check if the login page allows you to log in with different credentials in a different browser at the same time.
11. Check that the keyboard’s ‘Enter’ key works properly on the login page.
12. Check the login session’s timeout functionality to verify that the system automatically logs out the user when the session expires.
13. Check if the font, text color, and color coding on the Login page are standard.
14. Check if a ‘Cancel’ button is available to delete the entered text.
15. Test the login page and all of its controls in various browsers.
16. Check if a user can enter more than the specified number of characters in each field (Username and Password).
17. Validate data by looking at the username and password fields (Is there a minimum or maximum length of characters, boundary values, what are the allowed characters, etc.).