Use Case Details - Sajid231/Bengali-Newspaper GitHub Wiki
Use Case Details:
Title: Sign up
Actor: User
Scenario:
- User can view Sign up page.
Exception:
- Choosen username is not unique.
- Choosen password is too weak.
- Password doesn’t match with retype password.
Precondition:
- User must have a device with internet connectivity.
Postcondition:
- Successful: User can be able to login in the site.
- Unsuccessful: Stays in same page.
Title: Login
Actor: User
Scenario:
- User can view Login page.
Exception:
- Username is not correct.
- Password is not correct.
Precondition:
- User must have a device with internet connectivity.
- User must have signed up.
Postcondition:
- Successful: User can access the site.
- Unsuccessful: Stays in same page.
Title: Voice Search
Actor: User
Scenario:
- User is logged in.
- User has clicked on voice seach button.
- User will speak their desired words.
Exception:
- The site was not given permission to access microphone.
Precondition:
- User must have a device with internet connectivity.
- User must have a microphone.
Postcondition:
- Successful: User will be shown the search result.
- Unsuccessful: Stays in same page.
Title: Dashboard
Actor: User
Scenario:
- User is logged in to the system.
Exception:
- API is too busy.
Precondition:
- User must have a device with internet connectivity.
Postcondition:
- Successful: User will be shown the dashboard page.
- Unsuccessful: Same page will be redirected.
Title: Listen to News
Actor: User
Scenario:
- User has clicked on a details button of a specific news.
Exception:
- The site was not given permission to access microphone.
- API couldn’t convert the text to audio.
Precondition:
- User must have a device with internet connectivity.
- User must have a speaker.
Postcondition:
- Successful: User will be able listen the specific news.
- Unsuccessful: Stays in same page.
Title: Check News Source and Time
Actor: User
Scenario:
- User has clicked on source button.
Exception:
- The site couldn’t load source and time.
Precondition:
- User must have a device with internet connectivity.
- User must be logged in.
Postcondition:
- Successful: User will be shown the source and time.
- Unsuccessful: Stays in same page.
Title: Reset Password
Actor: User
Scenario:
- User has clicked on Reset Password from Login page.
Exception:
- Email is not matched with any associated account.
Precondition:
- User must have a device with internet connectivity.
- User must be signed up.
Postcondition:
- Successful: User will be given a link to reset their password.
- Unsuccessful: Stays in same page and ask user to input the email again.
Title: Logout
Actor: User
Scenario:
- User has clicked on logout button.
Exception:
- The site couldn’t log out.
Precondition:
- User must have a device with internet connectivity.
- User must be logged in.
Postcondition:
- Successful: User will be logged out of the system.
- Unsuccessful: Stays in same page.