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
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
Customer logs into the online bookstore.
Customer searches for a book using the search bar.
Customer selects a book from the search results.
Customer adds the selected book to the shopping cart.
Customer clicks on the "Proceed to Checkout" button.
Customer enters shipping information.
Customer selects a payment method and enters payment details.
Customer reviews the order summary.
Customer confirms the order.
The system processes the payment.
An order confirmation is sent to the customer's email.
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