TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

TestCases

ATM ( Automated Teller Machine ) Test cases

Test Cases

Overview

In this post, we will learn how to write ATM test cases. ATM test cases in this tutorial are not verbose to list out all the test cases. The main aim of the tutorial is to make you learn how to write test cases on your own.

In the olden days, customers had to visit the bank home branch with a passbook to perform banking transactions. Nowadays, with expanding metropolitan city limits, changing lifestyles, and increasing traffic; visiting the bank for every transaction is quite an overhead for the bank customer in terms of effort, time, interest and other logistics.

ATMs were introduced with the purpose to service the customers without bank staff and a bank branch facility. Most ATMs work 24/7 for their customers, unlike the bank branches.

What is an ATM?

https://www.testingdocs.com/atm-system-components/

ATM Use Cases

Identify the main ATM Actors that interact with the ATM system. Ask yourself questions like:

  • Who are the Actors of the System?( Customer, ATM Technician, etc)
  • Why the actor uses the system?
  • What is the main intended purpose of the system for the actor?
  • What are the business goals and business value of the system for the actors?

 

https://www.testingdocs.com/atm-use-cases/

ATM Test Cases

With Card

A bank customer performs ATM transactions by inserting a plastic Debit/ Credit Card provided by the Bank. The Customer authenticates for every ATM transaction using ATM PIN. ATM PIN is a secret personal identification number only known to the customer.

Cardless Transactions

To simply the process for withdrawing cash bank’s also provide Cardless cash withdrawal through an ATM using Bank’s Mobile Application. Customer need not carry debit card or remember PIN with this process.

Functional Test Cases

Understand the main functionality of the application under test in this ATM. What is the main intended purpose of the application or system. The main purpose of an ATM is to provide banking services to its customers without the need for them to visit the bank. ATMs are deployed at convenient places by the bank like busy shopping centers, office parks etc.

Test Case in Table Format

Card Authentication

Test Case NameTest Case Detailed StepsTest DataExpected ResultActual Result
Verify ATM Card Authentication.

Preconditions

User has a valid ATM Debit/Credit Card.

ATM card placed in the card reader slot correctly.

Steps

  • Enter correct PIN.
  • Validate user account.
 

Valid Debit/Credit Card

ATM PIN

 

Successful User Authentication.

Verify that the user is able to access the bank account.

Based on the format you can write test cases for

  • Cash Withdraw, Cash Deposit.
  • Cheque Deposit, Print Statement ATM test cases

Card Types

Verify that the ATM should accept all supported ATM debit and credit cards. Verify

  • Unsupported cards
  • Expired cards
  • Disabled Cards, etc

Account Types

Verify ATM with different account types like Savings account, Checking account, Current account etc.

ATM PIN Change

Test Case NameTest Case Detailed StepsTest DataExpected ResultActual Result
Verify ATM PIN ChangePreconditions

User has a valid ATM Debit/Credit Card.

ATM card placed in the card reader slot correctly.

Steps

  • Enter correct PIN.
  • Click on the Change PIN screen option.
  • Enter new PIN.
  • Confirm the new PIN. Re-enter new PIN
  • Click OK button.
Valid Debit/Credit Card

Old ATM PIN:1223

New ATM PIN:6775

ATM PIN should be changed and saved successfully.

Cardless Transactions

Testcase to verify Cardless cash withdrawal.

Test Case NameTest Case Detailed StepsTest DataExpected ResultActual Result
Verify Cardless ATM Cash withdrawalPreconditions

User has installed Bank’s Mobile App from App store/Play store on his/her Mobile device.

Steps on Mobile App

  • Login to Mobile App.
  • Click Cardless Cash Withdrawal.
  • Enter Amount and Temporary PIN.
  • Submit the request in the Mobile App.
  • Note down the Transaction Number.

Steps on ATM

  • Select Cashless withdrawal ATM option.
  • Enter customer’s Mobile number, Transaction number, Temp PIN and Amount.

 

Valid Customer with Mobile App registered.

 

All fields must match with Mobile App and ATM transaction

 

ATM should dispense the required Amount successfully.

The above is a Happy Path testcase for cardless transaction. We can write several testcases for cardless transactions.

 

ATM keypad and Touch screen testcases.

Card Slot

Verify that the ATM Card slot is as per the specification.

Cash dispenser test case

Verify that the Cash dispenser should wait for the specified amount of time as per the specification.

Valid Denominations

Verify Error message if user enters invalid denominations, ATM should display an error message. For example, if the valid denominations for the ATM are 100, 500, 1000.

If user enter withdrawal amount as: 250. ATM should display an error message with Retry option on the screen.

Out Of Cash 

Verify cash withdraw when ATM is out of cash. An appropriate error message should be displayed.

Cancel Transaction

Verify that the ATM transaction should be cancelled, when the user clicks on the cancel button.

Test case Tool

We use tools to manage test cases for the application. Adding Test cases to Test Management Tool

Sample ATM Test Case in TestLink:

 

ATM Sample Test Case

https://www.testingdocs.com/testlink-introduction/

GUI Test Cases

GUI is an acronym for Graphical User Interface. The graphical interface through which the user of the application interacts with the system. GUI elements depend on the system design. Common GUI elements are:

Menu, Windows , Popups
Textboxes, Labels, Links, Text , Fonts
Buttons, Checkboxes
Images/Videos
Dropdowns,  Error dialog boxes etc.

GUI Testcases verify the functionality of the ATM that is visible to the user. For Example, ATM Screen test cases.

ATM Screen GUI

Test Case NameTest Case Detailed StepsTest DataExpected ResultActual Result
Verify ATM Screen Labels, ButtonPreconditions

User has a valid ATM Debit/Credit Card.

ATM card placed in the card reader slot correctly.

Steps

  • Enter correct PIN.
  • Examine the ATM Screen GUI.
Valid Debit/Credit Card

ATM PIN

Verify that the Buttons, Labels, Menus, Text, Colors, Error messages  are displayed clearly.

Verify that the text on the ATM Screen is clearly visible and easy to read.

Error messages

Verify all the error messages for the ATM. ATM displays error messages on error conditions, user mistakes, technical problems etc.

Verify error message for Wrong ATM PIN to the user.

Error message when user attempts to withdraw amount greater than the  balance amount with no overdraft facility.

withdraw amount > account balance.

Security Test cases

Invalid User with Stolen ATM Card

Test Case NameTest Case Detailed StepsTest DataExpected ResultActual Result
Verify ATM Card Protection.

Preconditions

Malicious User has a valid ATM Debit/Credit Card.(The actor is malicious possible stolen ATM card simulation test case)

ATM card placed in the card reader slot correctly.

Steps

  • Enter incorrect PIN 3 times.
  • Attempt another PIN entry.
Valid Debit/Credit Card

Invalid PIN 3 attempts.

Valid PIN:3457

Invalid PIN:

1234

4567

8975

Verify that the ATM card is blocked.

Post-condition

Card Block Message/Notification Sent to the User.

 

Encryption

Verify that the communication between ATM and the bank server is encrypted. Card number, expiry date, card holder name, PIN should be encrypted.

ATM Skimming

ATM Skimming is the type of ATM fraud that occurs when an ATM is compromised by a skimmer device. It is a type of fraud where the hacker/malicious user attaches a skimmer device to the card reader to steal ATM card data.

ATM skimmer is a device that is attached to the card reader that can be disguised to look like part of an ATM. The device is used to steal card numbers and PIN, which are then replicated to counterfeit cards by the hackers.

Testcase:
Attach a skimmer device to the card slot. Verify that the ATM detects and displays an alert message on the screen.

 

The Test Case Actual Result is to be filled by the tester after testing the test case. If the Expected Result and the Actual Result are the same the Test case is marked as Pass. If the Actual Result is not expected then the Test Case is marked as Fail. The tester needs to log a defect in the defect tracking system. ( like Bugzilla, Mantis, In-house bug tracking applications, etc).

Test Case Status: Pass /Fail /Blocked

Steps to create Test cases in Test Link:

https://www.testingdocs.com/creating-test-suite-and-test-cases-in-testlink/

Related Links

Login Page

https://www.testingdocs.com/test-cases-for-a-login-page/

Registration Page

https://www.testingdocs.com/test-cases-for-registration-page/

Related Posts

Login Page Actors

TestCases /

Test cases for a Login Page

Windows Calculator GUI Screen

TestCases /

Manual Test Cases for Calculator Application

Coffee Vending Machine

TestCases /

Simple Coffee Vending Machine Test Cases

TestCases /

Test cases Template

‹ Manual Test Cases for Calculator Application› Test cases for a Login Page

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version