Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

1.

Card Authorization
Before any transactions take place the customer must insert their card into the system and enter their
Personal Identification Number (PIN). If the number entered matches the number on the card the
customer is allowed to continue with their transaction. If the customer fails to enter the correct PIN
their card will be confiscated and a message is sent to the bank's main computer. The customer is
allowed three attempts to enter their PIN.

Inputs: Card Authorization


Partition the Valid Input Values:
Pin = 1213, 1401
Partition the Invalid Input Values:
outside of valid
Test Case No PIN E.C.P Output
1 1213 valid Successful PIN validation
2 3211 invalid Error
3 1401 valid Unsuccessful PIN validation

2. Cash Withdrawal
The system should allow customers to withdraw money from their current accounts. Before
allowing the withdrawal, the system should check the customer's balance to ensure that funds are
available to cover it. If not, the system should offer any funds that are available (if any) or otherwise
refuse the withdrawal. Each transaction should be recorded by the bank's main computer and the
customer's accounts updated. A receipt for the transaction may be requested.
Inputs: Cash withdrawal
Partition the Valid Input Values:
Withdrawal Amount <= Balance
Balance = 20000
Daily Transaction limit<15000
Partition the Invalid Input Values:
outside of valid
Test Case No Cash Daily Limit E.C.P Output
1 5000 10000 valid Requested cash dispensed,
accounts updated.
2 25000 5000 invalid No cash dispensed

3 2000 15000 invalid No cash dispensed

Inputs: Deposit money


Partition the Valid Input Values:
Account: saving, current
Deposit Amount > 0
Partition the Invalid Input Values:
outside of valid
Test Case No Cash Account E.C.P Output
1 5000 Saving valid Successful
2 -1 Current invalid Unsuccessful

3 2000 Current valid Successful

Inputs: Transfer Amount


Partition the Valid Input Values:
Transfer Amount <= Balance
Balance = 20000
Account: saving, current
Partition the Invalid Input Values:
outside of valid
Test Case Cash Balance Account E.C.P Output
No
1 5000 10000 Current valid Successful
2 25000 5000 Current invalid Unsuccessful

3 2000 15000 Saving valid Successful

You might also like