Test Cases - bounswe/bounswe2016group8 GitHub Wiki

Test Case ID: TC1

Test Priority: High

Module Name: Registration

Test Title: Registering with Email, Username and Password

Description: A user shall be able to register the system via using his email and password

Test Designed By: N.Şeyma Ertem

Test Design Date: 20.04.2016

Test Executed By:

Test Execution Date:

Pre-condition: N/A

Dependencies: A valid email address, a unique username, a valid password

Steps Test Steps Test Data Expected Result Actual Result Pass/Fail Notes
1 Enter a Username seymaertem
2 Enter an e-mail address [email protected] 'e-mail' isn't used before.
3 Enter a password Seyma123456
4 Reenter the password Seyma123456
5 Click “Sign Up” button If the username is unique, the password is entered and two entered password match, the email is valid and not used for another account, then the homepage is loaded.

Test Case ID: TC2

Test Priority: High

Module Name: Login

Test Title: Login with Email or Username and Password

Description: A user shall be able to login to the system via using his/her email or username with a related password.

Test Designed By: N.Şeyma Ertem

Test Design Date: 20.04.2016

Test Executed By:

Test Execution Date:

Pre-condition: N/A

Dependencies: A registered email address or a unique username with a matching password

Steps Test Steps Test Data Expected Result Actual Result Pass/Fail Notes
1 Enter the username or the email address username = seymaertem, email = [email protected]
2 Enter the password Seyma123456
3 Click “Login” button If the user is registered before, and the password is matching with the username or the email address, then the homepage opens.

Test Case ID: TC3

Test Priority: Moderate

Module Name: Follow a Teacher

Test Title: Following a Teacher account

Description: A user, weather a student or a teacher, shall be able to follow another teacher account.

Test Designed By: N.Şeyma Ertem

Test Design Date: 20.04.2016

Test Executed By:

Test Execution Date:

Pre-condition: User must be logged in, the user shouldn’t be following the teacher account already.

Dependencies: N/A

Steps Test Steps Test Data Expected Result Actual Result Pass/Fail Notes
1 Go to profile page of the teacher account. Profile page is loaded.
2 Click “Follow” button The teacher account will be in following list of the user. The teacher will receive a “new follower” notification.

Test Case ID: TC4

Test Priority: High

Module Name: Search

Test Title: Searching a topic.

Description: A user, weather a student or a teacher, shall be able to search topics.

Test Designed By: N.Şeyma Ertem

Test Design Date: 20.04.2016

Test Executed By:

Test Execution Date:

Pre-condition: User must be logged in.

Dependencies: N/A

Steps Test Steps Test Data Expected Result Actual Result Pass/Fail Notes
1 Type a query into the search bar. “Software Engineering”
2 Click “Search” button Search page is loaded with the corresponding search results of the query.

Test Case ID: TC5

Test Priority: Low

Module Name: Reporting

Test Title: Reporting a user who uploaded an inappropriate content

Description: A user shall be able to report the user with declaring the content.

Test Designed By: Ozan Kepenek

Test Design Date: 26.04.2016

Test Executed By:

Test Execution Date:

Pre-condition: User must access the content

Dependencies: A registered & logged in user, an active offensive content

Steps Test Steps Test Data Expected Result Actual Result Pass/Fail Notes
1 Click "Report" button ContentPageURL, Report Button Direction to Reporting Page Direction to Reporting Page PASS
2 Fill the "Report Reason" text area text_reason="This content includes violence." Empty two text areas for reason and URL
3 Enter the link of the content text_reporturl=ContentPageURL
4 Click send button If the URL is valid and reason area is filled, reporting is successfull Direction to the "Thank you" page. PASS

Test Case ID: TC6

Test Priority: Moderate

Module Name: Unfollow

Test Title: Unfollow a user

Description: A user shall be able to unfollow a user who is being followed.

Test Designed By: Ozan Kepenek

Test Design Date: 26.04.2016

Test Executed By:

Test Execution Date:

Pre-condition: User must have followed the user before

Dependencies: A registered & logged in user, a followed user

Steps Test Steps Test Data Expected Result Actual Result Pass/Fail Notes
1 User navigates his profile page and clicks "Following" button ProfilePageURL, Following Button Direction to Following List Page Direction to Following List Page PASS
2 User clicks on the followed user's name FollowingListURL Names in the list shall be clickable Name is not clicked and unfollow button is not visible. FAIL
3 User clicks on the followed user's name FollowingListURL Names in the list shall be clickable Unfollow button is appeared. PASS
4 User clicks "Unfollow" button FollowedUserID If unfollow is successfull, Unfollow button is changed to "Follow button" "Follow" button is visible, user is excluded from following list. PASS

Test Case ID: TC7

Test Priority: Moderate

Module Name: View Profile

Test Title: View a Profile

Description: A user shall be able to view a user's profile.

Test Designed By: Sait Talha Nisanci

Test Design Date: 26.04.2016

Test Executed By:

Test Execution Date:

Pre-condition: The person must be registered.

Dependencies: A registered & logged in user, a followed user

Steps Test Steps Test Data Expected Result Actual Result Pass/Fail Notes
1 User clicks "View Profile" button Talha Nisanci Talha Nisanci's profile is opened.