"Write the test cases for a vending machine.

Showing Answers 1 - 3 of 3 Answers

diyyala

  • Dec 4th, 2006
 

hi, if u r buying anything from a vending machine here r the test cases.

1. check wether the wending machine is working or not.

2.deciede which one to buy.

3.check for availability

4.check for the price.

5.insert the money in the slot.

6.press the product number.

7.collect the product.

8. collect the diffence in change .

this is all i know, if i am wrong just let me know about it . thank u.

  Was this answer useful?  Yes

diyyala

  • Dec 4th, 2006
 

if u r  filling the wending machine, here r the test cases.

1.open the wending machine.

2.check for stock .

3.fill in the slots that are empty.

4.close the door.

5.check for the lock, whether its locked or not.

6.open the money slot.

7. collect the money.

8. put some change in the slot.

9. close it and lock it.

  Was this answer useful?  Yes

raj29

  • Jun 8th, 2008
 

PRECONDITION: vending machine SHOULD BE AVAILBALE IN GOOD WORKING CONDITION BOTH FOR tea & coffee
IDDESCRIPTIONEXPECTED RESULT
1CHECK FOR PRESENCE OF 3 BUTTONS 1)SELECT, 2)YES/NO, 3)EXITSHOULD BE PRESENT
2CHECK FOR DISPLAY OF MENU CONTAINING OPTIONS 1)TEA 2)COFFEESHOULD BE PRESENT
3CHECK BY SELECTING OPTION 1)TEAOPTIONS 1)BLACK TEA 2)MILK SHOULD BE DISPLAYED
4CHECK BY SELECTING YES OPTION FOR 1)BLACK TEABLACK TEA SHOULD BE POURED INTO THE CUP BENEATH
5CHECK BY SELECTING 2)TEA WITH MILK OPTION USING YES BUTTONTEA SHOULD BE POURED WITH THE MILK
6CHECK BY SELECTING YES OPTION FOR COFFEE BUTTONCOFFEE SHOULD BE POURED INTO THE CUP BENEATH
7CHECK FOR THE PRESENCE OF HOLE FOR POURING TEA/COFFEESHOULD BE PRESENT
8CHECH BY PRESSING EXIT OPTION NO ACTION SHOULD BE TAKEN  
       

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions