Docsity

usecase-online travel website, Cheat Sheet of Software Engineering

Toggle sidebar
bg1
Use case: Login
Brief Description: Admin logs into the system by entering email and password.
Primary actors: Admin
Preconditions: Admin should have an account and internet connection.
Main Flow:
1. Admin open website.
2. Enter email and password
3. System checks if the email and password are correct.
4. System displays the dashboard page.
Post condition: Admin logged in to his/her account
Alternative:
3a. if password and email is incorrect
3a1. System displays incorrect password or email
3a2. Display login page
3b. user does not have an account
3b1. System displays a message to create an account
3b2. System shows signup page.
Use case: Add package
Brief Description: Admin can add packages in system
Primary actors: Admin
Preconditions: Admin should have an account and he/she should be logged in.
Main Flow:
1. Admin open website and log in.
2. System display dashboard.
3. Admin click on manage package option.
4. System displays the manage package page.
5. Admin can view list of packages
6.Admin click on add button
7. System displays add package page.
8. Admin add package and click on submit button
9. System will display manage package page
Post condition: Package is added
Alternative:
6a. if add button is not working
pf3

Partial preview of the text

Download usecase-online travel website and more Cheat Sheet Software Engineering in PDF only on Docsity!

Use case: Login Brief Description: Admin logs into the system by entering email and password. Primary actors: Admin Preconditions: Admin should have an account and internet connection. Main Flow:

  1. Admin open website.
  2. Enter email and password
  3. System checks if the email and password are correct.
  4. System displays the dashboard page. Post condition: Admin logged in to his/her account Alternative: 3a. if password and email is incorrect 3a1. System displays incorrect password or email 3a2. Display login page 3b. user does not have an account 3b1. System displays a message to create an account 3b2. System shows signup page. Use case: Add package Brief Description: Admin can add packages in system Primary actors: Admin Preconditions: Admin should have an account and he/she should be logged in. Main Flow:
  5. Admin open website and log in.
  6. System display dashboard.
  7. Admin click on manage package option.
  8. System displays the manage package page.
  9. Admin can view list of packages 6.Admin click on add button
  10. System displays add package page.
  11. Admin add package and click on submit button
  12. System will display manage package page Post condition: Package is added Alternative: 6a. if add button is not working

6a1.Admin click on booking in header. 6a2.System displays booking page. 6a3. Admin fill form and click on submit 6a4.System displays home page Use case: view package Brief Description: Admin can view all packages which are in database Primary actors: Admin Preconditions: Admin should have an account and he/she should be logged in. Main Flow:

  1. Admin open website and log in.
  2. System display dashboard.
  3. Admin click on manage package option.
  4. System displays the manage package page.
  5. Admin can view list of packages Post condition: Admin cam perform different function oi list of packages Alternative: none Use case: Delete package Brief Description: Admin can delete packages in system Primary actors: Admin Preconditions: Admin should have an account and he/she should be logged in. Main Flow:
  6. Admin open website and log in.
  7. System display dashboard.
  8. Admin click on manage package option.
  9. System displays the manage package page.
  10. Admin can view list of packages
  11. Admin click on delete button
  12. system will delete the package
  13. System will display manage package page. Post condition: package is deleted. Alternative: none Use case: Edit package