| UseCaseID: | Purchase Ticket | |
| Goal In Context: | A customer wishes to purchase the ticket for a reserved flight. | |
| Scope: | Airline Reservation System (ARS) | |
| Pre-Condition: | Actor has successfully made a reservation as documented in the "Make a Reservation" use case. | |
| Success End Condition: | A ticket has been purchased. | |
| Failed End Condition: | A ticket has NOT been purchased. | |
| Primary Actor: | Customer | |
| Trigger Event: | Selects the "Purchase Ticket" link from the list of options. | |
| Main Success Scenario | ||
| Step | Actor | Action Description |
| 1 | Customer | Selects the "Purchase Ticket" link from the list of options. |
| 2 | ARS | Displays a screen with an input field for a reservation number. |
| 3 | Customer | Enters a reservation number and clicks the "Submit" button. |
| 4 | ARS | Displays the details of the reservation. |
| 5 | Customer | Selects the "Purchase Ticket" option. |
| 6 | ARS | Displays a screen with input fields for: a credit card number, cardholder name, and credit card expiration date. |
| 7 | Customer | Enters a credit card number, the cardholder name and the credit card expiration date and clicks the "Submit" button. |
| 8 | ARS | Displays the main options screen. The message "Ticket Successfully Purchased" is also displayed. |
| Scenario Extensions | ||
| Step | Actor | Action Description |
| 3.a | Customer | Selects the "Cancel" option. |
| 3.a.1 | ARS | Displays the main options screen. |
| 5.a | Customer | Selects the "Cancel" option. |
| 5.a.1 | ARS | Displays the main options screen. |
| 7.a | Customer | Selects the "Cancel" option. |
| 7.a.1 | ARS | Displays the main options screen. |
| 7.b | Customer | Selects the "Use Credit Card on Record" option; this is illegal and hence may have to go. |
| Scenario Variations | ||
| Step | Actor | Action Description |
| None | ||