Test Cases for ATM Machine
Hello Friends! In this post, we will study – how to write test cases for ATM machine. Of course, there are very minuscule chances that you will get to test any ATM machine but if you study these test cases, it can help you in your testing interviews.
Also, it will help you understand the process of test case creation which you can utilize while creating test cases of any kind of application.
A test case has a well-defined format including a test summary, steps to reproduce, expected result, actual result, etc. But here the focus here is to check and cover the different features to be tested instead of creating formal test cases. So we will be presenting test scenarios of ATM machines here instead of test cases.
For a formal test case document template, you can also refer to our post – Test case template (download Xls).
Now, without further delay. Let’s begin with some sample test scenarios for an ATM machine categorized on the basis of different types of testing.
Content
UI Test Scenarios for ATM Machine
The UI test cases cover the testing of the Graphical User Interface of the application under test which is an ATM machine in our case. Some UI test cases for ATM machine are-
- Verify that all the labels and controls including text boxes, buttons, images, and links are present on the screen.
- Check the informative text written displayed on the screen is clearly visible and legible.
- Verify that the size, color, and UI of the different objects are as per the specifications.
- Verify that the application’s UI is responsive i.e. it should adjust to different screen resolutions of ATM machines.
Functional Test Scenarios for ATM Machine
The functional test cases are the test cases that involve testing the different functional aspects of the application under test. Following are some functional test cases for an ATM machine-
- Verify the type of ATM machine, if it has a touch screen, both keypad buttons only, or both.
- Verify that on properly inserting a valid card different banking options appear on the screen.
- Check that no option to continue and enter credentials is displayed to the user when the card is inserted incorrectly.
- Verify that the touch of the ATM screen is smooth and operational.
- Verify that the user is presented with the option to choose a language for further operations.
- Check that the user is asked to enter a pin number before displaying any card/bank account detail.
- Verify that there is a limited number of attempts up to which the user is allowed to enter the pin code.
- Verify that if the total number of incorrect pin attempts gets surpassed then the user is not allowed to continue further. And operations like temporary blocking of the card, etc get initiated.
- Check that the pin is displayed in masked form when entered.
- Verify that the user is presented with different account type options like- saving, current, etc.
- Verify that the user is allowed to get account details like available balance.
- Check that the correct amount of money gets withdrawn as entered by the user for cash withdrawal.
- Verify that the user is only allowed to enter the amount in multiple denominations as per the specifications.
- Verify that the user is prompted to enter the amount again in case the amount entered is less than the minimum amount configured.
- Check that the user cannot withdraw more amount than the total available balance and a proper message should be displayed.
- Verify that the user is provided the option to get the transaction details in printed form.
- Verify that the user’s session timeout is maintained.
- Check that the user is not allowed to exceed one transaction limit amount.
- Verify that the user is not allowed to exceed the one-day transaction limit amount.
- Verify that the user is allowed to do only one transaction per pin request.
- Check that in case the ATM machine runs out of money, a proper message is displayed to the user.
- Verify that the applicable fee gets deducted along with the withdrawn amount in case the user exceeds the limit of the number of free transactions in a month.
- Verify that the applicable fee gets deducted along with the withdrawn amount in case the user uses a card of a bank other than that of an ATM.
- Check that the user is not allowed to proceed with the expired ATM card and that a proper error message gets displayed.
- Verify that in case of sudden electricity loss before withdrawing cash, the transaction is marked as null and the amount is not withdrawn from the user’s account.
Conclusion
This concludes our post on the test cases for ATM machine. I hope these sample test scenarios will not only help you in your interviews but will also help you in understanding the test case creation process. Please let us know in the comments, in case we have missed out on any important test cases.
Test Case Examples