Professional Documents
Culture Documents
TEST CASES
Test Case 1: Stock Quantity Push Notification
Test Case 2: Add New Arrival
Test Case 3: Transfer Item Test Case
Test Case 4: Add Sales
Test Case 5: Admin Login
Test Case 6: View Sales Reports
Category
Type
Brand
Amplifier
Bass
Amplifier
Boston
Model
Supplier
BP20
20
watts
JB
Store
Code
Supplier
Code
Min.
Req
5
Store
Qty
2
Warehouse
Qty
1
Total
Qty
Store
Cost
When:
When quantity of the item is below the minimum required amount of units of the item.
Then:
A red asterisk appears on the notification icon. When notification icon is clicked, a panel
slides from the left of the screen showing all items that have quantities that need
attention.
newly arrived item has code, category, brand, model, quantity, unit cost
New Arrival Data
Date
Delivery Receipt
Waybill
Supplier
Item Code
02/15/14
100200
50287
JB
Item
Data
Item Code
Type
Brand
Model
Quantity
Unit Cost
RSP
Freight
Bass
Boston
BP20;
22
4, 700.00
5,500.00
300.00
Amplifier
20 watts
Date
02/15/14
Enter
Delivery Receipt
100200
Enter
Waybill
50287
Enter
Supplier
JB
Choose
Item Name
Enter
Item Quantity
22
Enter
4, 700.00
Enter
Item RSP
4, 700.00
Press
Submit
RSP
Supplier Waybill
Delivery
Receipt
Date
Bass Amplifier;
22
4,700.00
300
5,500.00
JB
50287
100200
02/15/14
Boston; BP20;
20 watts
Rainy Case
Given:
new arrival has waybill, delivery receipt, date, supplier, items
newly arrived item has code, category, brand, model, quantity, unit cost
New Arrival Data
Date
Delivery Receipt
Waybill
Supplier
Item ID
02/15/14
100200
50287
JB
Item
Data
Code
Category
Brand
Model
Quantity
Unit Cost
RSP
Freight
Bass Amplifier
Boston
BP20 20 watts
22
4, 700.00
5,500.00
300.00
When the item name is not on the list, the inventory maintainer will click the add item icon and
Category
Brand
Model
Bass Amplifier
Boston
BP20; 20 watts
Date
02/15/14
Enter
Delivery Receipt
100200
Enter
Waybill
50287
Enter
Supplier
JB
Choose
Item Name
Enter
Item Quantity
22
Enter
4, 700.00
Enter
Item RSP
4, 700.00
Press
Submit
RSP
Supplier Waybill
y
Bass Amplifier;
Boston;
BP20 20 watts
22
Delivery
Date
Receipt
4,700.00
300
5,500.00
JB
50287
100200
02/15/14
Amplifier
Type
Brand
Model
Quantity(Warehouse)
Quantity(Store)
Bass
Boston
BP20; 20
20
Amp
watts
When
The inventory maintainer transfers an item.
Transfer
Item
Enter
Date
Choose
Item Data
10/8/15
Category
Description
Brand
Model
Amplifier
Bass Amp
Boston
BP20; 20
watts
Enter
Quantity To Transfer
Press
Submit
10
Then
The quantity of the item in the warehouse and in the store will be updated.
Item ID Category
1
Amplifier
Type
Brand
Model
Quantity(Warehouse)
Quantity(Store)
Bass
Boston
BP20; 20
10
12
Amp
Test Case 4: Add Sales
Given:
Sold item has an item code.
watts
Bran
Mod
Suppl store_co
Supplier_co minimum_requi
Store_quant warehouse_qua
store_co
el
ier
de
ity
ntity
st
Bas
Bosto BP20
ry
0001 Amplifi
er
de
red
0001
; 20
Amp
watts
Date
01/11/2015
Enter
Product code
001
Enter
Quantity
Press
Submit
Then
Sales with auto-generated total cost will be added in the sales report.
Updated the item quantity in the store.
Report Sales
Date
Product ID
Quantity
Total Cost
10/11/15
0001
3,000
Item Data
Item Categ Typ Bran Mod Suppl store_c
ID
ory
el
000 Ampli Ba
Bost BP2
on
fier
ss
0;
Am
20
watt
s
ier
ode
0001
uired
ntity
antity
ost
1,500
ory
el
000 Ampli Ba
Bost BP2
on
fier
ss
ier
ode
uired
0001
ntity
antity
ost
1,500
0;
Am
20
watt
s
When the entered Product Code is invalid, inform the finance manager.
Add Sales
Enter
Date
01/11/2015
Enter
Product code
001
Enter
Quantity
Press
Submit
Check
Error_message
Product_Code_Invalid
Password
Dan
secret
Username
Dan
Enter
Password
Press
Submit
secret
Password
Dan
secret
Username
Dan
Enter
Password
secret
Press
Submit
Check
Error_message
Username_or_Password_is_Invalid
Item ID
Quantity
Unit Cost
Total Cost
9/23/15
1000
1000
Item Data
Item ID
Category
Description
Brand
Model
Amplifier
Frontline 15
Amplifier
15 Watts
When
User clicks on sales reports
View Sales Reports
Press
Reports
Sales
Choose
Date
9/23/15
Press
Submit
Then
The sales record will appear on the sales reports table. The data will be aggregated and
combined. The profits for the sales will appear on the table.
Sales Summary
Date PeriodTotal Items
Total Sales
P 900
Sold
9/23/15 10/23/15
Sales Reports
Sales ID
Date
9/23/15
Item ID
Category
Amplifier
Description
Brand
Nux
Model
Frontline 15 15 Watts
Quantity
Unit Cost
1000
Total Cost
1000
Actual Cost
900
Alternative 3a.
Given
No sales record is added in the database for the particular date period.
Date Period
9/23/15 10/23/15
Sales Data
(Zero rows returned)
When
User clicks on sales reports after choosing a date, a message will be displayed.
View Sales Reports
Press
Reports
Sales
Choose
Date
9/23/15
Press
Submit
Check
Message
Then
No results will appear on the reports.