Branch Test Cases
Important Test Cases
TC0101
User should be able to see the list and details of banks and able to view branch list and details with appropriate permissions.
TC0102
While create, enter "Name" as "DECCAN". It should be accepted.(If it does not exists already).
TC0103
While create, enter "Short Name" as "DECN". It should be accepted.(If it does not exists already).
TC0104
While create, enter "Email Id" as "kothrud@bob.com".It should be accepted.
TC0105
While create, enter "Office cell no." as "9765432180". It should be accepted.
TC0106
While create, enter "Office Tel no." as "020-25454532". It should be accepted.
TC0107
While create, enter "Address 1" as "STREET NO. 14". It should be accepted.
TC0108
While create, enter "Address 2" as "NEAR PETROL PUMP". It should be accepted.
TC0109
While create, enter "Address 3" as "BHAVANI PETH". It should be accepted.
TC0110
While create, select the "State" from the given dropdown list.It should be accepted.
TC0111
City list should be populated according to the state selected. While create, select the "City" from the given dropdown list. It should be accepted.
TC0112
While create, enter "Pincode" as "411066".It should be accpeted.
TC0113
Save Branch details after filling all given fields. Branch is created successfully. Re-directed to branch list page with a successful confirmation message.
TC0114
When edit page is opened, "Ticket ID" should be auto generated from the ticket table and field should be visible.
TC0115
While modify, "Branch ID" field should be visible and non editable.
TC0116
While modify, enter "Name" as "MULUND". It should be accepted.
TC0117
While modify, enter "Short Name" as "MLD".It should be accepted.
TC0118
While modify, enter "Office Tel No." as "022-2374998". It should be accepted.
TC0119
While modify, enter "Office Cell No." as "9876543210". It should be accepted.
TC0120
While modify, enter "Email Id" as "mulund@bob.com".It should be accepted.
TC0121
While modify, enter "Address 1" as "STREET NO. 19". It should be accepted.
TC0122
While modify, enter "Address 2" as "NEAR TEMPLE". It should be accepted.
TC0123
While modify, enter "Address 3" as "HADAPSAR". It should be accepted.
TC0124
While modify, select the "State" from the given dropdown list.It should be accepted.
TC0125
While modify, select the "City" from the given dropdown list.It should be accepted.
TC0126
While modify, enter "Pincode" as "411077".It should be accpeted.
TC0127
While deactivating any branch there should be a confirmation message requesting for confirmation with a list of reasons.
TC0128
When branch is deactivated, inactive branch details view should be available.
TC0129
When branch is deactivated, the deactivated branch should be visible in inactive branch list.
TC0130
While activating any branch there should be a confirmation message requesting for confirmation with a list of reasons.
TC0131S
Save "Branch" after updating the particular field/fields. It should be accepted(Branch is updated succefully).
Other Test Cases
TC0201
Checking Length
While create,enter "Office cell no." as "022-1234". It should not be accepted.
TC0202
Checking Length
While create,enter "Office cell no." as "022-1234567890". It should not be accepted.
TC0203
Checking Length
While create, enter "Office Tel no." as "98765". It should not be accepted.
TC0204
Checking Length
While create, enter "Office Tel no." as "9876543210987". It should not be accepted.
TC0205
Checking Length
While modify,enter "Office cell no." as "022-1234". It should not be accepted.
TC0206
Checking Length
While modify,enter "Office cell no." as "022-1234567890". It should not be accepted.
TC0207
Checking Length
While modify,enter "Office Tel no." as "98765". It should not be accepted.
TC0208
Checking Length
While modify,enter "Office Tel no." as "9876543210987". It should not be accepted.
TC0209
Checking Space
While create, enter "Email Id" as "kothrud @ gmail.com".It should not be accepted.
TC0210
Checking Space
While modify, enter "Email ID" as "Koth rud@bob.com".It should not be accepted.
TC0211
On click of "Create" link from "Branch List" screen, should be directed to "Branch Create" page.
TC0212
On click of "Inactive Branches" link from "Branch List" screen, "Inactive Branches List" should be displayed.
TC0213
When create page is visited, all the fields should be empty by default.
TC0214
Checking correctness
While create, enter "Pincode" as "4119". It should not be accepted.
TC0215
Checking correctness
While create, enter "Pincode" as "4119908". It should not be accepted.
TC0216
Checking correctness
While modify, enter "Pincode" as "419". It should not be accepted.
TC0217
Checking correctness
While modify, enter "Pincode" as "41199087". It should not be accepted.
TC0218
While create, enter "Email" as "usernamedomain.com" or "username@domainin". It should not be accpeted.
TC0220
While modify, enter "Email" as "usernamedomaincom" or "user name@domainin". It should be not accpeted.
TC0222
Checking Special Character
While create, enter "Name" as "Decca#n". It should not be accepted.
TC0223
Checking Special Character
While modify, enter "Name" as "D$ecca#n". It should not be accepted.
TC0224
While activating "Branch" select "Reason" any one from given list. Then click on "Cancel" button. Branch activation gets cancel.
TC0225
While deactivating "Branch" select "Reason" any one from given list. Then click on "Cancel" button. Branch deactivation gets cancel.
TC0226
To save, "Name" field should be compulsorily filled either in create or modify.