Open In App

Test Case For Facebook Test Scenarios

Last Updated : 16 Nov, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The article focuses on discussing the test cases for the Facebook test scenarios. 

Test Case For User Timeline Test Cases

Feature to be Tested Test Cases
Posts
  1. Check if the user timeline is displaying the correct number of posts.
  2. Verify that the user can delete a post from the user timeline.
  3. Verify that the user can post a new status on the user timeline.
  4. Verify that the user can edit a post on the user timeline.
  5. Verify that the user can share the posts on the user timeline.
  6. Verify that the user can tag people in the posts on the user timeline.
  7. Verify that the user can see the activity log for the posts on the user timeline.
  8. Verify that the user can see the privacy settings for the posts on the user timeline.
  9. Verify that the user can see the list of posts in the user timeline.
  10. Verify that the user can see the comments and likes on the posts in the user timeline.
  11. Check if the user timeline is displaying the correct number of posts.
Friends Check if the user timeline is displaying the correct number of friends.
Shares Check if the user timeline is displaying the correct number of shares.
Following Check if the user timeline is displaying the correct number of the following.
Followers Check if the user timeline is displaying the correct number of followers.
Comments Check if the user timeline is displaying the correct number of comments.
Likes Check if the user timeline is displaying the correct number of likes.
Profile Verify that the user can see the profile information of the people who have posted on the user timeline.
Profile Picture
  1. Verify that the user can set the profile picture uploaded from computer or mobile.
  2. Verify that the user can set the profile picture from the photos present in facebook account.
  3. Verify that the user can set cover picture uploaded from computer or mobile.

Test Case For Notification Test Scenarios 

Feature to be Tested Test Cases
Homepage Verify that the user can see the notification tab on the Facebook homepage.
Drop-down menu Verify that the user can see the notifications in the drop-down menu.
Tab Verify that the user can see the number of notifications in the tab.
Mark read Verify that the user should be able to mark the notifications as read.
See Details Verify that the user should be able to see the notifications for new messages, comments, and posts.
Clear Verify that the user should be able to clear the notifications.
Log in Verify that the user can see the notification when he/she logs in to Facebook.
Friend Request Verify that the user can see the notification when he/she gets a friend request.
Group Verify that the user can see the notification when someone likes his/her group.
Pages Verify that the user can see the notification when someone likes his/her pages.
Posts
  1. Verify that the user can see the notification when someone likes his/her videos.
  2. Verify that the user can see the notification when someone likes his/her pics.

UI Login Page Test Cases

Feature to be Tested Test Cases
Login page
  1. Open the browser and enter the URL for the Facebook login page.
  2. Verify that the password textbox is present on the UI login page.
  3. Verify that the username textbox is present on the UI login page.
  4. Verify that the login button is present on the UI login page.
Credentials page
  1. Enter the valid username and password in the respective text boxes and click on the login button.
  2. Verify that the error message is displayed when the user tries to login with invalid credentials.
 Profile page Verify that the user is able to login successfully by checking the presence of the profile name.
Error message
  1. Verify that the user is able to see the error message when the username is wrong.
  2. Verify that the user is able to see the error message when the password is wrong.
Home page
  1. Verify that the user is able to see the home page after successful login.
  2. Verify that the user is able to see the logout button on the home page.

Non-functional Security Test Cases

Feature to be Tested Test Cases
 Login page
  1. Verify that login page is displayed over a secure HTTPS connection.
  2. Verify that login page does not contain any mixed content.
  3. Verify that login page does not contain any broken links or resources.
  4. Verify that login page contains a valid SSL certificate.
  5. Verify that login page is not vulnerable to any known web attacks.
  6. Verify that login page does not disclose any sensitive information in the response headers.
  7. Verify that login page does not have any cross-site scripting vulnerabilities.
  8. Verify that login page does not have any SQL injection vulnerabilities.
  9. Verify that  login page does not have any session-hijacking vulnerabilities.
  10. Verify that login page does not have any cross-site request forgery vulnerabilities.
  11. Verify that login page does not have any vulnerabilities that could allow an attacker to bypass the login process.
  12. Verify that login page does not have any vulnerabilities that could allow an attacker to gain access to a user’s account without their password.
  13. Verify that login page does not have any vulnerabilities that could allow an attacker to perform a denial of service attack.
  14. Verify that login page is not vulnerable to any known browser vulnerabilities.
  15. Verify that login page does not allow users to enter any sensitive information in insecure fields.
  16. Verify that login page does not autocomplete any sensitive fields.
  17. Verify that login page does not remember any sensitive information.
  18. Verify that login page does not have any vulnerabilities that could allow an attacker to hijack a user’s session.
  19. Verify that login page does not have any vulnerabilities that could allow an attacker to perform a man-in-the-middle attack.
  20. Verify that login page does not have any vulnerabilities that could allow an attacker to inject malicious code.
  21. Verify that login page does not have any vulnerabilities that could allow an attacker to redirect a user to a malicious site.
  22. Verify that login page does not have any vulnerabilities that could allow an attacker to steal a user’s cookies.
  23. Verify that login page does not have any vulnerabilities that could allow an attacker to perform a phishing attack.
  24. Verify that login page does not have any vulnerabilities that could allow an attacker to spoof the login page.
  25. Verify that login page does not have any vulnerabilities that could allow an attacker to access a user’s account without their password.
  26. Verify that login page does not have any vulnerabilities that could allow an attacker to perform a denial of service attack.
  27. Verify that login page does not have any vulnerabilities that could allow an attacker to inject malicious code.
  28. Verify that login page does not have any vulnerabilities that could allow an attacker to redirect a user to a malicious site.
  29. Verify that login page does not have any vulnerabilities that could allow an attacker to steal a user’s cookies.
  30. Verify that login page does not have any vulnerabilities that could allow an attacker to perform a phishing attack

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads