0% found this document useful (0 votes)
5 views1 page

Use Case Writing Example

Use Case Writing Example

Uploaded by

Danial Khawaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Use Case Writing Example

Use Case Writing Example

Uploaded by

Danial Khawaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Use Case Name: Place Order

Brief Description: This use case represents the process where a registered customer places an order for
products they want to purchase.

Actors:

Registered Customer: The user who wants to place an order.

Preconditions:

The customer must be logged into their account.

The customer has added one or more items to their shopping cart.

Main Flow of Events:

The customer selects the "Checkout" option after reviewing the items in their shopping cart.

The system prompts the customer to confirm their shipping address and payment information.

The customer provides or confirms their shipping address.

The customer selects a payment method (e.g., credit card, PayPal) and enters the required payment
details.

The system validates the payment information and ensures it is correct.

If the payment information is valid, the system places the order and sends an order confirmation to the
customer's registered email address.

The system updates the inventory to reflect the items as "ordered."

Postconditions:

The order is placed successfully.

The customer receives an order confirmation.

Alternative Flows:

If the payment information is invalid or declined, the system notifies the customer and allows them to
retry or choose an alternative payment method.

If the customer's shipping address is invalid, the system prompts the customer to correct it.

If the customer decides to cancel the order during the checkout process, the system cancels the order
and returns the items to the shopping cart.

Exceptional Flows:

If there are technical issues during the order placement, such as a system outage, the system informs
the customer and advises them to try again later.

You might also like