Use Case Table Design

Use Case Table

General Information

Use Case ID:

UC-01

Use Case Name:

Purchase a Book

Created By:

John Smith

Date Created:

2053-10-15

Last Updated By:

[Your Name]

Date Last Updated:

2053-10-16

Actors

  • Customer

  • Online Bookstore System

  • Payment Gateway

  • Shipping Service

Preconditions

  • Customer must have an active account with the online bookstore.

  • Customer must be logged into their account.

Postconditions

  • The purchased book is charged to the customer's credit card or other payment method.

  • An order confirmation is sent to the customer via email.

  • The book order is forwarded to the shipping service for delivery.

Main Success Scenario

  1. Customer logs into the online bookstore.

  2. Customer searches for a book using the search bar.

  3. Customer selects a book from the search results.

  4. Customer adds the selected book to the shopping cart.

  5. Customer clicks on the "Proceed to Checkout" button.

  6. Customer enters shipping information.

  7. Customer selects a payment method and enters payment details.

  8. Customer reviews the order summary.

  9. Customer confirms the order.

  10. The system processes the payment.

  11. An order confirmation is sent to the customer's email.

  12. The order is forwarded to the shipping service for delivery.

Alternative Scenarios

  • If the customer is not logged in, the system prompts the customer to log in or create an account.

  • If the selected book is out of stock, the system notifies the customer and suggests similar books.

  • If the payment fails, the system notifies the customer and prompts them to enter a different payment method.

Exceptional Scenarios

  • If the system crashes during the purchase process, the customer is notified and the transaction is rolled back.

  • If the shipping information is incomplete, the system prompts the customer to complete the details before proceeding.

Use Case Templates @ Template.net