99testsStart a job

Test cases for an ATM (practice)

These ATM test cases are a popular QA practice and interview set: inserting the card and entering the PIN, cash withdrawal and balance enquiry, wrong-PIN lockout, insufficient funds and daily limits, cash dispensing and receipts, session timeout and card retention. Download as CSV or Excel to practise writing and prioritising cases.

They assume a standard bank ATM. This is a learning set — a well-understood, high-stakes machine that teaches you to cover the money path, the security edges and the hardware failures carefully.

28 test cases18 release-blocking (P1)0 need a real phoneUpdated 2026-12-03
Show28 of 28 cases shown
Download Excel

Card & session3

ATM-01

Insert a valid card starts a session

P1functional
  1. Insert a supported, valid card

Expected: The ATM reads the card and prompts for the PIN.

ATM-02

Invalid/damaged/foreign card is rejected

P1functional
  1. Insert an unreadable or unsupported card

Expected: The ATM rejects it with a clear message and returns the card.

ATM-03

Card inserted the wrong way

P2functional
  1. Insert the card in the wrong orientation

Expected: The ATM rejects it and prompts for correct insertion; no session starts.

PIN & auth4

ATM-04

Correct PIN authenticates

P1security
  1. Enter the correct PIN

Expected: The main menu is shown; the PIN is masked during entry.

ATM-05

Wrong PIN is rejected and counted

P1security
  1. Enter an incorrect PIN

Expected: Access is denied, the attempt counts toward the limit, and the message does not reveal the correct PIN.

ATM-06

Card blocked after max wrong PINs

P1security
  1. Enter a wrong PIN up to the configured limit

Expected: The card is blocked/retained per policy and the user is told how to recover.

ATM-07

PIN entry is masked and not echoed

P1security
  1. Observe the screen and any receipt during PIN entry

Expected: Digits are masked on screen and never printed or stored in clear.

Withdrawal5

ATM-08

Withdraw a valid amount

P1functional
  1. Choose withdrawal, enter a valid multiple of the note denomination

Expected: The correct cash is dispensed, the account is debited once, and balance updates.

ATM-09

Amount not a valid multiple is rejected

P2functional
  1. Enter an amount not a multiple of available notes

Expected: The ATM rejects it with guidance on valid amounts; no dispense.

ATM-10

Insufficient funds is handled

P1functional
  1. Request more than the available balance

Expected: The transaction is declined before any dispense; no debit occurs.

ATM-11

Daily/withdrawal limit enforced

P1functional
  1. Attempt to exceed the daily or per-transaction limit

Expected: The ATM blocks it with the limit shown; cumulative limits are tracked.

ATM-12

ATM out of cash / specific denomination

P1functional
  1. Request an amount the ATM cannot dispense

Expected: The ATM informs the user and offers an alternative or cancels; no debit without dispense.

Dispense edges3

ATM-13

Cash not collected is handled

P1functional
  1. Complete a withdrawal but do not take the cash

Expected: After a timeout the cash is retracted and the account is re-credited/flagged per policy.

ATM-14

Partial/failed dispense reconciles

P1functional
  1. Simulate a jam so less than requested is dispensed

Expected: The account is debited only for the cash actually dispensed; the difference is reversed.

ATM-15

Power/network failure mid-transaction

P1functional
  1. Interrupt power/network during dispense

Expected: On recovery the transaction reconciles: either completed-and-debited or reversed, never debit-without-cash.

Balance & mini-statement2

ATM-16

Balance enquiry is correct

P1functional
  1. Choose balance enquiry

Expected: The displayed/printed balance matches the account's current balance.

ATM-17

Mini-statement prints recent transactions

P2functional
  1. Request a mini-statement

Expected: The last few transactions print correctly and match the ledger.

Other transactions2

ATM-18

PIN change works

P2security
  1. Change the PIN to a new valid value

Expected: The new PIN is accepted, validated against rules, and used for the next login.

ATM-19

Fund transfer / deposit (if supported)

P3functional
  1. Perform a supported transfer or cash deposit

Expected: The transaction completes with correct amount and reference, or is cleanly declined.

Receipt2

ATM-20

Receipt prints with correct details

P2functional
  1. Complete a transaction and request a receipt

Expected: The receipt shows the right amount, balance (masked as required), date and reference.

ATM-21

Out-of-paper is handled

P2functional
  1. Trigger a transaction when the printer is out of paper

Expected: The transaction still completes and the user is offered an on-screen/e-receipt or is warned beforehand.

Session end3

ATM-22

Session times out on inactivity

P1security
  1. Leave the session idle at a menu

Expected: The session ends and the card is returned/retained per policy; no transaction can continue without re-auth.

ATM-23

Card is returned at end of session

P1security
  1. Finish a transaction normally

Expected: The card is returned before cash where policy requires, and the session clears for the next user.

ATM-24

Cancel returns the card and stops the transaction

P1functional
  1. Press Cancel mid-transaction

Expected: The transaction aborts with no debit and the card is returned.

Usability1

ATM-25

On-screen instructions are clear

P2usability
  1. Walk through a withdrawal as a new user

Expected: Prompts are clear and legible; actions map to the correct physical keys/touch areas.

Accessibility1

ATM-26

Accessible mode / audio guidance works

P2accessibility
  1. Plug in headphones / enable accessible mode if present

Expected: Audio guidance and larger-text/contrast modes work for visually impaired users.

Security2

ATM-27

No sensitive data left on screen after exit

P1security
  1. End the session and observe the screen

Expected: The next screen shows no previous user's balance or card data.

ATM-28

Multiple failed sessions do not corrupt state

P2functional
  1. Trigger several cancelled/failed sessions in a row

Expected: Each session is independent; no leftover debit, lock, or dispense from a prior failed session.

300+ companies · 127,000+ bugs reported · 20,000 testers on real phones · since 2010 · see a sample report

Have an app to ship?

Run these cases on real phones

From ₹9,999 + GST, report in 3 business days. Our testers run your cases on the phones, laptops and browsers real Indian users own — on Jio, Airtel and Vi — and send back a verified pass/fail report.

Learning QA, or own this phone?

Earn by testing apps with 99tests

Join 20,000+ testers who run real apps on their own phones and get paid for every verified bug.

Email me new test case sets each month

One email a month. Unsubscribe anytime.

Questions

About this practice set

Why is the ATM a good practice exercise?

It has a clear money path, strong security rules (PIN, lockout, card retention), and physical failure modes (cash jam, printer out of paper, power cut) — so it teaches you to cover functional, security, negative and hardware cases and to prioritise the ones that lose money or trust.

Is this a real 99tests flow?

It is a practice set in our Practice group with calculator, pen and lift. For a real banking release, see the banking app and fund transfer test cases.

Related flows

Test these next

Run these cases on real phones.

99tests runs your test cases on the phones, laptops and browsers your users own — verified pass/fail report in 3 business days.