how to write a testcase for coke vewnding machine

Answer Posted / gauri

1. See for a message stating what value of coin it accepts.
2. See if it accepts coin.
3. put a coin see check whether it give coke.
4. put a coin see if it gives any other drink than coke.
5. Put a wrong value coin, see if it returns the coin.
6. put a wrong value coin see if it still gives coke or
something else.
7. Put something else instead of coin then check what it
does.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to access a build & wat is its configuration

1765


What is a test server?

727


Is there any procedure of web-site development in manual testing. If yes what are factors we should test?

1859


what are all the things we will include in " what to be tested and what not to be tested" in Test Plan

1649


which sanity testing is performed?

1185






.In languages testing, what is the fixed part and changing part?

1653


can anyone tell me few critical bugs in ecommerce project.

5592


Why is it impossible to test a program completely?

971


I am a ISTQB cerfity tester with 3 yrs experience(kolkata) , I left my current commpany due to some problem but since two months I did not get new job , why? is my age is 33 yrs and I am married . If anybody have any answer please let me know, my email id sangitadas1981@gmail.com/yahoo.co.in

1636


Can any one share the domain knwoldege of Telecom Jeeva jeevachr@gmail.com

2052


what do you mean by Develop test data through sourcing (or) handcrafting techniques

2372


value momentum

1279


what are the typical problems in web testing?

754


Can you explain function points?

686


What and why is api testing?

947