Sample Use Cases
Below are 2 sample use cases for your reference. They show the amount of details that you need to provide for your Requirements Model, i.e., Phase I of the project.
Use Case #1 (From a student group project on Car Rental Application)
Use Case Name: Release a Vehicle (to a Customer)
A customer arrives to acquire the vehicle and depart for desired destination. The vehicle reservation contract is signed and the vehicle is released to the customer.
Actors: Front-Desk Clerk, Customer
Preconditions: Vehicle has been assigned to the customer
Description ("Sunny Day Scenario"):
1. A customer comes to the office to acquire a vehicle.
2. The clerk locates the vehicle reservation contract by means of the reservation number and/or customer name. [Exception: Required vehicle type is not available due to late arrivals.]
3. The customer signs the contract and the clerk gives the keys to the vehicle.
4. The clerk then marks the contract active by entering the vehicle release date (today's date) onto the vehicle reservation contract. The use case terminates at this point.
Exceptions ("Rainy Day Scenario"):
Required vehicle type is not available due to late arrivals:
Raised when the reserved vehicle is not available due to late returns. The customer is informed of the situation and told about the other vehicle types that are available. The customer is offered an incentive to accept another vehicle type. If the customer is not satisfied, the reservation is cancelled without penalty charges. The customer either accepts another vehicle type or cancels the reservation.
Postconditions: The customer departs with the vehicle and the reservation contract is marked active, or the reservation is cancelled.
Use Case #2 (From a student group project on Portfolio Management System)
Use Case Name: Purchase a New Equity
An investor with detailed information on an investment wants to record a new equity to his/her portfolio. The system will obtain an equity type selection from the investor. The system will record the information in his/her portfolio by the detailed information typed in by the investor.
An investor has purchased an equity. An investor has detailed purchase information.
- An investor has purchased a new equity. The system will require him/her to select an equity (Stock, Bond, CD, Mutual Fund, Savings, or Checking Account) and provide the necessary information.
2. If stock is selected, the investor will be required to type in the following information: stock symbol, stock name, buy date, number of shares wanting to buy, price per share, commission, type and firm. [Exception: Equity already in the portfolio]
3. If bond is selected, the investor will be required to type in the following information: bond name, buy date, capital, maturity date, and firm. [Exception: Equity already in the portfolio]
4. If Mutual Fund is selected, the investor will be required to type in the following information: fund name, buy date, amount invested, price per share, load, type, and firm. [Exception: Equity already in the portfolio]
5. If CD or Savings account is selected, the investor will be required to type in the following information: bank name, open date, capital, and yield.
6. If Checking account is selected, the investor will be required to type in the following: bank name, open date, and capital.
7. The use case concludes when an investor completes typing in related equity information.
Equity already in the portfolio:
If the investor already has an existing equity in his/her portfolio for the equity purchased, the system will allow him/her to use the Buying Existing Equity use case.
New equity added with information supplied.
Send mail to firstname.lastname@example.org