Skip to content

Use Cases

leblebi1 edited this page Apr 21, 2017 · 6 revisions

Use Case 1

Actor: User

Goal: To create a new event

Precondition: Being user and being a group member

Steps:

1. User enters the group home page.

2. User clicks on "Create a new event" button.

3. User fills event specifications and date.

4. User clicks "Create" button.

Postcondition:

The system creates new event. The other group members shall be able to see and attend the event. Also the attendees shall be able to invite other group members

Use Case 2

Actor: User

Goal: To create a group

Precondition: Being a user

Steps:

1. User enters the home page.

2. User clicks on "Create a new group" button.

3. User fills name, description, group icon, tag and privacy options.

4. User clicks "Create" button.

Postcondition:

The system creates new group. Automatically, creator is chosen moderator however moderator may appoint another user as moderator. If the privacy is set to public, then the group can be seen by anyone, if privacy is set to private, It can only be seen by users.

Use Case 3

Actor: User

Goal: To create a template

Precondition: Being a moderator of a group

Steps:

1. User enters the group home page at which the user is moderator.

2. User clicks on "Create a new template" button.

3. User fills "template name" option.

4. User fills "input name", and "input type" option as many as the user want.

5. User clicks "Create" button.

Postcondition:

The system creates new template. Posts in this group will be created according to those templates which are created by moderator.

Use Case 4

Actor: User

Goal: To edit personal page

Precondition: Being an user.

Steps:

1. User enters user homepage

2. User clicks the "edit profile" button.

3. User modifies the profile information.

4. User clicks "save" button.

Postcondition:

The system updates the profile informations of user.

Use Case 5

Actor: User.

Goal: To log in InterestHub.

Precondition: Having an account on InterestHub.

Steps:

1. User opens the home page of InterestHub.

2. User enters his/her e-mail and password to the login part of the page.

Postcondition:

If his/her email or password do not match with any account's email and password in database, it will appear an error message "E-mail or password is not correct." on the page.

Use Case 6

Actor: User.

Goal: To create a content (post/event/movie/book/new template).

Precondition: User shall have logged in InterestHub.

Steps:

1. User clicks "Create Content" button on the page.

2. User chooses type of the content (post/event/movie/book/new template).

3. User fills new content's name, description, place, date, time etc. according to content's type.

4. User clicks "Post" button.

Postcondition:

The post will be shared on user's wall or a group's wall if the user wants to post on a group's wall.

Use Case 7

Actor: User.

Goal: To post contents/comments with Tag(s).

Precondition: User shall have logged in InterestHub.

Steps:

1. User enters the tags as many as his/she wants to the seperated part for tags on the create content page or comments.

2. User clicks "Add Tag" button.

Postcondition:

The post/comment will be shared with the entered tags.

Use Case 8

Actor: User.

Goal: To delete/edit comments or posts.

Precondition: User shall have logged in InterestHub.

Steps:

1. User clicks the setting icon on his/her comment or post.

2. User clicks "Delete post/comment" if he/she wants to delete comment or post.

3. User clicks "Edit post/comment" if he/she wants to edit comment or post.

4. User edits his/her comment or post in the newly opened edit page.

Postcondition:

Comments or posts will be deleted or will be edited and posted with revised version.

Use Case 9

Actor: Guest.

Goal: To register to the InterestHub.

Precondition: none

Steps:

1. Guest enters the homepage.

2. Guest fills the registration form.

3. Guest clicks "sign-up" button.

4. Guest receives a confirmation e-mail.

5. Guest confirms his/her e-mail address.

Postcondition:

A new account is created and registered to the system.

Use Case 10

Actor: Moderator

Goal: To kick a member from a group permanently.

Precondition: Actor and the member must be in the same group. The member should have a post, which is reported by other members of the group.

Steps:

1. Moderator sees the reported posts in the group.

2. Moderator chooses the owner of a reported post to ban.

3. Moderator enters the reason of the ban, this reason will be attached to the original post.

4. Moderator clicks "ban user" button.

Postcondition:

That particular member will be kicked out of the group permanently.

Use Case 11

Actor: User

Goal: To follow another user.

Precondition: The actor should not follow the other user yet.

Steps:

1. The actor user enters to the other user's profile.

2. The actor user clicks "follow" button.

Postcondition:

The actor user will follow the other user.

Use Case 12

Actor: User / Moderator

Goal: To change privacy settings.

Precondition: Actors should be logged in. When the privacy settings of a group is changing, the actor must be a "Moderator"

Steps:

1. The user enters their profile or their post.

2. The user clicks "settings" button.

3. The user chooses what to make public or private.

4. The user clicks "confirm" button.

5. To change privacy settings of a group, the moderator enters the group's homepage.

6. The moderator clicks "settings" button.

7. The moderator chooses if the group should be public or private.

8. The moderator clicks "confirm" button.

Postcondition:

If the privacy setting of a user's profile or the user's post is public, then it can be seen to guests and users. Otherwise, it can be seen to the followers of the user.

If the privacy setting of a group is public, then the group's content can be seen by guests and users. Otherwise, the content can only be seen by the members of the group.

Use Case 13

Actor: Guest/ User

Goal: To search for an element.

Precondition: none

Steps:

1. The actor enters homepage.

2. The actor writes the keyword to the search box.

3. The actor selects what to search (i.e content, group, profile).

4. The actor clicks "search" button.

5. The user may click "advanced search" button as well, so that he/she can make an advanced search.

6. The actor sees the results.

7. The actor can sort the results.

Postcondition:

If the user makes advanced search, then he/she sees the filtered results according to his/her conditions. The guest sees normal results. The keyword will be saved to the user's search history.

Clone this wiki locally