Skip to content

Use Cases

mustafafeyzioglu edited this page Mar 9, 2017 · 13 revisions

USE CASES

Use Case 1: Register

  • Actors: Unregistered User
  • Purpose: Signing up to system.
  • Preconditions:
    • User must be unregistered to system.
    • User's email address should not be in the database that keep registered users accounts.
    • User must give an e-mail address and password.
  • Action Items:
    • Users clicks "Sign Up" button.
    • Sign up page is shown.
    • User should fill the signing up form that includes name, surname, email, unique username and password spaces.
    • User clicks "Send" button after filling the sign-up form.
    • System takes the information and processes it.
    • An activation e-mail will be sent to the given e-mail address.
  • Post-conditions:
    • The account for this user will be created.
    • User should verify his account by clicking the confirmation link in the email, sent by system.
  • Constraints:
    • Given password must be at least 8 characters, at most 15 characters.

Use Case 2: Login

  • Actors: Registered User
  • Purpose: Signing in to system.
  • Preconditions:
    • User must have a verified account.
  • Action Items:
    • User clicks "Sign In" button.
    • Sign in page is shown.
    • User should enter username/email and password.
    • User clicks "Log-in" button.
    • System takes the information and processes it.
  • Postconditions:
    • User should sign in to system.
    • System should direct the user to the homepage.

Use Case 3: Creating a Heritage Item

  • Actors: Registered User
  • Purpose: Creating a cultural heritage item.
  • Preconditions:
    • User must be logged in.
  • Action Items:
    • Users clicks "Create Item" button.
    • Heritage item creation page is shown.
    • User types a title for the heritage item.
    • User types the relevant information on their respective areas.
    • User uploads the multimedia items if there are any.
    • User clicks "Save changes" button.
    • System takes the information and processes it.
  • Postconditions:
    • The item is created.
    • If the process is successful, the user is directed to the item page.

Use Case 4: Search

  • Actors: Registered and Unregistered User
  • Purpose: Searching a query
  • Preconditions: None
  • Action Items:
    • User opens the website.
    • User types the query on search bar.
    • User clicks "Search" button or "Enter" key.
    • System returns with a result page.
  • Postconditions:
    • If there is a result, it is shown in result page in a list.

Use Case 5: Rating

  • Actors: Registered User
  • Purpose: Rating a cultural heritage item to show people how this item is satisfactory.
  • Preconditions:
    • System shall provide the rating system.
  • Action Items:
    • User enters a cultural heritage item page.
    • User clicks "Upvote" or "Downvote" button.
  • Postconditions: None.

Use Case 6: Edit Profile

  • Actors: Registered User
  • Purpose: User to change his/her profile information.
  • Preconditions:
    • User must have a registered account.
  • Action Items:
    • Registered user clicks on "Profile Page" button.
    • Registered user clicks on "Edit" button.
    • Registered user changes any informations and clicks "Update" button.
  • Postconditions:
    • If the new information is valid, system updates the profile page with the given information.
    • If the new information is invalid, system warn the user about the invalid information and doesn’t update.

Use Case 7: Share a Heritage Item

  • Actors: Registered User
  • Purpose: Share a heritage item on social platforms for everyone's knowledge.
  • Preconditions:
    • User must be logged in.
  • Action Items:
    • User goes to page where heritage item is.
    • User clicks the one of the "Share" buttons such as Twitter, Facebook,etc.
    • System creates an Url for the item and connects the API of the platform chosen.
  • Postconditions: None.

Use Case 8: Make an Annotation

  • Actors: Registered User
  • Purpose: Making an annotation to an existing heritage item.
  • Preconditions:
    • User must be logged in.
  • Action Items:
    • User opens heritage item page that user wants to make an annotation.
    • User clicks "Annotate" button.
    • User marks a certain point on the image.
    • User adds text to annotate.
    • User clicks "Save" button.
  • Postconditions:
    • System updates heritage item page with new annotations.
Clone this wiki locally