UML Model Hello I need help creating a UML Model (Unified Modeling Language) bas
ID: 3702209 • Letter: U
Question
UML Model
Hello I need help creating a UML Model (Unified Modeling Language) base on this User Story. Thank you in advance.
User Stories These are the minimum requirements for the system. Keep in mind that some of these re- quirements may imply other requirements 1. Sales As a barista, I can enter create a customer order. 1. The order form must include a menu that allows choosing the product 2. As menu items are selected, the total amount (including 10% tax) must be shown a. on the entry form b. As a barista, I can see my sales for the day. I am not allowed to see the sales figures for any other sales person or the shop as a whole 2. Manager As a manager, I can choose to review the total sales for any date range 1. The start date must be before the end date As a manager, I can review the sales figures for a particular barista As a manager, I can maintain inventory for the shop 1. a. b. c. The inventory must be modified every time there is a sale As a manager, I can manage employees (add, remove) and change their pay scale 1. d. Records for an employee who is removed must be maintained, and there must not be any errors do to the removal Part of your task, as mentioned in the requirements below, is to develop test cases to go along with the user stories. For example, a test case for creating a customer order might be "An order cannot be created for an item whose inventory count is 0".Explanation / Answer
I have tried to give all the possible test cases with their detailed description and sample input/output. I hope this works for you.
TestCase No. TestCase Name Test Case Description Step Sample input Expected Output TC1 Create a customer order Check if count = 0 Check if inventry count for an item is 0 Count: 0 No order placed TC2 Create a customer order Check if count of item = 1 Check if inventry count for an item is equal to 1 Count 1 Amount equal to Price * 1 is added to the order TC3 Create a customer order Check if count of item >1 Check if inventry count for an item is > 1 Count : 5 Amount equal to Price * 5 is added to the order TC4 Display Total Amount Display entire order Add price of all the items in the order 500, 200, 100 800 TC5 Display Todays Sales Details User try to check his own sales detail for particular date Enter the Name of Sales Person Date and Click Submit on the form SalesPerson1, 08/04/2012 1675 TC6 Display Todays Sales Details User try to check someone's elses sales detail for particular date Enter the Name of any other Sales Person, Date and Click Submit on the form SalesPerson2, 08/04/2013 Error: Sorry ! You cant view other's details TC7 LOGIN Sales Person/ Manager Enters his/ her correct username and password Enter Username and Password Abc, *** Welcome TC8 LOGIN Sales Person/ Manager Enters his/ her incorrect username and password Enter Username and Password Abc1, *** Error: You entered Incorrect Username or password TC9 Review Sales for Date range Manager Enters Start date less than End date Enter Start and End Date and Click Enter 05/04/2018, 08/04/2018 Sales for Date Range is: 21330 TC10 Review Sales for Date range Manager Enters Start date greater than End Date Enter Start and End Date and Click Enter 08/04/2018, 05/04/2018 Error: Please give proper Date Range TC11 Review sales for Particular Barista Manager enters Name/Id of Barista and clicks Submit button Enter Name/Id and Click Submit Button Abc Barista Name: Abc, 07/04/2018, Sales:200 TC12 Review sales for Particular Barista Manager enters Name/Id of Barista, who is not in the database and clicks Submit button Enter Name/Id and Click Submit Button Abc Error: Barista doesnot exist TC13 Updation in Inventory After every sale, Inventory is Updated Enter the Item Details and Complete the order ItemId, Count= Bag1, 3 In Database, count of Item Bag1 should be reduced by 3 TC14 Updation in Inventory After every sale, Inventory is Not getting Updated Enter the Item Details and Complete the order ItemId, Count= Bag1, 3 In Database, count of Item Bag1 is not reduced by 3 TC15 Add New Employee Manager enters Name, Id and other details Enter Name/Id, other details Abcde, Id123, xyzHome In the Database, a column called 'Employed' is set to True TC16 Add New Employee Manager enters Name, Id of already existing Barista Enter Name/Id, other details Abcde, Id123, xyzHome Error: Sorry ! Barista is already present TC17 Remove an Employee Manager Enters Name/Id of Barista to be removed Enter Name/Id Abcde, Id123 In the Database, a column called 'Employed' is set to False TC18 Remove an Employee Manager Enters Name/Id of Barista who is already removed Enter Name/Id Abcde, Id123 Error: Sorry ! Barista is already removed TC19 Change Pay Scale of an employee Manager enters Name, Id and new Pay Scale details Enter a name and Id and Pay scale Abcde, Id123, 900-1200 Update the PayScale details in the Database TC20 Change Pay Scale of an employee Manager enters wrong Name, Id and new Pay Scale details Enter a name and Id and Pay scale Abcce, Id123, 900-1200 Error: Sorry ! No such Barista foundRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.