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.No
Checklist_ID
Checklist For Login Page
1
Checklist_01
Check Email Id Field
2
Checklist_02
Check the Password field
3
Checklist_03
Check the Login button
4
Checklist_04
Check the ‘Forgotten Password’ Link
5
Checklist_05
Check the ‘Create New Account’ button
6
Checklist_06
Check the validations for required fields
Test Scenarios For Facebook [FB] Login Page:
Sr.No
Test Scenario_ID
Test Scenarios
1
Test Scenario_01
Verify that fb login functionality with valid email address.
2
Test Scenario_02
Verify that fb login functionality with invalid email address.
3
Test Scenario_03
Verify that fb login functionality with valid phone number.
4
Test Scenario_04
Verify that Facebook login functionality with invalid phone number.
5
Test Scenario_05
Verify that Facebook login functionality with valid password address.
6
Test Scenario_06
Verify that fb login functionality with invalid password address.
7
Test Scenario_07
Verify that the forgotten password is working as expected or not.
8
Test Scenario_08
Verify that the ‘Create New Account’ button is working as expected or not.
9
Test Scenario_09
Verify that validation error is displayed for required fields or not.
Test cases for Facebook login page
GUI Testing – Test Cases For Facebook Login Page
Sr.No
Testcase_ID
Test Cases
1
UI_01
Verify that email id field design is as per specification or not.
2
UI_02
Verify that password field design is as per specification or not.
3
UI_03
Verify that login button design is as per specification or not.
4
UI_04
Verify that forgotten password link design is as per specification or not.
5
UI_05
Verify that ‘Create New Account’ button design is as per specification or not.
6
UI_06
Verify that the email id and password field is properly aligned or not.
7
UI_07
Verify that Login button color is as per expected or not.
8
UI_08
Verify that email id and password field size is as per specification or not.
9
UI_09
Verify that Login button size is as per specification or not.
10
UI_10
Verify that the forgotten password link color is as expected or not.
11
UI_11
Verify that forgotten password links are properly aligned or not.
12
UI_12
Verify that the ‘Create New Account’ button color is as per specification or not.
13
UI_13
Verify that ‘Create New Account’ button size is as per specification or not.
14
UI_14
Verify that the ‘Create New Account’ button is properly aligned or not.
15
UI_15
Verify that the placeholder for the email id field is properly displayed or not.
16
UI_16
Verify that the placeholder for the password field is properly displayed or not.
17
UI_17
Verify any spelling mistake on facebook login page.
Functional Testing – Test Cases For Facebook Login Page
Sr.No
Testcase_ID
Test Cases
1
Functional_01
To verify Login functionality with valid email id and valid password.
2
Functional_02
To verify Login functionality with valid email id and invalid password.
3
Functional_03
To verify Login functionality with invalid email id and valid password.
4
Functional_04
To verify Login functionality with invalid email id and invalid password.
5
Functional_05
To verify Login functionality with blank email id and valid password.
6
Functional_06
To verify Login functionality with valid email id and blank password.
7
Functional_07
To verify Login functionality with blank email id and blank password.
8
Functional_08
To verify Login functionality with a valid phone number and valid password.
9
Functional_09
To verify Login functionality with valid phone number and invalid password.
10
Functional_10
To verify Login functionality with invalid phone number and valid password.
11
Functional_11
To verify Login functionality with invalid phone number and invalid password.
12
Functional_12
To verify Login functionality with a blank phone number and valid password.
13
Functional_13
To verify the maximum and minimum length of the email id field.
14
Functional_14
To verify the maximum and minimum length of the password field.
15
Functional_15
Verify 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.
16
Functional_16
Verify that the validation error message should be displayed properly with proper helper text.
17
Functional_17
Verify facebook login functionality with incorrect password.
18
Functional_18
Verify that fb login functionality with an old password.
19
Functional_19
To verify that Welcome message after successfully login.
20
Functional_20
Verify that if the user clicks on the forgotten password link then the user should be navigated to the forgot password page.
21
Functional_21
To verify if Password text format is encrypted or not.
22
Functional_22
To verify that back button functionality after log out.
23
Functional_23
To verify that message for entered invalid inputs.
24
Functional_24
To verify that Login button with click and Enter key events.
Security Testing – Test Cases For Facebook Login Page
Sr.No
Testcase_ID
Test Cases
1
Security_01
To verify that an SSL certificate is implemented or not.
2
Security_02
To verify that the “Back” button of the browser after successfully logged out from the application.
3
Security_03
To verify that the user is able to login by directly entering the url in the browser or not.
4
Security_04
To verify that login session timeout functionality.
5
Security_05
To verify that password format should be encrypted or not.
6
Security_06
To 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.No
Testcase_ID
Test Cases
1
Negative_01
Verify that login functionality with invalid data. Note : you can refer test cases from functional test cases.
2
Negative_02
Verify that login functionality with blank fields. Note: You can refer test cases from functional test cases.
3
Negative_03
Verify that if a user enters multiple times an incorrect password then the account should be locked temporarily.
4
Negative_04
Verify 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_ID
Test_Scenario
Test_Steps
Test_Data
Expected Result
Actual Result
Status
Remark
TC_01
To check the login functionality with invalid email id and password
1. Go to login page2. Enter invalid email id3. Enter invalid password4. Click on login button
Email – test@@domain.comPassword: 123456
User should not be able to login with invalid credentials.
As Expected
Pass
N/A
TC_02
To check the login functionality with valid email id and password
1. Go to login page2. Enter valid email id3. Enter valid password4. Click on login button
Email – test_app@domain.comPassword: test@123
User should be able to login with valid credentials.
As Expected
Pass
N/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.