Test Cases - bounswe/bounswe2017group3 GitHub Wiki

Test Case ID: TC_1

Test Priority: High

Module Name: Searching

Test Title: Guest or user wants to search for an item.

Purpose: To test whether the advanced search works well.

Related Requirements: Requirements 1.1.1.7.1, 1.1.1.7.2, 1.1.2.2, 1.2.2.1

Test Designed By: Gökçe Uludoğan

Test Design Date: 06/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

Guest/User should be able to see the search bar on the page.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Find search box in page N/A N/A N/A N/A N/A
2 Type keyword keyword="badminton" N/A N/A N/A N/A
3 Choose search by group and event options Search by group and event options selected N/A N/A N/A N/A
4 Choose search by tag option Search by tag option selected N/A N/A N/A N/A
5 Click 'Search' button N/A Relevant search results and recommendations are displayed N/A N/A N/A

Post-conditions:

Guest/User should be able to find a group or an event which he/she is interested in.

Test Case ID: TC_2

Test Priority: High

Module Name: Tagging

Test Title: User/moderator wants to tag his/her preexisted item.

Purpose: To test whether a user/moderator create tags for his/her preexisted item.

Related Requirements: Requirements 1.1.1.5.1.1, 1.1.1.5.1.2, 1.1.3.5, 1.2.1.2, 1.2.5.1

Test Designed By: Murat Toygar

Test Design Date: 07/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

User/moderator should have an existing taggable item.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 View his/her preexisted item A valid user with preexisted taggable item. N/A N/A N/A N/A
2 Edit the post A valid user with preexisted taggable item. User can edit the post. N/A N/A N/A
3 Add a tag tag= "chess" The chess tag will be added among tags of the item. N/A N/A N/A

Test Case ID: TC_3

Test Priority: High

Module Name: Tagging

Test Title: User/moderator wants to tag the item while creating.

Purpose: To test whether a user/moderator can tag their item when the item creating.

Related Requirements: Requirements 1.1.1.5.1.1, 1.1.1.5.1.2, 1.1.3.5, 1.2.1.2, 1.2.5.1

Test Designed By: Murat Toygar

Test Design Date: 07/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

A valid user/moderator.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Click create new content button N/A N/A N/A N/A
2 Enter text for his/her content content = "Is there anyone who can play chess at 9 pm, tonight?" N/A N/A N/A
3 Add a tag to the content tag= "chess" N/A N/A N/A
4 Click share button The content is created with the tag chess. N/A N/A N/A

Test Case ID: TC_4

Test Priority: High

Module Name: Invitation

Test Title: User/moderator wants to invite users who permit to take invitation.

Purpose: To test whether a user/moderator send invitations to users who permit to take invitation.

Related Requirements: Requirements 1.1.3.4, 1.1.3.6, 1.1.1.4.5

Test Designed By: Burak Tomruk

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

User should be a member/attendee or be a moderator of the related group/event.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Click on the "Invite" button on the group/event page. User/moderator is directed to "Invite" window N/A N/A N/A
2 Type username to invite username="Ahmet Demir" typed username added to "Invite" window N/A N/A N/A
3 Click "Send Invitation" button Invitation is sent to "Ahmet Demir". N/A N/A N/A

Post-conditions:

New users will be notified about the invitation.

Test Case ID: TC_5

Test Priority: High

Module Name: Group

Test Title: Moderator wants to alter his/her group's privacy.

Purpose: To test whether a moderator is able to set privacy of the group.

Related Requirements: Requirements 1.1.1.4.2.1, 1.2.1.1

Test Designed By: Mert Kalaylıoğlu

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

There must exist a group.

Only moderators of a group adjust privacy of the group.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open group's home page N/A "Manage the Group" button occurs. N/A N/A N/A
2 Click the button "Manage the Group" N/A Moderator page opens. N/A N/A N/A
3 Click the button "Change Privacy" N/A "Change Privacy" window shows up. N/A N/A N/A
4 Click the button "Change Privacy" in the window privacy = "private" "Change Privacy" window closes. N/A N/A N/A
5 Log out N/A Guest view opens. N/A N/A N/A
6 Search the group N/A The group shall not be seen in the searches. N/A N/A N/A
7 Follow the steps between 1-4 and make the privacy public privacy = "public" N/A N/A N/A N/A
8 Log out N/A Guest view opens. N/A N/A N/A
9 Search the group N/A The group shall be seen in the searches. N/A N/A N/A
10 Open group's home page requestor = "guest" or "user" or "member of the group" "Manage the Group" button shall not occur. N/A N/A N/A

Test Case ID: TC_6

Test Priority: High

Module Name: Event

Test Title: Event creator wants to alter his/her event's privacy.

Purpose: To test whether an event creator is able to set privacy of the event.

Related Requirements: Requirements 1.1.1.4.1.1, 1.2.1.1

Test Designed By: Mert Kalaylıoğlu

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

There must exist an event.

Only event creator adjusts privacy of the event.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open event's home page N/A "Change Privacy" button occurs. N/A N/A N/A
2 Click the button "Change Privacy" N/A "Change Privacy" window shows up. N/A N/A N/A
3 Click the button "Change Privacy" in the window privacy = "private" "Change Privacy" window closes. N/A N/A N/A
4 Log out and log in as not a member of the group N/A N/A N/A N/A N/A
5 Try to find the event N/A The event shall not be seen. N/A N/A N/A
6 Follow the steps between 1-3 and make the privacy public privacy = "public" N/A N/A N/A N/A
7 Log out and log in as not a member of the group N/A N/A N/A N/A N/A
8 Try to find the event N/A The event shall be seen. N/A N/A N/A
9 Open event's home page requester = "user" or "member of the group" "Change Privacy" button shall not occur. N/A N/A N/A

Test Case ID: TC_7

Test Priority: High

Module Name: Group

Test Title: Group moderator wants to warn a user

Purpose: To test whether a group moderator is able to warn a user

Related Requirements: Requirements 1.1.3.1

Test Designed By: Samed Düzçay

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

There must exist a group with a moderator, and a user in that group.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open group's home page N/A "Manage the Group" button occurs. N/A N/A N/A
2 Click the button "Manage the Group" N/A Moderator page opens. N/A N/A N/A
3 Click the button "Warn user" N/A User list window shows up; there exists all users in the group and a "Warn" button after each user. N/A N/A N/A
4 Click the "Warn" button of the first user in the window N/A User list window closes. N/A N/A N/A

Post-conditions:

Warned user gets a notification in the system and an email stating that s/he is warned in the group.

Test Case ID: TC_8

Test Priority: High

Module Name: Group

Test Title: Group moderator wants to ban a user

Purpose: To test whether a group moderator is able to ban a user

Related Requirements: Requirements 1.1.3.2, 1.1.3.1

Test Designed By: Samed Düzçay

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

There must exist a group with a moderator, and a previously warned user in that group.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open group's home page N/A "Manage the Group" button occurs. N/A N/A N/A
2 Click the button "Manage the Group" N/A Moderator page opens. N/A N/A N/A
3 Click the button "Ban user" N/A User list window shows up; there exists previously warned users and a "Ban" button after each user. N/A N/A N/A
4 Click the "Ban" button of the first user N/A User list window closes. N/A N/A N/A
5 Log out and log in as the banned user N/A User home page opens. "My Groups" window shall not contain the group. N/A N/A N/A
6 Try to find the group N/A The group shall not be seen in the results. N/A N/A N/A

Post-conditions:

Banned user gets a notification in the system and an email stating that s/he is banned from the group.

Test Case ID: TC_9

Test Priority: High

Module Name: Contribution

Test Title: User wants to add some annotation

Purpose: To test if annotations can be added properly.

Related Requirements: Requirements 1.1.1.4.1.

Test Designed By: Mehmet Hakan Kurtoğlu

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

Valid user

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open their item to be added annotation Valid item that can be added annotation N/A N/A N/A N/A
2 Click the add annotation button N/A N/A N/A N/A N/A
3 Type annotation text="some annotation" N/A N/A N/A N/A

Test Case ID: TC_10

Test Priority: High

Module Name: Content

Test Title: User wants to post something on a group page.

Purpose: To test if a user could create a post without any problems.

Related Requirements: Requirements 1.1.1.4.1, 1.2.3.1

Test Designed By: Onur Orhan

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions: User should be a member of the particular group

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open group page Redirected to group page with the create content button
2 Click the Create New Content button Content creation window opens
3 Enter text content = “Could you find what Kasparov played here?”
4 Click the Add Image button Image URL box opens up
5 Write URL url = imageUrl
6 Add a tag tag = “Kasparov”
7 Click the Share button The desired content is posted on the group page

Test Case ID: TC_11

Test Priority: High

Module Name: Group

Test Title: User wants to create an interest-specific group.

Purpose: To test if a user could create a group without any problems.

Related Requirements: Requirement 1.1.1.4.2

Test Designed By: Hatice Esra Aydemir

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions: Valid User

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Click the create group button on the main page N/A Create group page opens N/A N/A N/A
2 Enter group name content = "Chess" N/A N/A N/A N/A
3 Click the upload an image button N/A Image URL box opens up N/A N/A N/A
4 Enter group info content = “This group is for all chess players.” N/A N/A N/A N/A
5 Click the add tags button N/A Add tags box opens up N/A N/A N/A
6 Click the invite button N/A Invite box opens up N/A N/A N/A
7 Click create group button N/A Newly created group page of "Chess" group opens N/A N/A N/A

Test Case ID: TC_12

Test Priority: High

Module Name: Group

Test Title: User wants to create an event

Purpose: To test if a user could create an event successfully.

Related Requirements: Requirements 1.1.1.4.1

Test Designed By: Mehmet Çalım

Test Design Date: 08/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

There must exist a group with a user in that group.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open group's home page N/A "Create Event" button occurs. N/A N/A N/A
2 Click the button "Create Event" N/A Create Event page opens. N/A N/A N/A
3 Enter event name content = "Seminar" N/A N/A N/A N/A
4 Enter city of Place content = "İstanbul" N/A N/A N/A N/A
5 Choose a place N/A N/A N/A N/A N/A
6 Enter starting date content = "10/06/2017 09:30" N/A N/A N/A N/A
7 Enter end date content = "10/06/2017 12:30" N/A N/A N/A N/A
8 Enter Event info content = "The seminar is organized for guiding beginner players." N/A N/A N/A N/A
9 Click the button "Invite your friends or other people" N/A Invite window opens. N/A N/A N/A
10 Click the button "Create Event" N/A Event page of "Seminar" opens with the right information N/A N/A N/A

Test Case ID: TC_13

Test Priority: High

Module Name: Group

Test Title: User wants to follow a group.

Purpose: To test whether a user is able to follow a group.

Related Requirements: Requirements 1.1.1.4.5

Test Designed By: Uğurcan Arıkan

Test Design Date: 09/05/2017

Test Executed By: N/A

Test Execution Date: N/A

Pre-conditions:

A valid user who is not already following the group.

Steps Test Steps Test Data Expected Result Actual Result Status (Pass/Fail) Notes
1 Open the group page N/A "Follow" botton appears on the screen N/A N/A N/A
2 Click the "Follow" button N/A "Follow" button changes to "Following" sign N/A N/A N/A

Post-conditions:

User will start to follow the group.