Function Being Use Case Tested Initial System State Input Expected Output “Customer Report” is Any other Customer an option when the Press the tab on the Report “Reports” tab is “Reports” tab. GUI is open pressed. The reports form contains a button that says “Customer Report”. A proper customer report is printed Reports Customer when the “Customer form is Report Report” button is open. pressed. A customer report is printed that contains the customer’s name, address, phone number, and any outstanding charges they have on items they have rented, including when the items were due. Press the “Customer Report” button. Any other Press the tab on the “Reports” tab. GUI is open The reports form contains a button that says “Rentable Items Report”. A proper rentable items report is Rentable printed when the Items “Rentable Items Report Report” button is pressed. Reports form is open. A rentable items report is printed that contains the item’s description, rental charge, whether it is a rent to own or an Rent to Own item, rental period and a list of all of its copies and their states (on hold, on the shelf, or rented). “Add” is an option Add when the Customer “Customers” tab is pressed. Any other Press the tab on the “Customers” tab. GUI is open “Rentable Items Rentable Report” is an option Items when the “Reports” Report tab is pressed. Press the “Rentable Items Report” button. The customers form contains a button that says “Add”. When “Add” on the customers form is Customers Add pressed, a new form form is Customer where you can enter open. customer information pops up. Press “Add”. A new form pops up which allows for information to be entered for the customer’s name, phone number, and address, and contains an “Add” and a “Cancel” button. Enter information for the customer’s name, phone The new number, and If “Add” button is customer address, and press Add pressed, then a new form under the “Add” button. Customer customer is added to the Click the the database. customers “Reports” tab, and tab is open. then click “Customer Report” button. The customer with the information you just added should show up in the customer report. Enter information for the customer’s name, phone The new If “Cancel” button is number, and customer pressed, then a no address, and press Add form under new customer should the “Cancel” Customer the be added to the button. Click the customers database. “Reports” tab, and tab is open. then click “Customer Report” button. The customer with the information you just added should not show up in the customer report. If “Cancel” button is Add pressed, then the Customer customers formed is displayed again. The new customer System displays form under Press the “Cancel” the customer form the button. again. customers tab is open. If “Add” button is Add pressed, then the Customer customers formed is displayed again. The new customer form under the customers tab is open. Enter information for the customer’s System displays name, phone the customer form number, and again. address, and press the “Add” button. If not all of the The new Enter no An error Message Add information is added customer information, and should be Customer for the customer in form under click “Add”. Try displayed, and the the new customer the leaving every new customer form, an error customers possible form should still message is displayed. tab is open. combination blank be displayed. (only customer name, then only address for instance) and click “Add” after each time. The inventory form should pop up and contain an “Add Ordinary Rentable Item” and an “Add Rent to Own Item” button. “Add Ordinary Rentable Item” and Add “Add Rent to Own Any other Rentable Item” are options GUI tab Item when the “Inventory” tab is pressed. Press the “Inventory” tab. When “Add Ordinary Rentable Item ” on Add the inventory form is Inventory Rentable pressed, a new form form is Item where you can enter open. new item information pops up. A new form pops up which allows for information to be entered for the Press “Add item’s description, Ordinary Rentable rental charge, and Item”. rental period, and contains an “Add” and a “Cancel” button. If “Add” button is Add pressed, then a new Rentable ordinary rental item Item is added to the database. Enter information for the rentable The new item’s description, ordinary rental charge, and rental item rental period, and form under press the “Add” the button. Click the inventory “Reports” tab, and tab is open. then click “Rental Items Report” button. Enter information for the rentable The new item’s description, If “Cancel” button is ordinary rental charge, and Add pressed, then no new rental item rental period, and Rentable rentable item should form under press the “Add” Item be added to the the button. Click the database. inventory “Reports” tab, and tab is open. then click “Rental Items Report” The rentable item with the information you just added should show up in the rentable items report. The rentable item with the information you just added should not show up in the rentable items report. button. The new ordinary If “Cancel” button is Add rental item System displays pressed, then the Press the “Cancel” Rentable form under the inventory form inventory form is button. Item the again. displayed again. inventory tab is open If “Add” button is Add pressed, then the Rentable inventory form is Item displayed again. The new ordinary rental item form under the inventory tab is open Enter information for the rentable item’s description, System displays rental charge, and the inventory form rental period, and again. press the “Add” button. Enter no information, and click “Add”. Try If not all of the The new leaving every information is added ordinary possible Add for the ordinary rental item combination blank Rentable rentable item in the form under (only description, Item new ordinary rentable the then only rental item form, an error inventory charge for message is displayed. tab is open instance) and click “Add” after each time. An error Message should be displayed, and the new ordinary rental item form should still be displayed. When “Add Rent to Own Item ” on the Add inventory form is Inventory Rentable pressed, a new form form is Item where you can enter open. new item information pops up. A new form pops up which allows for information to be entered for the item’s description, rental charge, and months till owned, and contains an “Add” and a “Cancel” button. If “Add” button is Add pressed, then a new Rentable rent to own item is Item added to the database. Press “Add Rent to Own Item”. Enter information for the rentable item’s description, The new rental charge, and rent to own months to own, item form and press the under the “Add” button. inventory Click the tab is open. “Reports” tab, and then click “Rental Items Report” The rentable item with the information you just added should show up in the rentable items report. button. Enter information for the rentable item’s description, The new rental charge, and If “Cancel” button is rent to own months to own, Add pressed, then no new item form and press the Rentable rentable item should under the “Cancel” button. Item be added to the inventory Click the database. tab is open. “Reports” tab, and then click “Rental Items Report” button. The rentable item with the information you just added should not show up in the rentable items report. If “Cancel” button is Add pressed, then the Rentable inventory form is Item displayed again. The rent to own to own System displays item form Press the “Cancel” the inventory form under the button. again. inventory tab is open If “Add” button is Add pressed, then the Rentable inventory form is Item displayed again. The rent to own to own item form under the inventory tab is open Enter information for the rentable item’s description, System displays rental charge, and the inventory form months to own, again. and press the “Add” button. Enter no information, and click “Add”. Try If not all of the The new leaving every information is added rent to own possible Add for the Rent to Own item form combination blank Rentable item in the new Rent under the (only description, Item to Own item form, an inventory then only rental error message is tab is open charge for displayed. instance) and click “Add” after each time. Add Copies “Add Copies”, a “Number of Copies Field”, a list of selectable rentable Any other items, and a rentable GUI tab items id bar appear when the “Inventory” tab is pressed. Press the “Inventory” tab. An error Message should be displayed, and the new rent to own item form should still be displayed. The inventory form should pop up and contain an “Add Copies”, a “Number of Copies Field”, a list of selectable rentable items, and a rentable items id bar. Add Copies When a rentable item is selected from the list, and a number of copies is selected, and the manager Inventory clicks “add copies”, form is the appropriate open. amount of copies with unique ids is added to the copy lists. Select a rentable, enter the number 3, and press “Add Copies”. Go to Reports and enter the rentable item’s id and click item report. The copies that you added should be part of the report, and listed as on the shelf. Add Copies When a rentable item id is entered in the Enter a rentable rentable item id field, item id, enter the and a number of number 3, and copies is selected, The press “Add and the manager inventory Copies”. Go to clicks “add copies”, tab is open. Reports and enter the appropriate the rentable item’s amount of copies id and click item with unique ids is report. added to the copy lists. The rentable item with the information you just added should show up in the rentable items report. Add Copies When a rentable item id is entered in the rentable item id field, and a number of copies is selected OR a rentable item is Enter a rentable selected in the list, The item id, enter the and the manager inventory number 3, and clicks “add copies”, a tab is open. press “Add message should pop Copies”. up for each copy saying that the copy has been added and displaying the copy id. A pop up window with a new copy id for 3 copies should pop up. Add Copies Select a rentable, If a non-positive enter the number number is entered in The An error message 2.5, and press the number of copies inventory should be “Add Copies”. field, an error tab is open. displayed. After that, also try message is displayed. -3, $4, and 0 Add Copies If “Add” button is pressed, then the inventory form is displayed again. The new ordinary rental item form under Enter information System displays for the rentable the inventory form item’s description, again. rental charge, and the inventory tab is open Add Copies rental period, and press the “Add” button. Enter no information, and click “Add”. Try If not all of the The new leaving every information is added ordinary possible for the ordinary rental item combination blank rentable item in the form under (only description, new ordinary rentable the then only rental item form, an error inventory charge for message is displayed. tab is open instance) and click “Add” after each time. An error Message should be displayed, and the new ordinary rental item form should still be displayed.
© Copyright 2025 Paperzz