Sunteți pe pagina 1din 6

Test cases For Atm

TEST CASE
TEST CASE
P
NAME
DESCRIPTION
TC01_Bank_
This test case to P0
Money
validate card
withdrawal_
insertion
verify card
functionality
insertion with
with valid card
valid cards
TC02_Bank_
This test case to
Money
validate card
withdrawal_
insertion
verify
functionality
card insertion
with invalid card
with invalid
cards

STEP
NAME
Step1

Insert valid card in Valid atm


the insertion point of card
atm

Atm should display language


page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding languge
selected
Atm should display the
account type selction page
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding languge
selected
Atm should display meaning
full message Sorry unable to
process your request code
1222
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding languge
selected
Atm should display meaning
full messageenter valid
pinnumber
Atm should display meaning
full messageenter valid
pinnumber
Atm should display meaning
full message Sorry unable to
process your request code
1236
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected

Step1

TC04_Bank_
Money
withdrawal_
verify pin
number entry
with valid pin
number

This test case is


to verify the
functionality of
pin number
functionality
with valid pin
number

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Insert valid card in Valid atm
the insertion point of card
atm
Step Click on
2
corresponding
language to be used

Step Enter the valid pin Valid pin


3
number
number
Step1 Insert valid card in Valid atm
the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the invalid pin InValid
3
number
pinnumber

This test case is


to verify the
functionality of
pin number
functionality
with invalid pin
number upto 3
times

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the invalid pin Invalid
3
number
pinnumber
Step Enter the invalid pin Invalid
4
number
pinnumber
Step Enter the invalid pin Invalid
5
number
pinnumber

TC07_Bank_
Money
withdrawal_
verify account
type selection
with correct
account type

This test is to
verify the
functionality of
the account
selection type
with correct
account type

Atm should display language


page with following objects
ENLISH,TELUGU,HINDI

Atm should not accept the


card and display a message
please insert valid atm card

This test case


to verify the
language
selection
functionality

TC06_Bank_
Money
withdrawal_
verify pin
number entry
with invalid pin
number upto 3
times

EXPECTED RESULT

Insert invalid card of Invalid card


other bank card in like other
the insertion point of bank card
atm
Step Insert invalid card of Invalid card
2
expired atm card in like expired
the insertion point of atm card
atm
Step1 Insert invalid card of Valid atm
expired atm card in card
the insertion point of
atm in wrong angle

This test case to


validate card
insertion
functionality
with valid card
in wrong angle

This test case is


to verify the
functionality of
pin number
functionality
with invalid pin
number

TEST DATA

Step1

TC03_Bank_
Money
withdrawal_
verify
card insertion
with valid cards
in wrong angle
TC04_Bank_
Money
withdrawal_
verify language
selection

TC05_Bank_
Money
withdrawal_
verify pin
number entry
with invalid pin
number

STEP DESCRIPTION

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used

Atm should not accept the


card and display a message
Sorry unable to process your
request code 1234
Atm should not accept the
card and display a message
Sorry unable to process your
request code 1222

Step
3
Step
4

TC08_Bank_
Money
withdrawal_
verify account
type selection
with wrong
account type

This test is to
verify the
functionality of
the account
selection type
with wrong
account type

Enter the valid pin Valid pin


number
number
Click on the correct
account type of a/c
holder

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number

Valid pin
number

Step Click on the wrongt


4
account type of a/c
holder
TC09_Bank_
Money
withdrawal_
verify money
withdrawal
option

This test is to
verify the
functionality of
the money
withdrawal
option

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number

Valid pin
number

Step Click on the correct


4
account type of a/c
holder

This test is to
verify the
functionality of
amount entry
with valid
amount

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number

Atm should display


meaningful message Sorry
unable to process your
request code 1233
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page
Atm should display service
page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Atm should display amount
entry page.

Step Click on money


5
withdrawal
TC10_Bank_
Money
withdrawal_
verify amount
entry with valid
amount

Atm should display the


account type selection page
Atm should display service
page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page

Valid pin
number

Atm should display language


page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page

Step Click on the correct


4
account type of a/c
holder

TC11_Bank_
Money
withdrawal_
verify money
withdrawal
operation with
valid amount

This test is to
verify the
functionality of
money
withdrawal
operation with
valid amount

Atm should display service


page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Step Click on money
Atm should display amount
5
withdrawal
entry page.
Step6 Enter the valid
Valid amount Atm need to give money and
amount and click on
display the objects want to
OK
continue, OK, NO
Step1 Insert valid card in Valid atm
Atm should display language
the insertion point of card
page with following objects
atm
ENLISH,TELUGU,HINDI
Step Click on
Atm should display the pin
2
corresponding
number page in
language to be used
corresponding language
selected
Step Enter the valid pin Valid pin
Atm should display the
3
number
number
account type selection page
Step Click on the correct
4
account type of a/c
holder
Step Click on money
5
withdrawal

Atm should display service


page with the following object
money withdrawal, pin
change, mini transaction,
quick cash.
Atm should display amount
entry page.

Step Enter the valid


Valid amount Atm need to give money and
6
amount and click on
display the objects want to

OK

continue, OK, NO

Step Click on NO
7
TC12_Bank_
Money
withdrawal_
verify money
withdrawal
operation with
amount greater
than balance
amount

This test is to
verify the
functionality of
money
withdrawal
operation with
amount greater
than balance
amount

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number
Step Click on the correct
4
account type of a/c
holder
Step Click on money
5
withdrawal

TC13_Bank_
Money
withdrawal_
verify money
withdrawal
operation with
amount greater
than day limit
amount

This test is to
verify the
functionality of
money
withdrawal
operation with
amount greater
than day limit
amount

Step5

This test is to
verify the
functionality of
amount entry
with valid
amount greater
than amount in
atm

Click on money
withdrawal

Step Click on money


5
withdrawal

This test is to
verify the
functionality of
money
withdrawal with
amount not in
multiples of

Atm should display service


page with the following object
money withdrawal, pin
change, mini transaction,
quick cash.
Atm should display amount
entry page.

Step Enter the amount


Amount
Atm should display
6
greater than day
greater than meaningful error message
limit amount
day limit amt Sorry unable to process your
Click on OK
request code 1220
Step1 Insert valid card in Valid atm
Atm should display language
the insertion point of card
page with following objects
atm
ENLISH,TELUGU,HINDI
Step Click on
Atm should display the pin
2
corresponding
number page in
language to be used
corresponding language
selected
Step Enter the valid pin Valid pin
Atm should display the
3
number
number
account type selection page
Step Click on the correct
4
account type of a/c
holder

TC15_Bank_
Money
withdrawal_
verify money
withdrawal
operation with
amount not in

Atm should display service


page with the following object
money withdrawal, pin
change, mini transaction,
quick cash.
Atm should display amount
entry page.

Step Enter the amount


Amount
Atm should display
6
greater than balance greater than meaningful error message
and click on OK
balan
Sorry unable to process your
request code 1230
Step1 Insert valid card in Valid atm
Atm should display language
the insertion point of card
page with following objects
atm
ENLISH,TELUGU,HINDI
Step Click on
Atm should display the pin
2
corresponding
number page in
language to be used
corresponding language
selected
Step Enter the valid pin Valid pin
Atm should display the
3
number
number
account type selection page
Step Click on the correct
4
account type of a/c
holder

TC14_Bank_
Money
withdrawal_
verify money
withdrawal
operation with
amount greater
than amount in
atm

Valid pin
number

Atm should give receipt for


the transaction, return the
card back, correct amount
should deduct from account
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page

Atm should display service


page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Atm should display amount
entry page.

Step Enter the valid


Valid amount Atm should display
6
amount and click on
meaningful error message
OK
Sorry unable to process your
request code 1234
Step1 Insert valid card in Valid atm
Atm should display language
the insertion point of card
page with following objects
atm
ENLISH,TELUGU,HINDI
Step Click on
Atm should display the pin
2
corresponding
number page in
language to be used
corresponding language
selected

Step Enter the valid pin


3
number

Valid pin
number

Step Click on the correct


4
account type of a/c
holder
multiples of 100s 100s

TC16_Bank_
Money
withdrawal_
verify money
withdrawal
operation with
valid amount
but during
operation
network
problem
occurred

This test is to
verify the
functionality of
money
withdrawal
operation with
valid amount
but during
operation
network
problem
occurred

Atm should display service


page with the following object
money withdrawal, pin
change, mini transaction,
quick cash.
Atm should display amount
entry page.

Step Click on money


5
withdrawal

Step Enter the valid


Valid amount Atm should display
6
amount not in
meaningful error message
multiples of 100s
Sorry unable to process your
click on OK
request code 1111
Step1 Insert valid card in Valid atm
Atm should display language
the insertion point of card
page with following objects
atm
ENLISH,TELUGU,HINDI
Step Click on
Atm should display the pin
2
corresponding
number page in
language to be used
corresponding language
selected
Step Enter the valid pin Valid pin
Atm should display the
3
number
number
account type selection page
Step Click on the correct
4
account type of a/c
holder
Step5

TC17_Bank_
Money
withdrawal_
verify amount
entry with valid
amount

This test is to
verify the
functionality of
amount entry
with valid
amount

Atm should display the


account type selection page

Click on money
withdrawal
Step Enter the valid
Valid amtt
6
amount and click on And make
OK
network
down
Step1 Insert valid card in Valid atm
the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number
Step Click on the correct
4
account type of a/c
holder
Step Click on money
5
withdrawal

Valid pin
number

Atm should display service


page with the following object
money withdrawal, pin
change, mini
Atm should display amount
entry page.
Atm should display
meaningful error message
Sorry unable to process your
request code 1010
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page
Atm should display service
page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Atm should display amount
entry page.

Step Enter the valid


Valid amount Get the amount from atm and
6
amount and click on
display the objects want to
OK
continue, OK, NO
Step Click on OK
Atm should display amount
7
entry page.
Step Enter the valid
Valid amount Get the amount from atm and
8
amount and click on
display the objects want to
OK
continue, OK, NO
Step9 Click on OK
Atm should display amount
entry page.
Step Enter the valid
Valid amount Get the amount from atm and
10
amount and click on
display the objects want to
OK
continue, OK, NO
Step Click on OK
Atm should display amount
11
entry page.

TC18_Bank_
Money
withdrawal_
verify
Cancel with

This test is to
verify the
functionality of
cancel with
after card insert

Step Enter the valid


Valid amount Atm should display
12
amount and click on
meaningful error message
OK
Sorry unable to process your
request code 1211
Step1 Insert valid card in Valid atm
Atm should display language
the insertion point of card
page with following objects
atm
ENLISH,TELUGU,HINDI
Step2 Click on cancel
Atm should display
button
meaningful error message

after insert card


TC19_Bank_
Money
withdrawal_
verify
Cancel with pin
number entry

i.e, in language
selection page
This test is to
verify the
functionality of
cancel with pin
number entry

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step When the language
3
selection page
uploaded click on
cancel

TC19_Bank_
Money
withdrawal_
verify
Cancel with
account type

This test is to
verify the
functionality of
cancel with
account type

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number

Valid pin
number

Step Click on cancel


4
button

TC20_Bank_
Money
withdrawal_
verify
Cancel with
service
provider

This test is to
verify the
functionality of
cancel with
service provider

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number

Valid pin
number

Step Click on the correct


4
account type of a/c
holder
Step Click on cancel
5
button

TC21_Bank_
Money
withdrawal_
verify
Cancel with
amount entity

This test is to
verify the
functionality of
cancel with
amount entity

Step1

Insert valid card in Valid atm


the insertion point of card
atm
Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number

Valid pin
number

Step Click on the correct


4
account type of a/c
holder
Step Click on money
5
withdrawal
Step Click on cancel
6
button

TC22_Bank_
Money
withdrawal_

This test is to
verify the
functionality of

Step1

Insert valid card in Valid atm


the insertion point of card
atm

Sorry unable to process your


request code 1111 and
return the card by atm.
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display
meaningful error message
Sorry unable to process your
request code 1111 and
return the card by atm.
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page
Atm should display
meaningful error message
Sorry unable to process your
request code 1234 and
return the card by atm.
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page
Atm should display service
page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Atm should display
meaningful error message
Sorry unable to process your
request code 1111 and
return the card by atm.
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI
Atm should display the pin
number page in
corresponding language
selected
Atm should display the
account type selection page
Atm should display service
page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Atm should display amount
entry page.
Atm should display
meaningful error message
Sorry unable to process your
request code 1111 and
return the card by atm.
Atm should display language
page with following objects
ENLISH,TELUGU,HINDI

verify
Cancel with
continue entity

cancel with
continue entity
i.e, after
amount entity

Step Click on
2
corresponding
language to be used
Step Enter the valid pin
3
number
Step4

Click on the correct


account type of a/c
holder

Step Click on money


5
withdrawal

Valid pin
number

Atm should display the pin


number page in
corresponding language
selected
Atm should display the
account type selection page
Atm should display service
page with the following object
money withdrawal, pin
change,mini transaction,quick
cash.
Atm should display amount
entry page.

Step Enter the valid


Valid amount Get the amount from atm and
6
amount and click on
display the objects want to
OK
continue, OK, NO
Step Click on cancel
Atm should display
7
button
meaningful error message
Sorry unable to process your
request code 1111 and
return the card by atm.

S-ar putea să vă placă și