You are on page 1of 2

Text Description: The text description of the use cases are as follows: U1: register-sales Using this use

case, the sales clerk register the sold-items, whenever a ny item is sold. Scenario 1: Mainline sequence 1. Sales clerk : select register sales option 2. System : shows message window prompting to pass the item over the barcod e reader and the weight scale 3. Sales clerk : passes item over the barcode reader and the weight scale 4. System : register the barcode and the weight along with the item type an d quantity automatically. After the completion of registration, a confirmation m essage is shown and a bill is printed out. Scenario 2 : At step 2 of the mainline sequence. 2. System : shows an error message that the barcode doesn't exist ,i.e. , the item doesn't belong to the inventory. U2: check inventory Using this use case, the manager can see the inventory details Scenario 1 : Mainline Sequence 1. Manager : select query option 2. System : prompt to enter the query 3. Manager : enters the query for checking inventory 4. System : shows the inventory details U3: update price Using this use case, the manager updates the price of an item Scenario 1 : Mainline sequence 1. Manager : select update price option 2. System : prompt to enter price and the item details 3. Manager : enters the price and the item details 4. System : updates the price of the corresponding item and shows a confirm ation message Scenario 2 : At step 4 of the mainline sequence. 5. System : shows an error message that the item doesn't belong to the inve ntory U4: print sales-statistics Using this use case, the manager can get a print out of the sales statis tics. Scenario 1 : Mainline Sequence 1. Manager : select print sales-statistics option 2. System : prints out the sales-statistics and shows a completion message

U5: update inventory Using this use case, an employee can update the inventory Scenario 1 1. 2. 3. 4. : Mainline sequence Employee : select update inventory option System : prompt to enter new supply details Employee : enters new supply details System : updates the inventory and shows a confirmation message.

Scenario 2 : At step 4 of the mainline sequence. 4. System : shows an error message that the item is duplicated, i.e. , i t already exists in the inventory.

You might also like