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
Sr.No
Testcase_ID
Test Cases
1
UI_01
Check that email id field design is as per expected or not.
2
UI_02
Check that Password field design is as per expected or not.
3
UI_03
Check that the login button design is as per expected or not.
4
UI_04
Check that email and password fields are mandatory fields or not
5
UI_05
Check that the red “*” mark should be displayed for mandatory fields.
6
UI_06
Check that validation error messages for mandatory fields.
7
UI_07
Check that if fields have proper placeholder or not
8
UI_08
Check that checkboxes on the login page
9
UI_09
Check whether the password field text format is encrypted or not.
10
UI_10
Check whether the login page is responsive or not.
Functional Test Scenarios Login Page
Sr.No
Testcase_ID
Test Cases
1
Functional_01
Verify that email id field with entered maximum characters length
2
Functional_02
Verify that password field with centered maximum characters length
3
Functional_03
Verify that tab key functionality is working properly on the login page
4
Functional_04
Validate login form functionality with valid email id and valid password.
5
Functional_05
Validate login page functionality with an invalid email address and valid password.
6
Functional_06
Validate login page functionality with a valid email address and invalid password.
7
Functional_07
Validate login page functionality with an invalid email address and invalid password.
8
Functional_08
Validate login page functionality with a blank email address and valid password.
9
Functional_09
Check that login page functionality with a valid email id and a blank password.
10
Functional_10
Validate login page functionality with a blank email address and a blank password.
11
Functional_11
Validate that the user is getting a welcome message after successful login into an application
12
Functional_12
Validate that how many times a user is allowed to enter an incorrect password.
Performance Test Scenarios Login Page
Sr.No
Testcase_ID
Test Cases
1
Performance_01
Verify that how many users login to an application at a time
2
Performance_02
Verify that response time when user logged in the application
3
Performance_03
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
Sr.No
Testcase_ID
Test Cases
1
Security_01
Check that an SSL certificate should be implemented in the application
2
Security_02
Check that session time out an application
3
Security_03
Validate that the password format should be encrypted.
Negative Test Cases Login Page
Sr.No
Testcase_ID
Test Cases
1
Negative_01
Verify that the user is able to log in with an expired password or not
2
Negative_02
Verify that unverified user is able to login into the application or not
3
Negative_03
Verify login functionality with blank fields
4
Negative_04
Verify login functionality with SQL injections
5
Negative_05
Verify login functionality with incorrect email addresses and passwords
Conclusion
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.