Vous êtes sur la page 1sur 6

Test Cases for Example ATM

System
TEST CASES

Test Case ID Test Area Test Case/Description

TC_{abbreviation_of_area}_01 System Startup To Verify System Startup

TC_{abbreviation_of_area}_02 System Startup TO Verify Welcome Page

TC_{abbreviation_of_area}_03 Session To Verify System reads a


customer's ATM card

TC_{abbreviation_of_area}_04 Session To Verify System rejects an


unreadable card

TC_{abbreviation_of_area}_05 Session To Verify System accepts


customer's PIN

TC_{abbreviation_of_area}_06 Session To Verify System allows


customer to perform a
transaction

TC_{abbreviation_of_area}_07 Session To Verify System allows


multiple transactions in one
session

TC_{abbreviation_of_area}_08 Session To Verify Session ends when


customer chooses not to do
another transaction
TC_{abbreviation_of_area}_09 Transaction To Verify System handles an
invalid PIN properly

TC_{abbreviation_of_area}_01 Transaction To Verify System blocks the


0 card if PIN is entered wrong
three consecutive times

TC_{abbreviation_of_area}_01 Withdrawal To Verify System asks


1 customer to choose an
account to withdraw from

TC_{abbreviation_of_area}_01 Withdrawal To Verify System asks


2 customer to choose a Rupees
amount to withdraw

TC_{abbreviation_of_area}_01 Withdrawal To Verify System performs a


3 legitimate withdrawal
transaction properly

TC_{abbreviation_of_area}_01 Withdrawal To Verify that a withdrawal


4 transaction can be cancelled
by the customer any time
prior to choosing the dollar
amount

TC_{abbreviation_of_area}_01 Inquiry To Verify System asks


5 customer to choose an
account to inquire about

TC_{abbreviation_of_area}_01 Inquiry To Verify System performs a


6 legitimate inquiry transaction
properly
Prerequisite Test Data /Test Action/Test
Script
System is started when the Verify System On
switch is turned "on"

System is "on" Verify Welcome Page

System is on and not Verify System reads a


servicing a customer customer's ATM card/
Insert a readable card

System is on and not servicing Verify System rejects an


a customer unreadable card/Insert an
unreadable card

System is asking for entry of Verify System accepts


PIN customer's PIN/Enter a PIN

System is displaying menu of Verify System allows


transaction types customer to perform a
transaction/Perform a
transaction

System is asking whether Verify System allows


customer wants another multiple transactions in
transaction one session/Answer yes

System is asking whether Verify Session ends when


customer wants another customer chooses not to
transaction do another
transaction/Answer no
A readable card has been Verify System handles an
entered invalid PIN properly/Enter
an incorrect PIN and then
attempt a transaction

A wrong PIN is already added Verify System blocks the


two times card if PIN is entered
wrong three consecutive
times/Enter an incorrect
PIN and then attempt a
transaction
Menu of transaction types is Verify System asks
being displayed customer to choose an
account to withdraw
from/Choose Withdrawal
transaction

Menu of account types is Verify System asks


being displayed customer to choose a
Rupees amount to
withdraw/Choose checking
account

System is displaying the menu Verify System performs a


of withdrawal amounts legitimate withdrawal
transaction
properly/Choose an
amount that the system
currently has and which is
not greater than the
System is displaying menu of account balance
Verify that a withdrawal
account types transaction can be
cancelled by the customer
any time prior to choosing
the dollar amount/ Press
"Cancel" key
Menu of transaction types is Verify System asks
being displayed customer to choose an
account to inquire
about/Choose Inquiry
transaction

System is displaying menu of Verify System performs a


account types legitimate inquiry
transaction properly/
Choose checking account
Expected Result Actual Result

System is on

Screen Displaying : Welcome


to ABC Bank. Insert card to
start transaction

Card is accepted;
System asks for entry of PIN

Card is ejected;
System displays an error
screen;
System is ready to start a new
session

System displays a menu of


transaction types

System asks whether


customer wants another
transaction

System displays a menu of


transaction types

System ejects card and is


ready to start a new session
The Invalid PIN Extension is
performed: Screen is
displayed invalid PIN.Enter a
valid pin.

The card is blocked and an


error message is displayed
stating The card is blocked
from further transactions;
card is ejected

System displays a menu of


account types

System displays a menu of


possible withdrawal amounts

System lends out correct


amount as directed; System
prints a correct receipt
showing amount and correct
updated balance;
System records transaction
correctly in the log
System displays an
appropriate message and
offers customer the option of
choosing to do another
transaction or not

System displays a menu of


account types

System prints a correct


receipt showing correct
balance;
System records transaction
correctly in the log

Vous aimerez peut-être aussi