Use Case Details - nsu-loop/nsu-loop-application GitHub Wiki

Use Case Name: Find

Actor: Registered User

Description:

  • Login to the account. In case of new user, create account first.
  • Can search with user name, location and organization/institution, then will show the related users accordingly to search section.
  • Can go to users profile from search.

Exception:

  • No database connection.
  • No result found.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Search result has successfully shown.
  • Post update unsuccessful – Stay in the same page showing error message to user.
  • Exception – Stay on the same page if possible.

Use Case Name: Create Profile

Actor: Registered User

Description

  • User has to provide mandatory information such as name, NSU ID, Work Experience etc)
  • User has to upload a profile photo
  • User can consult a HELP section while in the process.

Exception

  • No database connection
  • Profile is black
  • Profile page is not found
  • Need to login again

Pre-Condition

  • User has to register to create profile.

Post-Condition

  • If successful, display success message & show the created profile in profile page
  • If unsuccessful, display error message if User input unsupported data type

Use Case Name: Create Post

Actor: Registered User

Description:

  • Login to the account. In case of new user, create account first.
  • Can write post to the text section/upload pictures.
  • Update the post. It will show the posts/pictures to the newsfeed.
  • Bank post not allowed. Have to write/upload something.
  • Can setup privacy. To share with everyone set public, to share with friends set friends and to share with none set only me.
  • Can add picture and include caption but may decrease the picture resolution.
  • Can delete the entire post including pictures and caption.
  • Can edit the post but edited history will be present.

Exception:

  • Blank post section.
  • No database connection.
  • Required page not found.
  • Need to login again.
  • Attached file missing.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – The post/picture has successfully updated to the newsfeed.
  • Post update unsuccessful – Stay in the same page showing error message to user.
  • Exception – Stay in the same page if possible.

Use Case Name: Delete Post

Actor: Registered User

Description:

  • Login to the account first.
  • Can delete previously updated posts including pictures and caption.
  • Can’t restore the deleted posts/pictures.

Exception:

  • This post/picture has already been deleted.
  • Can’t find the post/picture.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to login to the account first.
  • Have to post/upload something before delete.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Post/picture has successfully deleted.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Add picture

Actor: Registered User, Internal Device

Description:

  • Login to the account.
  • Can add picture to a post but may decreases the picture resolution.
  • Can delete the entire post including pictures.

Exception:

  • Failed to upload the picture.
  • Attached file is missing.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – The picture has successfully updated to the newsfeed.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Add caption

Actor: Registered User

Description:

  • Login to the account.
  • Can add picture to a post and include caption.
  • Can delete the entire post including pictures and caption.

Exception:

  • Failed to upload the picture.
  • Attached file is missing.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to upload a picture first.

Post Condition:

  • Post update successful – The caption has successfully updated to the picture.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Access Home Page

Actor: Registered User

Description:

  • Login to the account. In case of new user, create account first.
  • Can view the updated post and pictures of friends.
  • Can like, comment and share the friend’s posts.
  • Can set privacy then selective only view and access the post/pictures.
  • Can remove own like, comment from a post.

Exception:

  • Image can’t be loaded.
  • The post/picture has been deleted.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Users have successfully accessed the newsfeed.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: View Post

Actor: Registered User, System

Description:

Login to the account. Can view the updated post and pictures of friends. Can like, comment and share the posts/pictures. Can set privacy then selective only view and access the post/pictures. Can remove own like, comment from a posts/pictures.

Exception:

Image can’t be loaded. The post/picture has been deleted. You are no longer allowed to view the post. No database connection. Required page not found. Need to login again.

Precondition:

Need to have an account. Need to login to the account first. Need to have relationship with other user. Need to know the privacy policy. Need to know English language to understand the instructions.

Post Condition:

Post update successful – Users have successfully accessed the posts/pictures. Post update unsuccessful – Stay in the same page showing error message. Exception – Stay in the same page if possible.

Use Case Name: Like

Actor: Registered User

Description:

  • Login to the account.
  • Can view the updated post and pictures of friends.
  • Can like posts/pictures of friends.
  • Can set privacy then selective only view and access the post/pictures.
  • Can remove own like from a post/picture.

Exception:

  • Image can’t be loaded.
  • The post/picture has been deleted.
  • You are no longer allowed to view the post.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to have relationship with other user.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Like has successful added to the post.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Unlike

Actor: Registered User

Description:

  • Login to the account.
  • Can view the updated post and pictures of friends.
  • Can set privacy then selective only view and access the post/pictures.
  • Can remove own like from a post/picture.

Exception:

  • Image can’t be loaded.
  • The post/picture has been deleted.
  • You are no longer allowed to view the post.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to have relationship with other user.
  • Need to like the post first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Like has successful removed from the post.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Comment

Actor: Registered User

Description:

  • Login to the account.
  • Can view the updated post and pictures of friends.
  • Can comment in the posts/pictures.
  • Can set privacy then selective only view and access the post/pictures.
  • Can remove own comment from a posts/pictures.

Exception:

  • Image can’t be loaded.
  • The post/picture has been deleted.
  • You are no longer allowed to view the post.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to have relationship with other user.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Comment has successfully updated in the posts/pictures.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Delete Comment

Actor: Registered User

Description:

  • Login to the account.
  • Can view the updated post and pictures of friends.
  • Can comment in the posts/pictures.
  • Can set privacy then selective only view and access the post/pictures.
  • Can remove own comment from a posts/pictures.

Exception:

  • Image can’t be loaded.
  • The post/picture has been deleted.
  • The comment has already been deleted.
  • You are no longer allowed to view the post.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to have relationship with other user.
  • Need to comment in the post first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Comment has successfully removed from the posts/pictures.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Share

Actor: Registered User

Description:

  • Login to the account.
  • Can view the updated post and pictures of friends.
  • Can set privacy then selective only view and access the post/pictures.
  • Can share the posts/pictures.

Exception:

  • Image can’t be loaded.
  • The post/picture has been deleted.
  • You are no longer allowed to view the post.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to have relationship with other user.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Users have successfully shared the posts/pictures.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Undo Share

Actor: Registered User

Description:

  • Login to the account.
  • Can view the updated post and pictures of friends.
  • Can share the posts/pictures.
  • Can set privacy then selective only view and access the post/pictures.
  • Can undo shared posts/pictures.

Exception:

  • Image can’t be loaded.
  • The post/picture has been deleted.
  • The shared post/picture has already been removed.
  • You are no longer allowed to view the post.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to have relationship with other user.
  • Need to share the post/picture first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Users have successfully removed the shared posts/pictures.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Create Account

Actor: New Users

Description

  • New Users need to create account first with personal email and password and other details.

Exception:

  • Too much user at a same time can cause server traffic.
  • Invalid email address
  • Password doesn’t meet the minimum requirements
  • If user have an account with the same email address
  • User is already logged in

Precondition:

  • Users have devices that support internet service.
  • Users have internet connection.
  • Users are familiar with web browsing and can interact with website.

Postcondition:

  • Successful: Users can create an account successfully.
  • Unsuccessful: Due to server error or heavy traffic, users can’t open the web page after signing up or getting logged in.
  • Exception – Stay in the same page if possible.

Use Case Name: Login

Actor: Registered Users

Description:

  • Registered Users have to enter their username and password and captcha for security purposes.

Exception:

  • Invalid username
  • Invalid password
  • Incorrect captcha
  • User account must be exists
  • User is already logged in

Precondition:

  • Users have devices that support internet service.
  • Users have internet connection.
  • Users are familiar with web browsing and can interact with website.

Postcondition:

  • Successful: Users can Log in
  • Unsuccessful: Due to server error or heavy traffic, users can’t open the web page after signing up or getting logged in.
  • Exception – Stay in the same page if possible.

Use Case Name: Reset password

Actor: Registered Users

Description:

  • Registered Users forget their password and have to reset it. A reset link will be sent to the email.

Exception:

  • Invalid email
  • New password criteria doesn’t meet
  • User account must be exists.

Precondition:

  • Users have devices that support internet service.
  • Users have internet connection.
  • Users are familiar with web browsing and can interact with website.
  • Users have to enter this valid registered email

Postcondition:

  • Successful: Registered Users change the password
  • Unsuccessful: Due to server error or heavy traffic, users can’t open the web page after signing up or getting logged in.
  • Exception – Stay in the same page if possible.

Use Case Name: Logout

Actor: Registered Users

Description:

  • The user clicks on “Logout” and their session is terminated. “Successfully logged out“ will pop up on screen.

Exception:

  • No database connection
  • Required page not found

Precondition:

  • Users have devices that support internet service.
  • Users have internet connection.
  • Users are familiar with web browsing and can interact with website.
  • Users have to be logged in

Postcondition:

  • Successful: User is logged out.
  • Unsuccessful: Due to server error or heavy traffic, users can’t open the web page after signing up or getting logged in and logged out.
  • Exception – Stay in the same page if possible.

Use Case Name: Friend request send and receive

Actor: Registered user

Description

  • a registered user after registering can get friend request
  • a registered user after registering can send friend request
  • a registered user after registering can accept friend request
  • a registered user Can delete friend request

Exception

Blank notification

  • No database connection.
  • Required page not found.
  • Need to login again.
  • friend request is missing
  • another user profile not found
  • stay in the same page

Pre-condition

  • Need to create an account
  • Need to do the registration
  • Need other register user in the system to make connection
  • Need to know privacy policy
  • Need to know English language
  • Users have devices that support internet service.
  • Users have internet connection.
  • Users are familiar with web browsing and can interact with website.

Post condition

  • Successful: Friend request is sent successfully
  • Unsuccessful: Friend request is not sent successfully
  • Exception: Display Error message

Use case: message send and receive

Actor: Registered user, system, database

Description

  • after registering a registered user can send message through the system
  • after registering a registered user can read message through the system
  • after registering a registered user can accept message through the system
  • after registering a registered user can delete message through the system
  • the system will notify the user if he/she gets any message
  • the database will store the messages

Exception

Blank notification

  • No database connection.
  • Required page not found.
  • Need to login again
  • Another user profile not found
  • Message send is not found
  • Empty message box is shown
  • Stay in the same page

Pre-condition

  • Need to create an account
  • Need to do the registration
  • Need other register user in the system to make connection
  • Need to know privacy policy
  • Need to know English language
  • Users have devices that support internet service.
  • Users have internet connection.
  • Users are familiar with web browsing and can interact with website.

Post condition

  • Successful: Message sending is successful
  • Un-successful: Message sending is not successful
  • Error: Error message displayed and is requested to send message request again

Use Case Name: Payment

Actor: Registered User

Description:

  • Login to the account.
  • Can make payment.
  • will get success message.
  • will get unsuccess message if any error occured.

Exception:

  • Payment can’t be loaded.
  • The provided information didn't matched with the database.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to have sufficient money in the deposit.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Users have successfully provided the payment.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Talent Poll

Actor: Registered User

Description:

  • Login to the account.
  • Can vote a user.
  • will update the particular user profile.

Exception:

  • Page can’t be loaded.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Users have successfully provided the rating.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.

Use Case Name: Jackpot

Actor: Registered User

Description:

  • Login to the account.
  • Can pick a number.
  • will show the result.
  • show winner if the guess is correct. 8 show try again if the guess is wrong.

Exception:

  • Page can’t be loaded.
  • No database connection.
  • Required page not found.
  • Need to login again.

Precondition:

  • Need to have an account.
  • Need to login to the account first.
  • Need to know the privacy policy.
  • Need to know English language to understand the instructions.

Post Condition:

  • Post update successful – Users have successfully provided the guess value.
  • Post update unsuccessful – Stay in the same page showing error message.
  • Exception – Stay in the same page if possible.