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 |
- Check if the user timeline is displaying the correct number of posts.
- Verify that the user can delete a post from the user timeline.
- Verify that the user can post a new status on the user timeline.
- Verify that the user can edit a post on the user timeline.
- Verify that the user can share the posts on the user timeline.
- Verify that the user can tag people in the posts on the user timeline.
- Verify that the user can see the activity log for the posts on the user timeline.
- Verify that the user can see the privacy settings for the posts on the user timeline.
- Verify that the user can see the list of posts in the user timeline.
- Verify that the user can see the comments and likes on the posts in the user timeline.
- 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 |
- Verify that the user can set the profile picture uploaded from computer or mobile.
- Verify that the user can set the profile picture from the photos present in facebook account.
- 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 |
- Verify that the user can see the notification when someone likes his/her videos.
- 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 |
- Open the browser and enter the URL for the Facebook login page.
- Verify that the password textbox is present on the UI login page.
- Verify that the username textbox is present on the UI login page.
- Verify that the login button is present on the UI login page.
|
Credentials page |
- Enter the valid username and password in the respective text boxes and click on the login button.
- 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 |
- Verify that the user is able to see the error message when the username is wrong.
- Verify that the user is able to see the error message when the password is wrong.
|
Home page |
- Verify that the user is able to see the home page after successful login.
- 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 |
- Verify that login page is displayed over a secure HTTPS connection.
- Verify that login page does not contain any mixed content.
- Verify that login page does not contain any broken links or resources.
- Verify that login page contains a valid SSL certificate.
- Verify that login page is not vulnerable to any known web attacks.
- Verify that login page does not disclose any sensitive information in the response headers.
- Verify that login page does not have any cross-site scripting vulnerabilities.
- Verify that login page does not have any SQL injection vulnerabilities.
- Verify that login page does not have any session-hijacking vulnerabilities.
- Verify that login page does not have any cross-site request forgery vulnerabilities.
- Verify that login page does not have any vulnerabilities that could allow an attacker to bypass the login process.
- 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.
- Verify that login page does not have any vulnerabilities that could allow an attacker to perform a denial of service attack.
- Verify that login page is not vulnerable to any known browser vulnerabilities.
- Verify that login page does not allow users to enter any sensitive information in insecure fields.
- Verify that login page does not autocomplete any sensitive fields.
- Verify that login page does not remember any sensitive information.
- Verify that login page does not have any vulnerabilities that could allow an attacker to hijack a user’s session.
- Verify that login page does not have any vulnerabilities that could allow an attacker to perform a man-in-the-middle attack.
- Verify that login page does not have any vulnerabilities that could allow an attacker to inject malicious code.
- Verify that login page does not have any vulnerabilities that could allow an attacker to redirect a user to a malicious site.
- Verify that login page does not have any vulnerabilities that could allow an attacker to steal a user’s cookies.
- Verify that login page does not have any vulnerabilities that could allow an attacker to perform a phishing attack.
- Verify that login page does not have any vulnerabilities that could allow an attacker to spoof the login page.
- Verify that login page does not have any vulnerabilities that could allow an attacker to access a user’s account without their password.
- Verify that login page does not have any vulnerabilities that could allow an attacker to perform a denial of service attack.
- Verify that login page does not have any vulnerabilities that could allow an attacker to inject malicious code.
- Verify that login page does not have any vulnerabilities that could allow an attacker to redirect a user to a malicious site.
- Verify that login page does not have any vulnerabilities that could allow an attacker to steal a user’s cookies.
- Verify that login page does not have any vulnerabilities that could allow an attacker to perform a phishing attack
|
Contact Us