test cases for facebook login page

How to write test cases for Facebook login page

In this post, you will be able to see examples of testcases for the Facebook login page. It includes test cases of functional testing, UI testing, and security testing. You will also be able to explore test cases for the Facebook sign-up page. These are two main common topics that are mostly asked by the interviewers in the interviews.

So the functional test cases are displayed as under:

Functional Test Cases:

Sr.NoTestCase_IDTestCase_Objective
1Login_01To verify Login functionality with valid email id and valid password.
2Login_02To verify Login functionality with valid email address and invalid password.
3Login_03To verify Login functionality with invalid email address and valid password.
4Login_04To verify Login functionality with invalid email address and invalid password.
5Login_05To verify Login functionality with blank email address and valid password.
6Login_06To check that Login functionality with valid email id and blank password.
7Login_07To verify Login functionality with blank email address and blank password.
8Login_08To check that Login functionality with valid phone number and valid password.
9Login_09To check that Login functionality with valid phone number and invalid password.
10Login_10To check that  Login functionality with invalid phone number and valid password.
11Login_11To check that Login functionality with invalid phone number and invalid password.
12Login_12To check that Login functionality with blank phone number and valid password.
13Login_13To verify that length of email address field and password field.
14Login_14To verify that error message display when any field is left blank.
15Login_15To verify Tab key functionality on the Login page.
16Login_16To verify that remember me checkbox functionality
20Login_20To verify that entered multiple times incorrect passwords.
21Login_21To verify that welcome message after successfully login into application.
22Login_22To verify that Forgotten Password functionality.
23Login_23To verify if password text format is encrypted or not into password field.
24Login_24To verify that back button of the browser after log out.
25Login_25To check that message for entered invalid inputs.
26Login_26To verify that Login button with click and Enter key events.

UI Test Cases:

Generally, in UI testing, we are testing the layouts, text fields, radio buttons, checkbox, and drop-down list. The Login page should have an easy interface for users. So users can easily interact with the application. So testers should take care of the UI of the login page while testing.

1Login_UI_1To check Login page layout is as per specification or not.
2Login_UI_2To check that placeholders are displayed properly or not.
3Login_UI_3To check that red (*) mark is properly displayed for mandatory fields or not.
4Login_UI_4To check that text fields,buttons,checkbox are displayed as per specification or not.
5Login_UI_5To check that the Login page is responsive or not.

Security Test Cases:

For security testing, these are some basic security test cases for login page are displayed as below:

1Login_Security_01To verify that SSL certificate is implemented or not.
2Login_Security_02To verify that “Back” button of the browser after successfully logged out from the application.
3Login_Security_03To verify that a user is able to login by directly entering url in the browser or not.
4Login_Security_04To verify that login session timeout functionality.
5Login_Security_05To verify that password format should be encrypted or not.
6Login_Security_06To verify that a user is able to enter more than characters as per specified into Email and Password fields or not.

Conclusion

So, In this way, It will help to create bug-free and error-free login pages. You have to think like an end-user for getting a better results. You can also add your testcases for the Facebook login page. This is just a sample answer, that you can get an idea about how to write test cases for the login page. If you are looking for testcases for Gmail login page then Click Here

Scroll to Top