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.No | TestCase_ID | TestCase_Objective |
1 | Login_01 | To verify Login functionality with valid email id and valid password. |
2 | Login_02 | To verify Login functionality with valid email address and invalid password. |
3 | Login_03 | To verify Login functionality with invalid email address and valid password. |
4 | Login_04 | To verify Login functionality with invalid email address and invalid password. |
5 | Login_05 | To verify Login functionality with blank email address and valid password. |
6 | Login_06 | To check that Login functionality with valid email id and blank password. |
7 | Login_07 | To verify Login functionality with blank email address and blank password. |
8 | Login_08 | To check that Login functionality with valid phone number and valid password. |
9 | Login_09 | To check that Login functionality with valid phone number and invalid password. |
10 | Login_10 | To check that Login functionality with invalid phone number and valid password. |
11 | Login_11 | To check that Login functionality with invalid phone number and invalid password. |
12 | Login_12 | To check that Login functionality with blank phone number and valid password. |
13 | Login_13 | To verify that length of email address field and password field. |
14 | Login_14 | To verify that error message display when any field is left blank. |
15 | Login_15 | To verify Tab key functionality on the Login page. |
16 | Login_16 | To verify that remember me checkbox functionality |
20 | Login_20 | To verify that entered multiple times incorrect passwords. |
21 | Login_21 | To verify that welcome message after successfully login into application. |
22 | Login_22 | To verify that Forgotten Password functionality. |
23 | Login_23 | To verify if password text format is encrypted or not into password field. |
24 | Login_24 | To verify that back button of the browser after log out. |
25 | Login_25 | To check that message for entered invalid inputs. |
26 | Login_26 | To 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.
1 | Login_UI_1 | To check Login page layout is as per specification or not. |
2 | Login_UI_2 | To check that placeholders are displayed properly or not. |
3 | Login_UI_3 | To check that red (*) mark is properly displayed for mandatory fields or not. |
4 | Login_UI_4 | To check that text fields,buttons,checkbox are displayed as per specification or not. |
5 | Login_UI_5 | To 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:
1 | Login_Security_01 | To verify that SSL certificate is implemented or not. |
2 | Login_Security_02 | To verify that “Back” button of the browser after successfully logged out from the application. |
3 | Login_Security_03 | To verify that a user is able to login by directly entering url in the browser or not. |
4 | Login_Security_04 | To verify that login session timeout functionality. |
5 | Login_Security_05 | To verify that password format should be encrypted or not. |
6 | Login_Security_06 | To 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