Information system writing assignment.

Rock1027
example.pdf

Use Case Description Example, INFO 355, Il-Yeol Song

1

 Use case template example for VRS: Process Rent

USE CASE # 1

USE CASE Name Process Rent

Scenario Actor checks out at a store

Trigger The use case starts when a staff begins to process rentals of movie items

ACTOR Staff

Goal (1 phrase) Capture rental items along with payment.

Overview and scope A store employee checks out items for a customer by calculating due dates and correct charges. The use case also checks for any

overdue items. The store employee accepts payments for the

items and any late payments. A rental slip is issued and kept by

the store employee.

Level Primary

Stakeholders Customers

Preconditions The staff is logged into the system. Each rental item has a correct identifier.

Post conditions (write in passive and

past tense)

(1) Object creation and deletion

(2) Attribute value changes

(3) Object linking

The Rental transaction object was created.

The Due dates and Charges were correctly calculated and stored.

The Movie items were marked as rented.

For the Movie Title, Number of available copies was reduced by

the Number of items rented in that transaction.

Payment object was created

Payment amount and date were recorded.

Rented items were associated with the customer.

Payment was associated with the customer. [E1]

Included Use Cases Validate Customer

Pay fee

Check overdue

THE MAIN

SUCCESSFUL

SCENARIO in

numbered sequence

Reference “included

use cases” in this

section using

INCLUDE iuc_name

Actor Action System Action

1. The staff begins to

process rentals of movie

items

2. If current customer, the

staff verifies customer status

by ID card.

3. System finds Customer

information [E2]using the ID

number.

4. System displays Customer

information[E3].

5. INCLUDE Check_overdue[E4]

Use Case Description Example, INFO 355, Il-Yeol Song

2

6. If there is any overdue item,

system displays Overdue

information.[E5]

7. The staff identifies each

rental item to be checked

out.

8. System stores rental information

and transaction.

System determines the Total rental

charges and the Due date.

9. System displays Title, Due date,

and the Rental charge for each

rental item.

10. Once all the rental data

are entered, the staff

indicates to the system that

the transaction order is

completed.

11. System records transaction

Date, Return due date, calculates

taxes, and displays the Total rental

fee. Any Overdue charges are

applied to the customer’s Current

outstanding balance.

12. Customer pays the

charges. Staff initiates the

payment processing.

13. INCLUDE Pay fee

14. If successful, inventory is reduced for each Rental item.

Also, a receipt is printed.

15. System connects Rental

transaction with Customer.

System connects Rental with

Payment.

All transaction data is saved into

the database.

15. Staff gives rented items

and receipt to the customer

and files the rental slip.

OTHER

SUCCESSFUL

SCENARIOS (Specify

other successful

variations of the

normal execution

path.)

Step Branching Action

2a. If a new customer, the

staff creates an account for

the customer.

INCLUDE Validate_Customer.

3a. ID card fails. Enter ID number manually

3b. Entering ID number

fails

Search using last name and phone

number.

UNSUCCESSFUL

SCENARIOS

(erroneous scenarios)

Conditions Actions

3c Searching process failed

when using the last name or

phone number.

Abort the transaction

Use Case Description Example, INFO 355, Il-Yeol Song

3

6a Customer challenges

overdue charges.

Waive overdue charges, or reduce

overdue charges by 50% or call

management.

13a Payment fails Abort the transaction

*a cancel

Priority Primary

Frequency 500 during week days and 1000 during weekends and holidays

Other non-functional

requirements

1. All staff belong to a security group. 2. Barcode reader must be available 3. Credit card authorization must be completed in 2 seconds

Business rules and

data logic

1. Signature required for credit card transaction.

2. Credit card refunds must be applied to the credit card.

3. Rules for management override.

4. Movie item is identified by a barcode

Superordinates None

Developer Il - Yeol Song

Creation date and

last modified date

Created on: June 10, 2001

Modified on: Jan 25, 2016

Glossary  Customer information ( customer ID, name, address, phone number, and email address).

 Overdue information ( transaction number, title, check out date, due date, and late payment charge).

Other Comments