Test Cases for ATM Machine

Test Cases For ATM Machines: In this article, we will discuss some primary and generic positive and negative test cases for atm test cases. If you want to know more about our previously discussed test cases or scenarios. Here are those:

When testing the ATM Machine, you must test all possible scenarios. If you miss some of the test scenarios for ATM, the organization has to face a considerable loss. So when you start testing ATMs, a few things you have to keep in mind:

  • Performance
  • Accuracy
  • Reliability

Suppose you want to achieve all the above points for ATMs. In that case, you have to test each separate component, integrate testing after assembling all the elements, and finally, you need to perform performance testing.

Post On:Test Case For ATM Machine
Post Type:Test Case Template
Published On:www.softwaretestingo.com
Applicable For:Freshers & Experience
Join Our:Telegram Group

ATM Machine Images

When the interviewer asked to write the test scenarios for the ATMs, the interviewer looked at your approach to the topic without details on how to write the test case. Because no one can write the test case without any test case document, the first action is to ask for the requirement specification document before starting any test case.

Test Cases for ATM Machine

Depending on the design of the ATM terminal, the following positive and negative test cases for the ATMs can be formed. If you’re familiar with the bank’s terminal, you may notice that there are always more test cases you can check for and verify if the software functions as expected.

The more you know about any bank’s ATM terminal, the more you can write in your ATM test cases. You can also take a walk outside and check out the functionality of your debit card in a nearby ATM.

ATM Machine Test Cases Flow
ATM Machine Test Cases Flow

Note: ATM Test cases may vary from bank to bank due to how these terminals are designed. Also, each bank has its way of handling the sequence in which cash is being taken out. For example:

  • Some banks require additional PIN entry for an extra layer of security before the money is taken out. Some banks don’t allow free withdrawals from other banks’ ATMs.
  • However, the functionality of some of the ATM Machines can be visualized in general. In this post, I’m assuming a lot of functionality of ATMs, which you may or may not notice for your bank.

ATM Machine UI Testing

  • Check on the screen all labels, buttons, links & images appear correctly.
  • Check whatever is written on the screen is visible.
  • Check the application UIO is responsive.
  • Check whether the ATM Machine is a full touch screen or supports Keyboard and Touch screen functionality.

Positive Test Cases For ATM Machine

  • Check the ATM card is as per the specification document.
  • After entering the Debit/Credit card in the card, reader users should be able to select language and operations like withdrawal, language change, mini statement, and other options.
  • When an ATM card is entered into the card reader, it should verify the card.
  • Check that during any transaction, the ATM machine accepts card and pin details.
  • After successfully entering the PIN and completing the process, the user should be able to take out the money.
  • After taking out the money, the money receipt should also be printed.
  • After successfully withdrawing the amount, the user should log out from the sessions.
  • If the user wants to print the money receipt (mini statement), it should be done by following the menu options.
  • If the user enters more amounts than the account balance, then the user should get an error message.
  • The ATM should have a waiting period between the user session log out and activating another account.
  • In the ATM Machine, the user should be able to use a Master card, Visa card, and Rupay Card.
  • Verify, after the transaction, whether the printed slip has the correct information or not.
  • Verify whether the entered pin is encrypted or not.
  • Verify whether the touch functionality is working correctly or not.
  • Check whether the ATM provides all types of accounts for operations like Savings and the correct account.

Functional Test Cases For ATM Machine

  • Check if the ATM slot is working or not.
  • The user should get the unsuccessful operation message by putting the ATM card at the wrong angle.
  • Check unsuccessful operations due to an invalid account, for example, another bank ATM card or a time-expired ATM card.
  • Check the ATM screen as per the requirement document.
  • Check if the texts are visible to the user on an ATM.
  • Check the successful withdrawal operation by entering the valid PIN.
  • Check the entered pin is displayed in the encrypted view.
  • The successful withdrawal only happens after entering the language, account type, and valid PIN.
  • Check that the account should be locked upon entering three wrong pins.
  • Check whether the transaction fails by selecting an invalid account type and entering the invalid PIN.
  • Check unsuccessful withdrawal operations due to wrong denominations in ATMs,
  • Check unsuccessful withdrawal operations due to the amount being greater than the daily limit.
  • Check unsuccessful withdrawal operations due to lack of money in ATM.
  • Check unsuccessful withdrawal operations due to the amount being greater than the possible balance.
  • Check unsuccessful withdrawal operations due to transactions being greater than the daily limit.
  • Check unsuccessful withdrawal operation due to clicking cancel after inserting ATM card.
  • Check unsuccessful withdrawal operation after clicking cancel after inserting ATM card & PIN.
  • Check unsuccessful withdrawal operation after clicking cancel after the ATM inserts card, PIN & language.
  • Check unsuccessful withdrawal operation after clicking cancel after inserting the ATM card, PIN, language &account type.
  • Check unsuccessful withdrawal operation after clicking cancel after inserting the ATM card, PIN, language, account type & withdrawal operation in the ATM Machine.
  • Check unsuccessful withdrawal operation after clicking cancel after inserting ATM card, PIN, language, account type, withdrawal operation &amount to be Withdrawal in the ATM.

Negative Test Scenarios For Atm Machine

  • Check whether the ATM Machine can accept the cards and pins or not.
  • An error message should be displayed if a user enters an invalid PIN.
  • Only the user can operate if an allowed bank ATM card is entered.
  • Check if the ATM Machine can find the wrong PIN or not.
  • Check if the card is entered incorrectly; the machine should find that and display an error message.
  • If the user uses the wrong password, the account should be locked.
  • If the user lacks money, then he should receive a warning message.
  • If the user inserted an expired card, then the user should not be able to perform any action.
  • If the user inserted less than 100 amounts, the amount should not be out from the ATM Machine.
  • If the ATM Machine has dispatched the money, then the money should not again enter the ATM.
  • The machine does not accept Visa, MasterCard, or debit/credit cards.
  • A warning message should display if the user enters the wrong denominations.
  • If the user has entered more than the daily limit amount, the transaction should be canceled, and a warning message should be displayed on the screen.
  • The transaction should be canceled if the user clicks on the Cancel button.
  • Check whether an error message is displayed when the ATM has the currency.
  • Check whether an error message is displayed when there is some network issue.
  • Check whether the money released asks for user confirmation to print the transaction receipt.
  • Check during the transaction if there is some power failure or network issue, then the transaction should be marked as null, and no amount should be dispatched.

Final Words

After going through all of these test scenarios, I hope you have an idea about the ATM Machine because we are trying to cover UI, Positive, and negative test scenarios in our test cases for the ATMs. You can take the below things as a challenge and try to answer them. So, you can improve your knowledge:

This post is trying to cover ATMs’ widespread and generic scenarios. But still, we believe if you think about more situations, you may find other scenarios. Let us know in the comment section of the then-missed scene so we can update this article.

If you still want to contribute something to the testing community, share it with us at softwaretestingo.com@gmail.com.

I love open-source technologies and am very passionate about software development. I like to share my knowledge with others, especially on technology that's why I have given all the examples as simple as possible to understand for beginners. All the code posted on my blog is developed, compiled, and tested in my development environment. If you find any mistakes or bugs, Please drop an email to softwaretestingo.com@gmail.com, or You can join me on Linkedin.

1 thought on “Test Cases for ATM Machine”

  1. I need your help can you help me
    How do we do alla these operations
    Do they provide application
    Then how do we do actions like inserting card pressing buttons etc

    Reply

Leave a Comment