Use Case Specification
Template
On
Uber
Document Version: 1.0
Date:05/11/2024
Written By: Manish Kumar (Sr Business Analyst)
High Rated BA’s Mentor
Owner
Owner
Name
Reviewed By
Approved By
Author
Description
Manish Kumar
Initial Release
Manish Kumar
Designation Sr Business
Analyst
Document History
Version
1.0
Date
05/11/2024
Note: This Document is Only for Use Case Specification Template
Learning Purpose.
Table of Contents
Guidance for Filling Out the Use Case Specification Template ................................................ 4
Use Case Specification 1: Book a Ride (Actor: Customer) .................................................... 6
Use Case Diagram: ................................................................................................................. 8
Use Case Specification 2: End Ride (Actor: Driver)............................................................... 9
Use Case Diagram: ............................................................................................................... 11
Use Case Specification 3: Manage Ride Requests (Actor: Admin)..................................... 12
Use Case Diagram: ............................................................................................................... 14
Guidance for Filling Out the Use Case Specification Template
1. Use Case ID:
a. Create a unique identifier using a standard format, such as
UC-001, UC-002, etc. This helps in tracking and
referencing the use case.
2. Use Case Name:
a. Choose a name that clearly describes the goal of the use
case. For instance, "Login to Account" or "Process
Payment."
3. Actors:
a. Identify all users or systems interacting with the use case.
Actors can be primary (initiating the action, Customer) or
secondary (supporting the action, Payment Gateway).
4. Description:
a. Provide a short overview of what the use case does,
focusing on the objective or end result. Example: "This use
case allows a customer to book a ride using the mobile
app."
5. Preconditions:
a. Describe the conditions that must be met before the use
case can be executed. For instance, "User must have an
active internet connection."
6. Postconditions:
a. Define the expected state of the system after the use case
is completed. For example, "The user is redirected to the
dashboard page."
7. Priority:
a. Determine the priority based on how critical the use case
is to the business or system's core functionality. Use terms
like High, Medium, or Low.
8. Frequency of Use:
a. Estimate how often this use case will be performed.
Example: "Multiple times per day by each active user."
9. Normal Course of Events (Main Flow):
a. Break down the standard process step-by-step:
b. Step 1: Customer opens the app.
c. Step 2: Customer enters login credentials.
d. Step 3: System verifies credentials and logs in the user.
10.
Alternative Courses (Alternative Flows):
a. List alternate paths or scenarios that may occur:
b. Alternative Flow 1: User opts for social media login.
c. Alternative Flow 2: User forgets password and uses
"Forgot Password" functionality.
11.
Exceptions (Error Flows):
a. Describe potential errors and how the system should
handle them:
b. Exception 1: If the password is incorrect, display "Invalid
credentials."
c. Exception 2: If the server is down, show "Service
unavailable. Please try again later."
12.
Includes:
a. Mention any use cases that are invoked as part of this
one:
b. Example: This use case includes "Create Account" when a
new user attempts to log in without an account.
13.
Special Requirements:
a. Highlight specific technical or performance requirements:
b. Example: "The login process should complete within 3
seconds."
14.
Assumptions:
a. Clarify any assumptions that could affect the execution of
the use case:
b. Example: "The user’s account is active and not blocked."
15.
Notes and Issues:
a. Record any additional comments or known issues that
could impact the use case:
b. Example: "If the user attempts more than three
unsuccessful logins, the account should be locked for
security reasons.
Use Case Specification 1: Book a Ride (Actor: Customer)
Use Case Name:
Actor:
Description:
Preconditions:
Postconditions:
Priority:
Frequency of Use:
Normal Course of
Events (Main Flow):
Book a Ride.
Customer: A user who wants to book a ride using the
Uber app.
This use case describes how a customer books a ride
through the Uber app by selecting their pickup and dropoff locations.
• The customer is logged into the Uber app.
• The customer has a valid payment method linked
to their account.
• The ride is successfully booked, and the customer is
assigned a driver.
• The estimated fare is displayed to the customer.
High
Multiple times daily.
User Action:
• The customer opens the Uber app and selects the
"Where to?" field.
System Response:
• The system prompts the customer to enter the
pickup location and drop-off location.
User Action:
• The customer enters the locations and chooses the
type of ride (Like, UberX, UberPool, UberBlack).
System Response:
• The system calculates the estimated fare and
displays it to the customer, along with the
estimated time of arrival (ETA) for the driver.
User Action:
• The customer confirms the ride request.
System Response:
• The system searches for an available driver and
assigns one to the customer.
• The customer is notified of the driver’s details and
ETA.
Alternative Courses: Alternative Flow 1: Customer Cancels the Ride Request
• User Action: The customer decides to cancel the
ride request before a driver is assigned.
• System Response: The system cancels the ride
without any charge if done within the allowed time
frame.
Alternative Flow 2: No Available Drivers
• System Response: The system notifies the
customer that no drivers are available and suggests
trying again later.
Exceptions:
Special
Requirements:
Assumptions:
Notes and Issues:
Payment Method Issue: If the customer's payment
method is invalid, the system prompts the user to update
it before confirming the booking.
The booking process should take less than 30 seconds.
The GPS location services on the customer's device are
enabled and accurate.
Surge pricing may apply based on demand, which should
be clearly communicated to the customer.
Use Case Diagram:
Use Case Specification 2: End Ride (Actor: Driver)
Use Case Name:
Actor:
Description:
Preconditions:
Postconditions:
Priority:
Frequency of Use:
Normal Course of
Events (Main Flow):
End Ride
Driver: A registered Uber driver who completes the trip
and ends the ride in the app.
This use case describes how a driver ends a trip after
dropping off the passenger at the specified destination.
• The driver has successfully picked up the passenger
and started the ride.
• The GPS navigation is active.
• The ride is marked as completed.
• The fare is calculated, and the passenger is notified
with the final charge.
High
Multiple times daily for each completed ride.
User Action:
• The driver reaches the drop-off location and taps
the "End Ride" button in the app.
System Response:
• The system confirms the end of the trip and
calculates the total fare based on distance and
time.
User Action:
• The driver reviews the fare details and submits the
trip for payment processing.
System Response:
• The system processes the payment from the
customer's linked account and provides a summary
of the trip to both the driver and the passenger.
Alternative Courses:
Alternative Flow 1: Incorrect Drop-off Location
• User Action: The passenger requests a change in
the drop-off location during the ride.
• System Response: The system recalculates the fare
based on the new drop-off location and updates
the route.
Alternative Flow 2: Payment Issue
•
Exceptions:
Special
Requirements:
Assumptions:
Notes and Issues:
System Response: If the payment fails (e.g., due to
insufficient funds), the system notifies the
passenger and requests an alternative payment
method.
GPS Signal Loss: If the GPS signal is lost, the system
estimates the fare based on available data and prompts
the driver to confirm the drop-off.
The fare calculation must be accurate and account for any
additional charges.
The driver’s app and GPS are functioning correctly during
the ride.
The driver must ensure the passenger has safely exited
the vehicle before ending the ride.
Use Case Diagram:
Use Case Specification 3: Manage Ride Requests (Actor:
Admin)
Use Case Name:
Actor:
Description:
Preconditions:
Postconditions:
Priority:
Frequency of Use:
Normal Course of
Events (Main Flow):
Manage Ride Requests
Admin: An individual responsible for overseeing the
operations of the Uber platform, including handling issues
with ride requests.
This use case describes how an admin manages ride
requests, resolves disputes, and assists with issues related
to bookings.
• The admin is logged into the admin dashboard.
• The admin has the necessary permissions to view
and manage ride requests.
• The ride request is successfully updated or
resolved.
• The customer and/or driver is notified of any
changes made by the admin.
Medium
As needed, based on support tickets or flagged issues.
User Action:
• The admin logs into the dashboard and accesses
the "Ride Requests" section.
System Response:
• The system displays a list of current and past ride
requests, including their status (e.g., active,
canceled, completed).
User Action:
• The admin selects a specific ride request to view its
details.
System Response:
• The system shows details such as the customer’s
name, driver’s name, pickup location, drop-off
location, and fare.
User Action:
• The admin decides to take an action, such as
canceling the ride, issuing a refund, or adjusting the
fare.
System Response:
•
The system updates the ride request accordingly
and notifies the customer and driver.
Alternative Courses: Alternative Flow 1: Ride Request Dispute
• User Action: The admin identifies a dispute related
to a ride request (Example: incorrect fare).
• System Response: The system allows the admin to
investigate the issue and make necessary
adjustments.
Alternative Flow 2: Fraudulent Activity Detected
• System Response: The system flags a ride request
for potential fraud (Example, multiple
cancellations).
• User Action: The admin reviews the flagged
request and takes appropriate action, such as
banning the user.
Exceptions:
Special
Requirements:
Assumptions:
Notes and Issues:
System Error: If the admin dashboard experiences a
technical issue, the system logs the error and notifies the
technical support team.
The admin interface must be user-friendly and provide
quick access to ride request details.
The admin has full access and permission to manage ride
requests.
High-priority requests should be highlighted in the
dashboard.
Use Case Diagram: