test cases example for login page commonly used for test the any login page of an application. In this article, we will discuss test cases for login page where we will include UI, functional, performance, security, and negative test cases. These test cases are helpful to test login functionality of an application.
UI Test Cases Login Page
Check that email id field design is as per expected or not.
Check that Password field design is as per expected or not.
Check that the login button design is as per expected or not.
Check that email and password fields are mandatory fields or not
Check that the red “*” mark should be displayed for mandatory fields.
Check that validation error messages for mandatory fields.
Check that if fields have proper placeholder or not
Check that checkboxes on the login page
Check whether the password field text format is encrypted or not.
Check whether the login page is responsive or not.
Functional Test Scenarios Login Page
Verify that email id field with entered maximum characters length
Verify that password field with centered maximum characters length
Verify that tab key functionality is working properly on the login page
Validate login form functionality with valid email id and valid password.
Validate login page functionality with an invalid email address and valid password.
Validate login page functionality with a valid email address and invalid password.
Validate login page functionality with an invalid email address and invalid password.
Validate login page functionality with a blank email address and valid password.
Check that login page functionality with a valid email id and a blank password.
Validate login page functionality with a blank email address and a blank password.
Validate that the user is getting a welcome message after successful login into an application
Validate that how many times a user is allowed to enter an incorrect password.
Performance Test Scenarios Login Page
Verify that how many users login to an application at a time
Verify that response time when user logged in the application
Verify that when more than expected users logged in to the application at a time, the application should not be crashed.
Security Test Cases Login Page
Check that an SSL certificate should be implemented in the application
Check that session time out an application
Validate that the password format should be encrypted.
Negative Test Cases Login Page
Verify that the user is able to log in with an expired password or not
Verify that unverified user is able to login into the application or not
Verify login functionality with blank fields
Verify login functionality with SQL injections
Verify login functionality with incorrect email addresses and passwords
So in this way, as above we mentioned some common test scenarios for login page. If you are looking for more test cases examples then please visit the links below.