You are on page 1of 3

Coffee Machine test cases

Priority Test Case Prerequisites Test Steps Expected Results Actual Results Pass/Fail
Description
High User can pour a 0.5 USD inserted 1.Select Espresso flavor A new cup is filled with selected As Expected Pass
cup of espresso to the machine 2. Select amount of cups flavour
== 1
3. Press "Order"
High User can pour a 0.5 USD inserted 1.Select Chocolate flavor A new cup is filled with selected
cup of Chocolate to the machine 2. Select amount of cups flavour
== 1
3. Press "Order"
High User can pour a 0.5 USD inserted 1.Select decaffeinated A new cup is filled with selected
cup of to the machine coffe flavor flavour
decaffeinated 2. Select amount of cups
coffee == 1
3. Press "Order"
High User can pour a 0.5 USD inserted 1.Select Mochaccino coffe A new cup is filled with selected
cup of to the machine flavor flavour
Mochaccino 2. Select amount of cups
coffee == 1
3. Press "Order"
High User can pour a 0.5 USD inserted 1.Select Tea flavor A new cup is filled with selected
cup of Tea to the machine 2. Select amount of cups flavour
== 1
3. Press "Order"
Medium User will get a Empty coffe 1.Select any coffee flavor An error messagae appears
warning when bean 2. Select amount of cups "Please Fill Coffe Bean Tray".
coffe bean is == 1 Nothing is poured.
empty 3. Press "Order"
Medium User will get a No cups in the 1.Select any coffee An error messagae appears
warning when cups sleeve flavoflavorur "Please add cups to the cups
there are no cups 2. Select amount of cups tray". Nothing is poured.
in the cups sleeve == 1
3. Press "Order"
Medium User can order Correct amount 1.Select any coffee flavor A new cup is filled with selected
multiple coffe cups added according 2. Select amount of cups > flavour. Once completed new
on by one to the selected 2 cups will be poured based on
amount of coffee 3. Press "Order" amount of selected coffees
cups
Medium User can order 0.5 USD inserted1.Select any coffee flavor A new cup is filled with selected
Tea without sugar to the machine 2. Select amount of cups flavour. No sugar was added.
== 1
3. Select sugar == 0
4. Press "Order"
Medium The coffe machine Machine 1. Unplug the machine Machince is working after
will restart after connected to the from the power outlet restart. A new cup is filled with
unplugging from power outlet 2. Re connect the machine selected flavour
the electricity to the oower outlet
3. .Select any coffee
flavour
4. Select amount of cups
== 1
5. Press "Order"
Coffee Machine payments test cases
Priority Test Case Prerequisites Test Steps Expected Results Actual Pass/Fail
Description Results
High A coffee cup costs 0.5 Sufficient funds 1.Select any flavor A new cup is filled with As Expected Pass
USD 2. Select amount of cups == 1 selected flavour
3. Press "Order"
4. Insert 0.5$
High User can Pay with Sufficient funds 1.Select any flavor 1. A new cup is filled with
more than 0.5 USD 2. Select amount of cups == 1 selected flavour
3. Press "Order" 2. User recive 0.1$ change
4. Insert 0.6$
High User cant pay with Sufficient funds 1.Select any flavor An error message appears
less than 0.5 USD 2. Select amount of cups == 1 "Please insert 0.1$ more"
3. Press "Order"
4. Insert 0.4$
High User cant pay with Sufficient funds 1.Select any flavor A new cup is filled with
credit card and valid credit 2. Select amount of cups == 1 selected flavour
card 3. Press "Order"
4. Use credit card to pay
High User cant pay with non Foreign coins 1.Select any flavor An error message appears
USD coin 2. Select amount of cups == 1 "Sorry, we only accept USD"
3. Press "Order"
4. Insert 0.5 Euro or any other
foreign coin

You might also like