Test cases for facebook login page

Test Cases For Facebook Login Page

In this latest article, we have covered the checklist for the Facebook login page, test scenarios for the fb login page and the detailed test cases for Facebook login page. This is the most common topic which is asked by the interviewers in the software testing interviews. So here, this article will be helpful for the software testing communities who are looking for sample test cases for the facebook login page.

Whenever we start designing the test cases we list down the common checklist for the features. So it will be easy to identify the test scenarios and test cases.

Check List For Facebook [FB] Login Page: 

Sr.NoChecklist_IDChecklist For Login Page
1Checklist_01Check Email Id Field
2Checklist_02Check the Password field
3Checklist_03Check the Login button
4Checklist_04Check the ‘Forgotten Password’ Link
5Checklist_05Check the ‘Create New Account’ button
6Checklist_06Check the validations for required fields

Test Scenarios For Facebook [FB] Login Page: 

Sr.NoTest Scenario_IDTest Scenarios
1Test Scenario_01Verify that fb login functionality with valid email address.
2Test Scenario_02Verify that fb login functionality with invalid email address.
3Test Scenario_03Verify that fb login functionality with valid phone number.
4Test Scenario_04Verify that Facebook login functionality with invalid phone number.
5Test Scenario_05Verify that Facebook login functionality with valid password address.
6Test Scenario_06Verify that fb login functionality with invalid password address.
7Test Scenario_07Verify that the forgotten password is working as expected or not.
8Test Scenario_08Verify that the ‘Create New Account’ button is working as expected or not.
9Test Scenario_09Verify that validation error is displayed for required fields or not.

Test cases for Facebook login page
Test cases for Facebook login page

GUI Testing – Test Cases For Facebook Login Page

Sr.NoTestcase_IDTest Cases
1UI_01Verify that email id field design is as per specification or not.
2UI_02Verify that password field design is as per specification or not.
3UI_03Verify that login button design is as per specification or not.
4UI_04Verify that forgotten password link design is as per specification or not.
5UI_05Verify that  ‘Create New Account’ button design is as per specification or not.
6UI_06Verify that the email id and password field is properly aligned or not.
7UI_07Verify that Login button color is as per expected or not.
8UI_08Verify that email id and password field size is as per specification or not.
9UI_09Verify that Login button size is as per specification or not.

10UI_10Verify that the forgotten password link color is as expected or not.
11UI_11Verify that forgotten password links are properly aligned or not.
12UI_12Verify that the  ‘Create New Account’ button color is as per specification or not.
13UI_13Verify that  ‘Create New Account’ button size is as per specification or not.
14UI_14Verify that the  ‘Create New Account’ button is properly aligned or not.
15UI_15Verify that the placeholder for the email id field is properly displayed or not.
16UI_16Verify that the placeholder for the password field is properly displayed or not.
17UI_17Verify any spelling mistake on facebook login page.

Functional Testing – Test Cases For Facebook Login Page

Sr.NoTestcase_IDTest Cases
1Functional_01To verify Login functionality with valid email id and valid password.
2Functional_02To verify Login functionality with valid email id and invalid password.
3Functional_03To verify Login functionality with invalid email id and valid password.
4Functional_04To verify Login functionality with invalid email id and invalid password.
5Functional_05To verify Login functionality with blank email id and valid password.
6Functional_06To verify Login functionality with valid email id and blank password.
7Functional_07To verify Login functionality with blank email id and blank password.
8Functional_08To verify Login functionality with a valid phone number and valid password.
9Functional_09To verify Login functionality with valid phone number and invalid password.
10Functional_10To verify Login functionality with invalid phone number and valid password.
11Functional_11To verify Login functionality with invalid phone number and invalid password.
12Functional_12To verify Login functionality with a blank phone number and valid password.

13Functional_13To verify the maximum and minimum length of the email id field.
14Functional_14To verify the maximum and minimum length of the password field.
15Functional_15Verify that if the user clicks on the Login button without entering data into the field then validation error message should be displayed for required fields.
16Functional_16Verify that the validation error message should be displayed properly with proper helper text.
17Functional_17Verify facebook login functionality with incorrect password.
18Functional_18Verify that fb login functionality with an old password.
19Functional_19To verify that Welcome message after successfully login.
20Functional_20Verify that if the user clicks on the forgotten password link then the user should be navigated to the forgot password page.
21Functional_21To verify if Password text format is encrypted or not.
22Functional_22To verify that back button functionality after log out.
23Functional_23To verify that message for entered invalid inputs.
24Functional_24To verify that Login button with click and Enter key events.

Security Testing – Test Cases For Facebook Login Page

Sr.NoTestcase_IDTest Cases
1Security_01To verify that an SSL certificate is implemented or not.
2Security_02To verify that the “Back” button of the browser after successfully logged out from the application.
3Security_03To verify that the user is able to login by directly entering the url in the browser or not.
4Security_04To verify that login session timeout functionality.
5Security_05To verify that password format should be encrypted or not.
6Security_06To verify that the user is able to enter more than characters as per specified into Email and Password fields or not.

Negative Testing – Test Cases For Facebook Login Page

Sr.NoTestcase_IDTest Cases
1Negative_01Verify that login functionality with invalid data.
Note : you can refer test cases from functional test cases.
2Negative_02Verify that login functionality with blank fields.
Note: You can refer test cases from functional test cases.
3Negative_03Verify that if a user enters multiple times an incorrect password then the account should be locked temporarily.
4Negative_04Verify that double clicks on the login button with valid data and observe the behavior of the application.

Example : Test Cases For Facebook Login Page in Excel 

TestCase_IDTest_ScenarioTest_StepsTest_DataExpected ResultActual ResultStatusRemark
TC_01To check the login functionality with invalid email id and password1. Go to login page2. Enter invalid email id3. Enter invalid password4. Click on login buttonEmail – test@@domain.comPassword: 123456User should not be able to login with invalid credentials.As ExpectedPassN/A
TC_02To check the login functionality with valid email id and password1. Go to login page2. Enter valid email id3. Enter valid password4. Click on login buttonEmail – test_app@domain.comPassword: test@123User should be able to login with valid credentials.As ExpectedPassN/A

Conclusion: 

So as above we have tried to cover maximum test scenarios and test cases for Facebook login page. Please note that this is just a sample answer. If you are looking for more examples of test cases then please visit below links.

Thank you !!

1.Test cases for Gmail Login Page

2.Test Cases for Registration Page

3.Test cases for Login Page

Scroll to Top