Skip to content

Test Plan

Ceyhun edited this page May 8, 2017 · 12 revisions

Test Case ID : TC_Show_Pop

Reference to Requirement : 1.6.1

Case Title : Show popular heritage items

Test Case Design By: Mustafa Feyzioğlu

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • Users must be logged in.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 User enters the main page. URL Main page is displayed and popular heritage items that have bigger score and ordered by creation date are shown. --- --- ---

Postcondition(s)

  • Popular heritage items should be seen by users.

Test Case ID : TC_Show_Reco

Reference to Requirement : 1.6.2

Case Title : Show recommended heritage items

Test Case Design By: Mustafa Feyzioğlu

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • Users must be logged in.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 User enters the main page. URL Main page is displayed and recommended heritage items that have similar tags to the previously up-voted heritage items by the user are shown. --- --- ---

Postcondition(s)

  • Popular heritage items should be seen by users.

Test Case ID : TC_Create_Anno

Reference to Requirement : 1.1.2.2

Case Title : Create Annotation

Test Case Design By: Mustafa Feyzioğlu

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • Users must be logged in.
  • Heritage item (Fener Rum Patrikhanesi - Balat) exists in the system

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 User enters the heritage item's page. ID of "Fener Rum Patrikhanesi - Balat" Heritage item (Fener Rum Patrikhanesi - Balat) is displayed --- --- ---
2 User clicks "Create Annotation" button. --- Heritage item's picture is displayed --- --- ---
3 User clicks anywhere on the heritage item's picture. --- A textbox that pops up and overlays on top of your main webpage. --- --- ---
4 User enters a content. "Ortodoks kilisesinin başpiskoposluğu. İstanbul’da Fener semtindeki Aya Yorgi kilisesinde bulunduğu için Türkiye’de Fener Rum Patrikhanesi adıyla anılmaktadır.Birinci Constantinus’un (306-337) Roma İmparatorluğunun başkentini Roma’dan Bizans’a taşıması ve şehre Konstantinopolis (İstanbul) adını vermesiyle buradaki kilise başpiskoposluk mevkiine yükseldi." --- --- --- ---
5 User submits annotation. --- New annotation is added on the heritage item by the system. --- --- ---

Postcondition(s)

  • Annotation is able to seen when the cursor is on the place where annotation is pinned on the picture

Test Case ID: TC_CMT_ON_HRT

Related Requirements: Requirement 1.1.2.7

Case Title: Comment on a Heritage Item

Test Case Designed by: Mehmet Gülşen

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s):

  • User must be logged in.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 User goes to the heritage item page that they want to comment on URL Page of the relevant heritage item --- --- ---
2 User clicks on the "Make a comment" button. Comment button A text box appears --- --- ---
3 User writes a comment "This is a new comment." --- --- --- ---
4 User saves the comment Save button Success message --- --- ---

Postcondition(s)

  • The comment will be visible for all users.

Test Case ID: TC_CMT_ON_CMT

Related Requirements: Requirement 1.1.2.8

Case Title: Making a comment on another comment

Test Case Designed by: Mehmet Gülşen

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • User must be logged in.
  • User must navigate to a heritage item page.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 User clicks on a comment. ID of the comment Comment details are shown --- --- ---
2 User clicks on the reply button Reply button A text box appears --- --- ---
3 User writes a comment "This is a reply to your comment." --- --- --- ---
4 User saves their comment. Save button Success message --- --- ---

Postcondition(s)

  • The comment will be visible for all users.

Test Case ID: TC_EDIT_CMT

Related Requirements: Requirement 1.4.3

Case Title: Edit a comment

Test Case Designed by: Mehmet Gülşen

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • User must be logged in.
  • The comment that a user wants to edit must belong to that user.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 User goes to the page of the heritage item that the comment is on URL Page of the relevant heritage item. --- --- ---
2 User clicks on the edit button on the comment Edit button A textbox appears --- --- ---
3 User types in the new comment "This comment is edited for testing." --- --- ---
4 User clicks on the save button Save button Success message --- --- ---

Postcondition(s)

  • The edited comment is visible for all users.

Test Case ID : TC_Registration

Reference to Requirement : 1.1.1.2

Case Title : Register as a new user

Test Case Design By: Ceyhun Uzunoğlu

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • User must not be registered the system before with same user name or email address.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 Enter the registration page. url A web form for registration is displayed. --- --- ---
2 Type user name of the new user test_user --- --- --- ---
3 Type email address of the new user [email protected] --- --- --- ---
4 Type password of the new user ******** --- --- --- ---
5 Type password again ******** --- --- --- ---
6 Click the "sign-up" button --- Success message --- --- ---

Postcondition(s)

  • Registered user buttons should seen in the pages.

Test Case ID : TC_Basic_Searching

Reference to Requirement : 1.2.4.2

Case Title : Search heritage items' name, creator, location or semantic tags.

Test Case Design By: Ceyhun Uzunoğlu

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • User must be logged in to system.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 Enter the main page. url Main page is displayed. --- --- ---
2 Type a heritage item name in search bar Fener Rum Patrikhanesi - Balat A heritage item list that contains "Fener Rum Patrikhanesi - Balat" --- --- ---
3 Type a creator name in search bar ceyhun List of users whose names contains "ceyhun" --- --- ---
4 Type a location in search bar Istanbul List of heritage items with the location tag "Istanbul" --- --- ---
5 Click one of the list item --- Forwarded to one of that page [heritage item page or creator page] --- --- ---

Postcondition(s)

  • User should be in the page that clicked in the list which returned by the system when s/he searhed with a keyword.

Test Case ID : TC_Filtered_Searching

Reference to Requirement : 1.2.4.3

Case Title : Search heritage items' name, creator, location or semantic tags with filters, date or score range.

Test Case Design By: Ceyhun Uzunoğlu

Test Case Design Date: 08.05.2017

Test Executed By:

Test Execution Date:

Precondition(s)

  • User must be logged in to system.

Steps

Step Description Test Data Expected Result Actual Result Status Notes
1 Enter the main page. url Main page is displayed. --- --- ---
2 Type a value for date or score filter under the search bar field. Date filter: <01.01.1970 - 12.12.2018> and Score filter: <0 - 1000> --- --- --- ---
3 Type a heritage item name in search bar Fener Rum Patrikhanesi - Balat A heritage item list that contains "Fener Rum Patrikhanesi - Balat" within the given date and score range --- --- ---
4 Type a creator name in search bar ceyhun List of users whose names contains "ceyhun" within the given score range --- --- ---
5 Type a location in search bar Istanbul List of heritage items with the location tag "Istanbul" within the given date and score range --- --- ---
6 Click one of the list item --- Forwarded to one of that page [heritage item page or creator page] --- --- ---

Postcondition(s)

  • User should be in the page that clicked in the list which returned by the system when s/he searhed with a keyword.
Clone this wiki locally