You are on page 1of 28

TEST CONDITIONS test condition id 1 requirement id 2,6 test condition

2,6

card validation

7,8,9

7,8,9

pin validation

7,8,9

7,8,9

4,5

Cancel Transaction

10

Menu Screen Validation

3, 11, 12

Cash withdrawal

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

17

15

Receipt

18

16

Printed Balance

19

17

Change Pin Number

test condition description insert a valid card

insert 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

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. Withdrawal amount is less than the available cash balance in user account and user removes the card and cash from the ATM within the stipulated time

User opts to withdraw cash by clicking on "Cash" Menu button. Withdrawal amount is more than the available cash balance in user account

User opts to withdraw cash by clicking on "Cash" Menu button. Number of withdrawal 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. Withdrawal amount 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. Withdrawal amount 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 "Balance" Menu button

User clicks on "Mini Statement" Menu button and the user removes the printed statement within the time limit

User clicks on "Mini Statement" Menu button but does not remove the printed statement within the time limit

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 4 digits

expected value ATM machine should validate the card. While the card is being validated, the screen should show a m that reads, Your Card is being validated, please wait. If the card is valid, a message should be show 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, we 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 the key 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, Press E At this point of time, the keys between 0 to 9 should be disabled. Only Enter and Cancel should be en 4. After the user has clicked on Enter button, the screen should display a message that reads, Check 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 reads, Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enter and Cancel shoul enabled. 3. After the user has clicked on Enter button, the screen should display a message that reads, Check 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 entere 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, Maxim number of invalid Pin entries in a row is three. Your card will be captured if a wrong pin is entered the time. Please re-enter a valid Pin. 2.Pin entered earlier is cleared and user enabled to re-enter the pin.

time. Please re-enter a valid Pin. 2.Pin entered earlier is cleared and user enabled to re-enter the pin.

1.If the user enters an invalid pin third time in a row, the card is captured by the ATM Machine and an message is shown that says, Your card has been captured as a security mechanism, please contact y bank 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 cancel your transaction. 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 wish to ca the transaction? Press Cancel to cancel the transaction or Enter to continue with the transaction. 3.If a user clicks Cancel in response to the message, the transaction should be cancelled all entries reversed, card ejected and the home screen shown. If the user clicks Enter in response to the messag ATM machine should continue with the transaction.

Menu screen should show the options listed below. At this point, except for the Cancel button, all othe button on the key board should be disabled. a. Cash b. Balance c. Print Mini Statement d. Cash With Receipt e. Printed Balance f. Change Pin Number

1. ATM supports only fast cash, i.e. it only disburses cash in the denomination of 20, 30, 50, 100, 150 200. 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 shown on menu screen. 3. When user clicks on Cash button, the screen should prompt the user to select the amount to be withdrawn (i.e. either 20, 30, 50, 100, 150 or 200 only). User can click any one of the corresponding b to withdraw cash. When the user clicks on a particular denomination, the screen should show a messa that reads, Please Wait. While the Please Wait message is shown, the ATM machine will communi back 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, Counting Cash Once the cash counting is complete, the screen should show a message that reads, Please Remove C cash in the correct denomination should be available in the cash slot. 5. User should then be shown the home screen.

1. Availability of balance in the account If the available balance is less than the amount selected, a message should be shown that reads, You do not have sufficient balance in your account to process transaction, 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 to 11.59.5 are four. ATM machine should show a message that reads, The transaction cannot be processed as y have crossed the maximum number of transactions limit per day. Please try later. The card should be ejected

If the transaction is valid, the machine should eject the card and show a message that reads, Remov Card. At this point, if the card is not removed after the lapse of 20 seconds, the ATM machine should capture the card and show a message that reads, Your card has been captured as a safety mechanis Please contact your bank for next steps, the transaction should be cancelled, the amount intended to withdrawn 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 Remove Cash, 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 should t cash back and show a message that reads, The cash has been taken back as a safety mechanism. Yo transaction has been cancelled and the withdrawal amount has been added back to your account. 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 that read Please wait. Once the details are available, the screen should show the details in the form of a mess that reads, Your Current Balance Is <xxxx.xx>, Do You Require Another Service, No / Yes. If the use on Yes, the menu screen should be shown. If the user clicks on No, the machine should eject the card show a message that reads, Please Remove Your Card. After the card has been removed, the home

1.On the menu screen if the user selects the option, Mini Statement, the machine shows a message two seconds that reads, Please Wait, Printing Mini Statement. 2.The machine should print a mini statement and show a message that reads, Please Re Mini Statement. Mini statement should show the transaction id, date of transaction, ATM bank branch and 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 message th reads, Do You Require Another Service, No / Yes. If the user clicks on Yes, the menu screen should b shown. If the user clicks on No, the machine should eject the card and show a message that reads, P Remove 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, prompt the to remove the card and show the home screen

1.On the menu screen if the user selects the option, Cash with Receipt, the screen will show the denominations in which the user can withdraw cash, do the processing as explained earlier and upon successful 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 of trans and the amount withdrawn. After the print out, the card is ejected and the home screen is shown (as

1.On the menu screen if the user selects the option, Printed Balance, the screen will show a messag reads, Please Wait, Printing Receipt after 2 seconds the receipt is printed and the user shown a mes that reads, Please Remove Balance Slip. 2.After the slip has been removed, the screen shows a message that reads, Do You Re Another Service? No / Yes. Depending on the option selected, the system will show the appropriate s as described earlier

On the menu screen if the user selects the option, Change Pin Number, the screen will show a mess that reads, Change Pin Security Code, Enter New Pin Code, the on screen button should be disabled board 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 Code shou digits long, please re-enter. If the user enters a 4 digit code, the machine shows a message that read You Pin Has Been Changed. 2.After 2 seconds, a message is shown that reads, Do You Require Anoth Service? No / Yes. Depending on the option selected, the system will show the appropriate screen as described earlier. User will not be able to enter more than 4 digits when changing the Pin

TEST CASES Test Case IDTest condition ID Test Description Test Steps

Insert valid bank card

On the home screen,insert valid bank card

Insert invalid bank card

On the home screen,insert invalid bank card

On the home screen,insert valid bank card

Enter valid four digit pin no and click on enter button Enter valid four digit pin no and click on enter button

On the home screen,insert valid bank card

entered invalid for the first time

entered invalid for the first time entered invalid for the first time

On the home screen,insert valid bank card

enter invalid PIN for the second time enter invalid PIN for the second time and click enter

On the home screen,insert valid bank card

enter invalid PIN for the third time

enter invalid PIN for the third time enter invalid PIN for the third time and click enter

Test Data

ABC bank card

wrongly inserted, non ABC Bank card, expired or mutilated

ABC bank card

1234

ABC bank card

3467

ABC bank card

6788

ABC bank card

8383

Expected result ATM machine should validate the card. While the card is being validated, the screen should show a message that reads, Your Card is being validated, please wait. If the card is valid, a message should 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, we 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 show a message that reads, Your Card is being validated, please wait. If the card is valid, a message should 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 the key 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, Press Enter. At this point of time, the 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, Checking your 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 show a message that reads, Your Card is being validated, please wait. If the card is valid, a message should 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 that reads, Press Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enter and Cancel should be enabled. 3. After the user has clicked on Enter button, the screen should display a message that reads, Checking 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 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 show a message that reads, Your Card is being validated, please wait. If the card is valid, a message should 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 that reads, Press Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enter and Cancel should be enabled. 3. After the user has clicked on Enter button, the screen should display a message that reads, Checking 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 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, the machine shows an error that reads, Maximum number of invalid Pin entries in a row is three. Your card will be captured if a wrong pin is entered the third time. Please re-enter a valid Pin. 7.Pin entered earlier is cleared ATM machine should validatethe thepin. card. While the card is being validated, the screen should show a and user enabled to re-enter message that reads, Your Card is being validated, please wait. If the card is valid, a message should 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 that reads, Press Enter. At this point of time, the keys between 0 to 9 should be disabled. Only Enter and Cancel should be enabled. 3. After the user has clicked on Enter button, the screen should display a message that reads, Checking 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 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, the machine shows an error that reads, Maximum number of invalid Pin entries in a row is three. Your card will be captured if a wrong pin is entered the third time. Please re-enter a valid Pin. 7.Pin entered earlier is cleared and user enabled to re-enter the pin. 8.If the user enters an invalid pin third time in a row, the card is captured by the ATM Machine and an error message is shown that says, Your card has been captured as a security mechanism, please contact your bank for next steps. 9.After five seconds, the user is shown the home screen

Actual result Status(pass or fail) Test Case priority

You might also like