4. Write the test cases for any known applications (e.g.-Banking applications). Aim: To write the test cases for banking applications. Program: Known attributes to be checked: Classes
Attributes
Banks
Bank_ID Bank_Name Other_Details Branch_ID Branch_name Branch_Details Customers_ID Branch_ID Personal_Details Contact_Details Account_number Account_type_code Customer_ID Current_Balance Other_Details Transaction_ID Account_Number Transaction_TypeCode Transaction_DateTime Transaction_Amount Other_Details
Branches
Customers
Accounts
Transactions
Banking applications to be checked: 1. As a system administrator, the user a) b) c) d) e) f) g)
Can create new bank information. Can update existing bank information. Can activate a new bank account. Can deactivate an existing bank account. Can setup a bank system administrator. Can assign a user as a bank administrator. Can delete a user from the bank administrator.
2. As a bank administrator, the user a) Can update bank information. b) Can update bank administrator user information.
c) d) e) f) g)
Can create new branch information in the system. Can update existing branch information in the system. Can activate a new branch in the system. Can create branch manager information. Can delete an existing branch manager.
3. As a branch manager, the user a) b) c) d) e) f)
Can update a branch profile in the system. Can update branch employee information. Can create new customer in system. Can update existing customer on the system. Can approve customer account receipt. Can approve customer credit card request.
4. As a customer, the user a) b) c) d) e) f) g) h) i) j) k)
Can create login profile online. Can update online customer information. Can submit a new account request. Can submit account close request. Can order new checks for checking accounts. Can submit credit card requests. Can send email to bank administrator. Can transfer money to bank accounts. Can send money to other customers. Can setup bill payments. Can pay online.
Backend database verification:
a) When customer create profile online, customer information should be inserted into the customer table. b) The system should store every bank transaction for customer. c) Transactions log should have account_number, transaction_id, transaction_type, account_balance and transaction_amount. d) When a customer schedules a bill payment, the scheduling system should setup a bill payment task. e) When a customer set up a new bill payment profile, the billing system should have customer_id, account_number and bill_payment_info. f) The system should store a customer login account activity and logout information in the system.
Test cases: Test case 1: Steps
Test steps
1
Navigate to login page Provide valid username Provide valid password Click on login button
2
3
4
Test data
Expected output User should be able to login
[email protected] Credentials can be entered Password : 1234 Credentials can be entered User logged off
Actual result User should be able to login As expected
Status
notes
Pass
-
Pass
-
As expected
Pass
-
User logged off successfully
pass
-
Test case 2: Tester data: Test_case_id Created by Testers log
BU_001
Review comments from bill incorporate in v2.1
Tester’s name Date tested
1-JAN-2019
Test status Preconditions
PASS Access to chrome browser
Test data
User id - ab1234 Password - df1192@1
Test scenario: Step number 1 2 3
Step details Navigate to website Enter email id and password Click submit
Expected results Site should open
Actual results As expected
Status PASS
Credentials can be entered Customer is logged in
As expected
PASS
As expected
PASS
Test case 3: Tester data: Test_case_id Priority Description Module Prepared by Tested by
TC_Functionality_01 High Test the login Functionality in banking Main line screen
Test activities: S.NO 1 2
Step description Navigate to website Enter login id and password
Expected result Site should open Credentials can be entered
Actual result As expected As expected
Dataset 1 user1 123456
Dataset 2 [email protected] 1234322
Dataset 3 user2 qwerty@!$$
Test database: DataType Login with email and password
Test case result: PASS