Test case.docx

Sam Nguyen and Jason Lee
Test Case
Use Case
Function Being Tested
Rent Item
Rent Item
Rent item
Rent Item
Record Return Item
Record Return Item
Record Payment
Record Payment
Record Payment
Report Status of Copy
Report Status of Copy
Initial System State
Input
Expected Output
Checking customer
Requesting phone
information/identification number from customer
Checking new customer
Requesting full
information from
customer
Item’s information is
Requesting items ID
displayed
System calculates total
Calculating expenses
charge
Clerk enters Id to confirm Requesting ID
item returned
Clerk enters ID to confirm Requesting ID
late returns
Record payment after
While renting item
renting item
Record payment for
After renting item
returned item
Record payment for items Processing item charge
returned late
Check if item is available
Requesting item
or unavailable
information
Phone number is put in
system
Full information of the
customer
Customer identification
retrieved
New customer
information entered
Items ID
Information displayed
Check if item is on hold
Item information
Requesting item
information
The type of item rented The amount charged
Items ID
Calculates charges
Items ID
Calculate charges + late
fee
Payment for customer
is recorded
Payment for return
item is recorded
Charges for late fee are
calculated
System displays item is
available or item is
unavailable
System displays that
item is on hold
Item information
Item information
Item information
Item information
Sam Nguyen and Jason Lee
Report Status of Copy
Check if item is with
another customer
Requesting item
information
Item information
System Startup
Program is launched
when double clicked
Program quit when “quit”
button is pressed
Data is manually saved
when “save” button is
pressed
System is off
Launch the program
System is on
Activating “quit”
button
Activating the “save”
button
System Shut Down
Save information to
disk
System is running
System displays that
item is with another
customer
System reads previous
data
System saves data and
shut down
System saves data