Wednesday, January 21, 2009

Test Cases For Withdraw Module In Banking

test case for withdraw module in banking proj...

Step1: when the balance in the account is nill, try to withdraw some amount(amount>0) should display msg as " insufficient funds in acc"
step 2:when the account has some balance amount, try to withdraw amount(amount>balance amount in account), should display "insufficient funds in acc"
step 3: when the account has some balance amount, enter a amount (amount<=balance amount), should withdrawn correct amount from account. step 4: when the account has some balance amount, enter the amount as 0, should display msg as withdrawl amount should be > 0 and should be in multile of hundreds( varies depending on reqs docs).
In the case of Minimum balance mandatory in the Account:
step 5: When the account has balance amount, try to withdraw whole amount , should display msg as " Minimum balance should be maintained".
step 6: When the account has balance amount=minimum balance, try to withdraw any amount , should display msg as " Minimum balance should be maintained".

No comments:

Post a Comment