7/29/2019 working of an ATM machine- Test Conditions
1/28
TEST CONDITIONS
test condition id requirement id test condition
1 2,6
card validation2 2,6
3 7,8,9
pin validation
4 7,8,9
5 7,8,9
7/29/2019 working of an ATM machine- Test Conditions
2/28
6 7,8,9
7 4,5
Cancel Transaction
8 10
Menu Screen Validation
9 3, 11, 12
7/29/2019 working of an ATM machine- Test Conditions
3/28
10 3,11,12
Cash withdrawal
11 3,11,12
12 3,11,12
13 3,11,12
14 13 Balance
15 14
Mini Statement
16 14
7/29/2019 working of an ATM machine- Test Conditions
4/28
17 15 Receipt
18 16 Printed Balance
19 17
Change Pin Number
7/29/2019 working of an ATM machine- Test Conditions
5/28
test condition description
insert a valid card
nsert an invalid card(wrongly inserted,non abc bank card,expired or multilated)
enter valid 4 digit pin and click on enter button
entered invalid for the first time
enter invalid PIN for the second time
7/29/2019 working of an ATM machine- Test Conditions
6/28
enter invalid PIN for the third time
User cancels a transaction before it is complete
User is shown the Menu screen after successful authentication of credentials
User opts to withdraw cash by clicking on "Cash" Menu button. Withdrawalamount is less than the available cash balance in user account and user
removes the card and cash from the ATM within the stipulated time
7/29/2019 working of an ATM machine- Test Conditions
7/28
User clicks on "Balance" Menu button
User opts to withdraw cash by clicking on "Cash" Menu button. Withdrawalamount is more than the available cash balance in user account
User opts to withdraw cash by clicking on "Cash" Menu button. Number ofwithdrawal transaction are more than 4 which is the limit per day (12.00 am to
11.59.59 pm)
User opts to withdraw cash by clicking on "Cash" Menu button. Withdrawalamount is less than the available cash balance in user account. User does not
remove the card from the ATM within the stipulated time
User opts to withdraw cash by clicking on "Cash" Menu button. Withdrawalamount is less than the available cash balance in user account. User removes
the card but not the cash from the ATM within the stipulated time
User clicks on "Mini Statement" Menu button and the user removes theprinted statement within the time limit
User clicks on "Mini Statement" Menu button but does not remove the printedstatement within the time limit
7/29/2019 working of an ATM machine- Test Conditions
8/28
user selects the option, Cash with Receipt
user selects the option, Printed Balance,
user selects the option, Change Pin Number
user selects the option, Change Pin Number and If the pin code is less than 4digits
7/29/2019 working of an ATM machine- Test Conditions
9/28
expected value
ATM machine should validate the card. While the card is being validated, the screen should shthat reads, Your Card is being validated, please wait. If the card is valid, a message should bsays, Please Enter Your Pin Number.
If the card is invalid (wrongly inserted,non ABC Bank card, expired or mutilated), the machine will show a message that says, Sorry,cannot process this card, please enter a valid card and the card is ejected.
1.Pin number is a four digit number and the user can enter the pin number only by clicking on board (ATM key board key consists of numbers 0 to 9, and Enter and a Cancel buttons).2. Pin number entered should always be shown as an Asterisk.
3.After the user enters the 4th digit, the ATM Machine should show a message that reads, At this point of time, the keys between 0 to 9 should be disabled. Only Enter and Cancel should4. After the user has clicked on Enter button, the screen should display a message that reads,
your Pin number. If the Pin number is valid, the machine displays the menu screen.
1.Pin number entered should always be shown as an Asterisk.2. After the user enters the 4th digit, the ATM Machine should show a message that
Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enter and Canceenabled.3. After the user has clicked on Enter button, the screen should display a message that reads,
your Pin number.4.If the Pin number is valid, the machine displays the menu screen.
5.If the Pin is invalid, a message is shown that says, The Pin invalid, please re-enter, Pin entered earlier is cleared and user enabled to re-enter the pin.
1.If the user enters and invalid Pin two times in a row, the machine shows an error that reads, number of invalid Pin entries in a row is three. Your card will be captured if a wrong pin is entetime. Please re-enter a valid Pin.
2.Pin entered earlier is cleared and user enabled to re-enter the pin.
7/29/2019 working of an ATM machine- Test Conditions
10/28
1.If the user enters an invalid pin third time in a row, the card is captured by the ATM Machine message is shown that says, Your card has been captured as a security mechanism, please cobank for next steps.
2.After five seconds, the user is shown the home screen
1.ATM machine will retain the card till your transaction is complete or until you decide to cancetransaction. Card will be ejected after the transaction completion or cancellation.2. Clicking on Cancel button at any point of time should show a message that says, Do you withe transaction? Press Cancel to cancel the transaction or Enter to continue with the transactio
3.If a user clicks Cancel in response to the message, the transaction should be cancelled all ereversed, card ejected and the home screen shown. If the user clicks Enter in response to the mATM machine should continue with the transaction.
Menu screen should show the options listed below. At this point, except for the Cancel button, button on the key board should be disabled.a. Cashb. Balancec. Print Mini Statementd. Cash With Receipte. Printed Balancef. Change Pin Number
1. ATM supports only fast cash, i.e. it only disburses cash in the denomination of 20, 30, 50, 10200. 2. User cannot use this machine to withdraw money in any other denomination.
User should be able to press the buttons corresponding to the six menu options shomenu screen.3. When user clicks on Cash button, the screen should prompt the user to select the amount twithdrawn (i.e. either 20, 30, 50, 100, 150 or 200 only). User can click any one of the correspoto withdraw cash. When the user clicks on a particular denomination, the screen should show athat reads, Please Wait. While the Please Wait message is shown, the ATM machine will coback with the bank to validate user transaction as shown below:
4. if the card has been removed, the screen shows a message that reads, Please Wait, CountiOnce the cash counting is complete, the screen should show a message that reads, Please Recash in the correct denomination should be available in the cash slot.
5. User should then be shown the home screen.
7/29/2019 working of an ATM machine- Test Conditions
11/28
1. Availability of balance in the account If the available balance is less than the amount selecmessage should be shown that reads, You do not have sufficient balance in your account to ptransaction, please re-enter the amount.
2.Machine should show the denomination screen
Number of transactions - Maximum number of valid transaction per day (between 12.00 am toare four. ATM machine should show a message that reads, The transaction cannot be processhave crossed the maximum number of transactions limit per day. Please try later. The card shejected
If the transaction is valid, the machine should eject the card and show a message that reads, Card. At this point, if the card is not removed after the lapse of 20 seconds, the ATM machinecapture the card and show a message that reads, Your card has been captured as a safety mePlease contact your bank for next steps, the transaction should be cancelled, the amount intewithdrawn should be added back to the account and the user shown the home screen.
1 Once the cash counting is complete, the screen should show a message that reads, Please RCash, cash in the correct denomination should be available in the cash slot.
2. If the user does not remove the cash within 20 seconds, the ATM machine scash back and show a message that reads, The cash has been taken back as a safety mechantransaction has been cancelled and the withdrawal amount has been added back to your accou
3.User should then be shown the home screen.
On the menu screen if the user selects the option, Balance, the machine shows a message thPlease wait. Once the details are available, the screen should show the details in the form ofthat reads, Your Current Balance Is , Do You Require Another Service, No / Yes. If on Yes, the menu screen should be shown. If the user clicks on No, the machine should eject thshow a message that reads, Please Remove Your Card. After the card has been removed, the
1.On the menu screen if the user selects the option, Mini Statement, the machine shows a mtwo seconds that reads, Please Wait, Printing Mini Statement.
2.The machine should print a mini statement and show a message that reads, PlMini Statement. Mini statement should show the transaction id, date of transaction, ATM bankand code and list of the last 5 transaction (transaction id, date and amount).
3.After the mini statement has been removed from the slot, the screen will show a mesreads, Do You Require Another Service, No / Yes. If the user clicks on Yes, the menu screen sshown. If the user clicks on No, the machine should eject the card and show a message that reaRemove Your Card. After the card has been removed, the home screen is shown.
If the mini statement is not removed within 5 seconds, the machine should eject the card, promto remove the card and show the home screen
7/29/2019 working of an ATM machine- Test Conditions
12/28
1.On the menu screen if the user selects the option, Cash with Receipt, the screen will show denominations in which the user can withdraw cash, do the processing as explained earlier andsuccessful disbursement of the cash, print a receipt for the amount withdrawn.
2.The receipt will contain details of the bank branch name and code, transaction id, date and the amount withdrawn. After the print out, the card is ejected and the home screen is show
1.On the menu screen if the user selects the option, Printed Balance, the screen will show a reads, Please Wait, Printing Receipt after 2 seconds the receipt is printed and the user showthat reads, Please Remove Balance Slip.
2.After the slip has been removed, the screen shows a message that reads, DoAnother Service? No / Yes. Depending on the option selected, the system will show the approas described earlier
On the menu screen if the user selects the option, Change Pin Number, the screen will show that reads, Change Pin Security Code, Enter New Pin Code, the on screen button should be dboard key enabled and user allowed to enter a new pin code
1.If the pin code is less than 4 digits, the screen shows a message that says, Your new Pin Coddigits long, please re-enter. If the user enters a 4 digit code, the machine shows a message thYou Pin Has Been Changed.
2.After 2 seconds, a message is shown that reads, Do You RequireService? No / Yes. Depending on the option selected, the system will show the appropriate scdescribed earlier. User will not be able to enter more than 4 digits when changing the Pin
7/29/2019 working of an ATM machine- Test Conditions
13/28
7/29/2019 working of an ATM machine- Test Conditions
14/28
7/29/2019 working of an ATM machine- Test Conditions
15/28
7/29/2019 working of an ATM machine- Test Conditions
16/28
7/29/2019 working of an ATM machine- Test Conditions
17/28
TEST CASES
Test Case ID est condition I Test Description Test Steps
1 1 Insert valid bank card
2 2 Insert invalid bank card
3 3
On the home screen,insertvalid bank card
On the home screen,insertinvalid bank card
Enter valid four digit pin noand click on enter button
On the home screen,insertvalid bank card
Enter valid four digit pin noand click on enter button
On the home screen,insertvalid bank card
7/29/2019 working of an ATM machine- Test Conditions
18/28
4 4
5 5
entered invalid for the firsttime
entered invalid for the firsttime
enter invalid PIN for thesecond time
On the home screen,insertvalid bank card
enter invalid PIN for thesecond time and clickenter
On the home screen,insertvalid bank card
7/29/2019 working of an ATM machine- Test Conditions
19/28
6 6
7 7
enter invalid PIN for the thirdtime
enter invalid PIN for thethird time and click enter
7/29/2019 working of an ATM machine- Test Conditions
20/28
Test Data
ABC bank card
ABC bank card
1234
ABC bank card
wrongly inserted, non ABC Bankcard, expired or mutilated
7/29/2019 working of an ATM machine- Test Conditions
21/28
3467
ABC bank card
6788
ABC bank card
7/29/2019 working of an ATM machine- Test Conditions
22/28
8383
7/29/2019 working of an ATM machine- Test Conditions
23/28
Expected result
ATM machine should validate the card. While the card is being validated, the screen should shmessage that reads, Your Card is being validated, please wait. If the card is valid, a messageshould be shown that says, Please Enter Your Pin Number.
If the card is invalid (wrongly inserted,non ABC Bank card, expired or mutilated), the machine will show a message that says, Sorry,cannot process this card, please enter a valid card and the card is ejected.
ATM machine should validate the card. While the card is being validated, the screen should shmessage that reads, Your Card is being validated, please wait. If the card is valid, a messageshould be shown that says, Please Enter Your Pin Number.
1.Pin number is a four digit number and the user can enter the pin number only by clicking on keyboard (ATM key board key consists of numbers 0 to 9, and Enter and a Cancel buttons).2. Pin number entered should always be shown as an Asterisk. 3.After the user enters th4th digit, the ATM Machine should show a message that reads, Press Enter. At this point of tithe keys between 0 to 9 should be disabled. Only Enter and Cancel should be enabled.4. After the user has clicked on Enter button, the screen should display a message that reads,Checkingyour Pin number. If the Pin number is valid, the machine displays the menu screen.
ATM machine should validate the card. While the card is being validated, the screen should shmessage that reads, Your Card is being validated, please wait. If the card is valid, a messageshould be shown that says, Please Enter Your Pin Number.
7/29/2019 working of an ATM machine- Test Conditions
24/28
1.Pin number entered should always be shown as an Asterisk.2. After the user enters the 4th digit, the ATM Machine should show a message tha
reads, Press Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enand Cancel should be enabled.3. After the user has clicked on Enter button, the screen should display a message that reads,Checkingyour Pin number.
4.If the Pin number is valid, the machine displays the menu screen.5.If the Pin is invalid, a message is shown that says, The Pin entered is
invalid, please re-enter, Pin entered earlier is cleared and user enabled to re-enter the pin.
ATM machine should validate the card. While the card is being validated, the screen should shmessage that reads, Your Card is being validated, please wait. If the card is valid, a messageshould be shown that says, Please Enter Your Pin Number.
1.Pin number entered should always be shown as an Asterisk.2. After the user enters the 4th digit, the ATM Machine should show a message tha
reads, Press Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enand Cancel should be enabled.3. After the user has clicked on Enter button, the screen should display a message that reads,Checkingyour Pin number.
4.If the Pin number is valid, the machine displays the menu screen.5.If the Pin is invalid, a message is shown that says, The Pin entered is
invalid, please re-enter, Pin entered earlier is cleared and user enabled to re-enter the pin.6.If the user enters and invalid Pin two times in a row, t
machine shows an error that reads, Maximum number of invalid Pin entries in a row is three. Y
-
ATM machine should validate the card. While the card is being validated, the screen should shmessage that reads, Your Card is being validated, please wait. If the card is valid, a messageshould be shown that says, Please Enter Your Pin Number.
7/29/2019 working of an ATM machine- Test Conditions
25/28
1.Pin number entered should always be shown as an Asterisk.2. After the user enters the 4th digit, the ATM Machine should show a message that re
Press Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enter andCancel should be enabled.3. After the user has clicked on Enter button, the screen should display a message that reads,Checkingyour Pin number.
4.If the Pin number is valid, the machine displays the menu screen.5.If the Pin is invalid, a message is shown that says, The Pin entered is
invalid, please re-enter, Pin entered earlier is cleared and user enabled to re-enter the pin.6.If the user enters and invalid Pin two times in a row, t
machine shows an error that reads, Maximum number of invalid Pin entries in a row is three. Ycard will be captured if a wrong pin is entered the third time. Please re-enter a valid Pin.
7.Pin entered earlier is clearand user enabled to re-enter the pin. 8.If the user enan invalid pin third time in a row, the card is captured by the ATM Machine and an error messashown that sa s Your card has been ca tured as a securit mechanism lease contact our
7/29/2019 working of an ATM machine- Test Conditions
26/28
Actual result tatus(pass or fail est Case priority
7/29/2019 working of an ATM machine- Test Conditions
27/28
7/29/2019 working of an ATM machine- Test Conditions
28/28