Test Scenarios for a coffee vending machine?
Test
Scenarios for a coffee vending machine?
1.
Clicking on coin buttons should
deposit appropriate amount into vending machine. Ex- clicking quarter button
should deposit 25 cents.
2.
Each coin deposited – should
increase the total amount deposited by the appropriate amount.
3.
Clicking on a dollar bill – deposits
one dollar into the machine.
4.
Clicking dispense button without
enough money deposited - No pop should be dispensed.
6.
Clicking dispense button with more
money that required to buy a pop should dispense pop and return any money over
the amount required to buy pop.
7.
Clicking a counterfeit coin– coin
should be rejected and returned immediately.
8.
Clicking a counterfeit bill – bill
should be rejected and spit back out at user.
9.
Inserting money then pressing the
coin return – total amount inserted should be returned
10.
Coins return by coin return – should
be the same coins deposited. Ex. 10 nickels deposited should yield 10 nickels
returned.
11.
Inserting one dollar and pressing
dispense button with pop already in the dispenser – user should be prompted to
remove pop from the dispenser before the machine dispenses another pop.
12.
When the storage rack is empty –
pressing the dispense button with appropriate amount of money inserted will not
dispense a pop.
13.
Inserted money when storage rack is
empty – money should be returned to user.
14.
Pressing ‘r’ – brings up dialog to
enter machine ID.
15.
Entering appropriate machine ID into
the ID dialog – brings up fill machine dialog.
16.
Entering more items than the storage
rack can hold – user will be prompted that there are too many items.
17.
entering an inappropriate machine ID
into the ID dialog – closes dialog without allowing user to refill the
rack.
18.
Inserting one dollar and pressing
the dispense button – adds one dollar to total amount in the machine.
19.
Clicking dispense button with no
money inserted – user should be prompted for more money and no pop should be
dispensed.
20.
Display – vending machine should
have the following components displayed.
1.
Dispense button
2.
Coin return button
3.
Dispenser
4.
Coin return dispenser
5.
Coin slot
6.
Bill slot
7.
Message display
8.
Coke banner
Source: http://testerfriend.blogspot.in/2011/04/test-scenarios-for-coffee-vending.html
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteI have found here much useful information for myself. Many thanks to the editors for the info.
ReplyDeleteCoffee Maker
Such a quality content on coffee vending machine.! It is really very interesting. good job
ReplyDeletethank you for sharing this blog.
Coffee vending machines