0% found this document useful (0 votes)
5 views

Ecommerce_Payment_Gateway_Test_Cases

The document outlines test cases for an e-commerce payment gateway, detailing various scenarios including valid and invalid card payments, insufficient funds, card number and CVV validation, payment gateway timeouts, confirmation emails, and handling multiple payment attempts. Each test case includes preconditions, steps to execute, and expected outcomes. The purpose is to ensure the payment system functions correctly under different conditions.

Uploaded by

aryakoshti092
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Ecommerce_Payment_Gateway_Test_Cases

The document outlines test cases for an e-commerce payment gateway, detailing various scenarios including valid and invalid card payments, insufficient funds, card number and CVV validation, payment gateway timeouts, confirmation emails, and handling multiple payment attempts. Each test case includes preconditions, steps to execute, and expected outcomes. The purpose is to ensure the payment system functions correctly under different conditions.

Uploaded by

aryakoshti092
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

E-Commerce Payment Gateway Page -

Test Cases
Test Test Precondi Test Expected Actual Pass/ Commen
Case ID Case tion Steps Result Result Fail ts
Descripti
on

TC01 Valid User is 1. Payment


Card logged in Navigate is
Payment and to the successf
ready to payment ul, and
pay page. the user
2. Enter is
valid redirecte
card d to the
details. order
3. Click confirma
on 'Pay tion
Now'. page.

TC02 Invalid User is 1. Payment


Card logged in Navigate is
Payment and to the declined,
ready to payment and the
pay page. user is
2. Enter shown
invalid/e an
xpired appropri
card ate error
details. message.
3. Click
on 'Pay
Now'.

TC03 Insuffici User is 1. Payment


ent logged in Navigate is
Funds and to the declined,
ready to payment and the
pay page. user is
2. Enter notified
card about
details insufficie
with nt funds.
insufficie
nt funds.
3. Click
on 'Pay
Now'.

TC04 Card User is 1. The


Number logged in Navigate system
Validatio and to the prompts
n ready to payment the user
pay page. with an
2. Enter error
an message
incorrect indicatin
card g an
number invalid
(e.g., card
fewer number.
digits).
3. Click
on 'Pay
Now'.

TC05 CVV User is 1. The


Code logged in Navigate system
Validatio and to the displays
n ready to payment an error
pay page. message
2. Enter requesti
an ng the
incorrect correct
CVV CVV
code code.
(e.g.,
fewer
digits).
3. Click
on 'Pay
Now'.

TC06 Payment User is 1. The user


Gateway logged in Navigate is
Timeout and to the informe
ready to payment d of the
pay page. timeout,
2. Enter and the
valid payment
card process
details. is either
3. retried
Simulate or the
a user is
payment asked to
gateway try again
timeout later.
during
processi
ng.
4. Click
on 'Pay
Now'.

TC07 Payment User is 1. The user


Confirm logged in Complet receives
ation and ea a
Email ready to successf confirma
pay ul tion
payment email
. with
2. Check payment
the and
registere order
d email. details.

TC08 Multiple User is 1. The


Payment logged in Navigate system
Attempt and to the should
s ready to payment prevent
pay page. duplicat
2. e
Attempt payment
to s and
process notify
the same the user.
payment
multiple
times in
quick
successi
on.
3.
Observe
the
system's
behavior
.

You might also like