testCase.docx

Use Case
System
Startup
System
Startup
System
Shutdown
Function Being
Tested
System is started
when manager
launches the
program
System
automatically
read the saved file
of information, if
there is one.
System is shut
down when
manager clicks a
quit menu option
When the system
shuts down, it
automatically
saves all
information to
disk
Initial
Input
System State
System is off
System is
reading the
saved file of
information
System is on
and not
servicing a
customer
Expected
Output
Launching
System starts
the program
System brings
the saved file
of information
to display
Click a quit
System is off
menu option
System has
just been shut
down
All
information is
saved to disk
Save
System saves all
Information information to
Manually
disk at any time
System is on
and clerk
wants to save
all
information
Click to save
All
information
information is
via a menu
saved to disk
option
Check how many
copies for an item
Rent copies
a customer wishes
to rent
System is on
and clerk is
servicing a
customer
System
Shutdown
System is on
Clerk rents one or
and clerk is
Rent copies more copies to a
servicing a
customer
customer
Record the
return of
copies
System allows
clerk to record the The item is
return of one or recorded as
more copies of
not rentable
ordinary rental
System looks
at the item
Customer
and get one or
rents an item more copies
depending on
the item
One or more
copies for the
Customer
rented item
rents an item
are rented to a
customer
System
One or more records the
copies are
return of the
returned
copies and
makes the
Use Case
System
Startup
Records a
payment
Records a
payment
Report the
status
Function Being Initial
Input
Tested
System State
System is started
when manager
Launching
System is off
launches the
the program
program
items or a copy of
a rent-to-own
item
System asks a
System allows a clerk to
clerk to record a record a
monthly payment monthly
Answer yes
for a rent-to-own payment for a
item
rent-to-own
item
System allows a
System asks a
clerk to record a
clerk to
payment for an
record a
extension of the
Answer yes
payment for
rental for an
an ordinary
ordinary rental
rental item
item
System allows
System is
access to the
asked to allow
status of a
access to the Allowed
specific copy to a status of a
clerk
specific copy
Expected
Output
System starts
item rentable
System
records a
monthly
payment of
the item
System
records a
payment of
the item
Clerk acquires
the status of a
specific copy
and reports it
to a customer