Use Case Function Being Tested “Customer Report” is an Customer option when the Report “Reports” tab is pressed. Initial System State Did It Work? Press the “Customer Report” button. 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. The reports form Any other contains a button tab on the Press the that says yes GUI is “Reports” tab. “Rentable Items open Report”. A proper rentable items report is printed Rentable Reports when the Items form is “Rentable Report open. Items Report” button is pressed. “Add” is an Add option when the Customer “Customers” tab is pressed. Expected Output The reports form Any other contains a button tab on the Press the that says yes GUI is “Reports” tab. “Customer open Report”. A proper customer report Reports Customer is printed when form is Report the “Customer open. Report” button is pressed. “Rentable Items Report” Rentable is an option Items when the Report “Reports” tab is pressed. Input A rentable items report is printed that contains the item’s description, rental Press the charge, whether it is a rent to “Rentable own or an Rent to Own item, Items Report” rental period and a list of all button. of its copies and their states (on hold, on the shelf, or rented). Any other Press the tab on the “Customers” GUI is tab. open The customers form contains a button that says “Add”. yes When “Add” on the customers form is pressed, a Customers Add new form form is Press “Add”. Customer where you can open. enter customer information pops up. A new form pops up which allows for information to be entered for the customer’s yes name, phone number, and address, and contains an “Add” and a “Cancel” button. Yes, but if the customer has the same Enter name as information another for the customer, customer’s even if they The new name, phone The customer have distinct If “Add” button customer number, and with the phone is pressed, then form under address, and information you numbers, Add a new customer the press the just added the list does Customer is added to the customers “Add” button. should show up not show the database. tab is Click the in the customer second open. “Reports” tab, report. named and then click customer. “Customer However, if Report” you quit and button. restart, all of the customers are shown on the list. Enter information for the If “Cancel” customer’s The new button is name, phone customer pressed, then a number, and form under Add no new address, and the Customer customer press the customers should be “Cancel” tab is added to the button. Click open. database. the “Reports” tab, and then click “Customer The customer with the information you just added yes should not show up in the customer report. Report” button. If “Cancel” button is pressed, then Add the customers Customer formed is displayed again. The new customer form under Press the the “Cancel” customers button. tab is open. The new If “Add” button customer is pressed, then form under Add the customers the Customer form is customers displayed tab is again. open. Enter information for the customer’s name, phone number, and address, and press the “Add” button. System displays the yes customer form again. No, and the inputs in the System text fields do displays the not disappear customer form when the again. “add” button is pressed. Enter no information, and click “Add”. Try If not all of the The new leaving every information is customer possible added for the form under combination Add customer in the the blank (only Customer new customer customers customer form, an error tab is name, then message is open. only address displayed. for instance) and click “Add” after each time. An error Message should be displayed, and yes the new customer form should still be displayed. “Add Ordinary Rentable Item” and “Add Rent Add Press the to Own Item” Any other Rentable “Inventory” are options GUI tab Item tab. when the “Inventory” tab is pressed. The inventory form should pop up and contain an “Add Ordinary yes Rentable Item” and an “Add Rent to Own Item” button. When “Add Add Inventory Ordinary Rentable form is Rentable Item ” Item open. on the A new form pops up which yes allows for information to Press “Add Ordinary Rentable Item”. inventory form is pressed, a new form where you can enter new item information pops up. be entered for the item’s description, rental charge, and rental period, and contains an “Add” and a “Cancel” button. Enter information for the rentable item’s The new description, If “Add” button ordinary rental charge, is pressed, then rental item and rental Add a new ordinary form under period, and Rentable rental item is the press the Item added to the inventory “Add” button. database. tab is Click the open. “Reports” tab, and then click “Rental Items Report” button. The rentable item with the information you just added should show up in the rentable items report. Enter information for the rentable item’s The new description, If “Cancel” ordinary rental charge, button is rental item and rental Add pressed, then form under period, and Rentable no new rentable the press the Item item should be inventory “Add” button. added to the tab is Click the database. open. “Reports” tab, and then click “Rental Items Report” button. The rentable item with the information you just added should yes not show up in the rentable items report. If “Cancel” button is Add pressed, then Rentable the inventory Item form is displayed System displays the inventory form again. The new ordinary Press the rental item “Cancel” form under button. the inventory Yes, but the error message displayed if you don’t put an integer for rental period and price is “Some inputs are not integers”. It does not specify which fields should be integers though. yes again. tab is open Enter information The new If “Add” button for the ordinary is pressed, then rentable item’s Add rental item the inventory description, Rentable form under form is rental charge, Item the displayed and rental inventory again. period, and tab is open press the “Add” button. System displays the inventory form again. yes Enter no information, If not all of the and click information is “Add”. Try added for the The new leaving every ordinary ordinary possible Add rentable item in rental item combination Rentable the new form under blank (only Item ordinary the description, rentable item inventory then only form, an error tab is open rental charge message is for instance) displayed. and click “Add” after each time. An error Message should be displayed, and the new ordinary rental item form should still be displayed. yes When “Add Rent to Own Item ” on the inventory form Add Inventory is pressed, a Rentable form is new form Item open. where you can enter new item information pops up. Press “Add Rent to Own Item”. A new form pops up which allows for information to be entered for the item’s description, yes rental charge, and months till owned, and contains an “Add” and a “Cancel” button. Enter information for the rentable item’s description, rental charge, and months to The rentable item with the information you just yes added should show up in the rentable If “Add” button is pressed, then Add a new rent to Rentable own item is Item added to the database. The new rent to own item form under the inventory tab is open. own, and press items report. the “Add” button. Click the “Reports” tab, and then click “Rental Items Report” button. Enter information for the rentable item’s The new If “Cancel” description, rent to button is rental charge, own item Add pressed, then and months to form under Rentable no new rentable own, and press the Item item should be the “Cancel” inventory added to the button. Click tab is database. the “Reports” open. tab, and then click “Rental Items Report” button. The rentable item with the information you just added should yes not show up in the rentable items report. If “Cancel” button is Add pressed, then Rentable the inventory Item form is displayed again. System displays the inventory form again. yes Enter information The rent to If “Add” button for the own to is pressed, then rentable item’s Add own item the inventory description, Rentable form under form is rental charge, Item the displayed and months to inventory again. own, and press tab is open the “Add” button. System displays the inventory form again. yes If not all of the information is added for the Add Rent to Own Rentable item in the new Item Rent to Own item form, an error message An error Message should be displayed, yes and the new rent to own item form should still be The rent to own to own item Press the form under “Cancel” the button. inventory tab is open The new rent to own item form under the inventory tab is open Enter no information, and click “Add”. Try leaving every possible combination blank (only is displayed. description, then only rental charge for instance) and click “Add” after each time. displayed. The inventory form should pop up and contain an “Add Copies”, a “Number of Only the add Copies copies appears Field”, a list of selectable rentable items, and a rentable items id bar. Add Copies “Add Copies”, a “Number of Copies Field”, a list of selectable Press the Any other rentable items, “Inventory” GUI tab and a rentable tab. items id bar appear when the “Inventory” tab is pressed. Add Copies When a rentable item is selected from the list, and a number of copies is selected, and Inventory the manager form is clicks “add open. copies”, the appropriate amount of copies with unique ids is added to the copy lists. There is no number of copies field, so Select a you can’t do rentable, enter The copies this. If you hit the number 3, that you add copies, and press added should you are taken “Add Copies”. be part of the to a new pane Go to Reports report, and where you can and enter the listed as on select a rentable item’s the shelf. rentable item, id and click and enter a item report. copy id, and then a copy is added. Add Copies When a rentable item id is entered in the rentable item id field, and a number of copies is selected, and the manager clicks “add copies”, the Enter a rentable item id, enter the number 3, and press “Add Copies”. Go to Reports and enter the rentable item’s id and click item report. The inventory tab is open. The rentable item with the information There is no you just rentable item added should id field. show up in the rentable items report. appropriate amount of copies with unique ids is added to the copy lists. 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 selected in the list, and the manager clicks “add copies”, a message should pop up for each copy saying that the copy has been added and displaying the copy id. Add Copies If a nonpositive number is entered in the number of copies field, an error message is displayed. Add Copies Enter information The new If “Add” button for the ordinary is pressed, then rentable item’s rental item the inventory description, form under form is rental charge, the displayed and rental inventory again. period, and tab is open press the “Add” button. System displays the inventory form again. Yes Add Copies If not all of the information is added for the ordinary An error Message should be displayed, yes The inventory tab is open. Enter a rentable item id, enter the number 3, and press “Add Copies”. A pop up window with There is no a new copy id rentable item for 3 copies id field should pop up. The inventory tab is open. Select a rentable, enter the number 2.5, and press “Add Copies”. After that, also try -3, $4, and 0 An error message should be displayed. There is not number of copies field The new ordinary rental item form under Enter no information, and click “Add”. Try rentable item in the the new inventory ordinary tab is open rentable item form, an error message is displayed. leaving every possible combination blank (only description, then only rental charge for instance) and click “Add” after each time. and the new ordinary rental item form should still be displayed.