Use Case Specifications
Use Case Specifications
1) Login
2) Change password
4) Create Driver
Actor Staff
Use case name Create Driver
Description For staff users to create a new driver.
Precondition User must be logged in to the system.
Postcondition A new driver is created.
Main flow 1. System displays a menu.
2. User selects Create Driver.
3. User is required to enter the new driver details.
4. System checks if each field is filled properly.
5. Each field is filled properly.
6. System displays a message confirming users action to create new
driver.
7. User confirms create new driver action.
8. New driver is created.
Alternative path
Exceptions At any point of the main flow the user wishes to cancel the creation of
new driver, the user can select cancel and the use case resumes at step 1.
5) Delete Driver
Actor Staff
Use case name Delete Driver
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name Update Driver list
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
7) Create Vehicle
Actor Staff
Use case name Create Vehicle
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
8) Delete Vehicle
Actor Staff
Use case name Delete Vehicle
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name Update Vehicle list
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name Assign Driver to Vehicle
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name Unassign Driver to Vehicle
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name Check availability of Driver
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name List all Drivers
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name List all Vehicles
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Staff
Use case name Search Driver
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions
Actor Driver
Use case name View details
Description
Precondition
Postcondition
Main flow
Alternative path
Exceptions