CHAPTER 10 LAB

By austingndr

Use Case Template

Use Case Name:

Gas transaction with a credit card.

Use Case ID:

Customer ID

Scope:

This use case describes how you can pay for gas quick and easy.  Some pumps require the zip code registered to your card.

Stakeholders and

Interests:

Customer-needs gas to run car

Gas company-wants customer to get gas quick and easy

Primary Actor:

Customer

Preconditions:

Customer has inserted their credit or debit card.

Trigger:

Customer selects credit or debit at main menu screen.

Main Success Scenario:

1.Customer inserts credit or debit card

2.Customer chooses either credit or debit

3.Customer then chooses the grade of gas, ex.regular, plus, or premium

4.Customer then pumps how much gas they need

5.Customer hangs the pump back on the pumping station

6.Customer then takes their receipt

Extensions:

1.Customer enters invalid zip code

2.Customer’s credit card is maxed out

3.Gas pump is non-operational

Guarantee:

The gas pump is non-operational or the gas company is out of gas.

Leave a Reply