Thread: Wanna test vending machine

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    175

    Lightbulb Wanna test vending machine

    Hello All,

    What will be the approach if you are given to test vending machine?

    Bye,
    RT

  2. #2
    Registered User
    Join Date
    Feb 2003
    Posts
    175
    This is basically black box testing.

    Here are some ideas. Append some more, if you can..

    1. Insert dollar bill and instead of punching item code, hit return coins. Repeat the process after putting two one dollar bills.
    2. Instert two one dollar bills and hit return coins.
    3. Invalid inputs on machine's keypad.
    4. Insert foreign currency.
    5. Want to buy 75 cents worth item, then instead of inserting three quarters, insert dollar and two quarters. And hit return coins after selcting 75 cents worth item.
    6. Punch the item code which in already sold out.
    7. Want to purchase two 75cents worth item and insert two one dollar bills. Punch the item code one after the other asking for same item again. And then hit return coin.
    8. Insert $20/$100/ bills.
    9. Punch item code without putting money. My favourite.

    Bye RT

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    175
    Have I posted the question in right board?

    If not where should I post such questions???

    RT

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    It's the right board - of the ones available on this site.
    You seem to have a pretty good idea already
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    I'd forgo punching in item codes and just punch the machine until it falls over, see if the alarm goes off (As it should).

    Can you guess what I think of the (OLD) vending machines at work?

  6. #6
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    Are you writing software for a vending machine and want to know how to test it? Or is this just for fun?
    PHP and XML
    Let's talk about SAX

  7. #7
    Registered User
    Join Date
    Feb 2003
    Posts
    175
    How to test the vending machine? Treat as a black box. of course it is NOT fun...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. IDEA: A Slot Machine (aka a fruit machine)
    By ygfperson in forum Contests Board
    Replies: 0
    Last Post: 08-12-2002, 11:13 PM
  2. Vending machine
    By Unregistered in forum C++ Programming
    Replies: 6
    Last Post: 06-13-2002, 10:21 PM
  3. Load and run machine code at runtime
    By ninebit in forum C++ Programming
    Replies: 8
    Last Post: 02-27-2002, 10:26 AM
  4. test scores
    By ucme_me in forum C Programming
    Replies: 4
    Last Post: 11-14-2001, 01:48 PM