Вы находитесь на странице: 1из 87

Project Name PrimusBank Reviewed By

Document FRS,Test Reviewed


Reference scenerio Date
Author Ranga Approved By

Creation Date Approved


Date
Test case Id Test scenerio Requirement Id Step name

Admin login (P
TC_001 TS_001 REQ_001 Step-1

Step-2

Step-3

Step-4

Admin login (N
TC_002 TS_001 REQ_001 Step-1
Step-2

Step-3

Step-4

Step-5

Branches
TC_003 TS_002 REQ_002 Step-1

Step-2

Step-3

Branch creation
TC_004 TS_002 REQ_002 Step-1

Step-2

Step-3

Step-4

Step-5

Step-6

Step-7
Step-8

Step-9

Step-10

Step-11

Step-12

Step-13

Step-14

Step-15

Step-16

Step-17
Step-18

Step-19

Step-20

Step-21

Branch creatio
TC_005 TS_002 REQ_002 Step-1

Step-2

Step-3

Step-4
Step-5

Step-6

Step-7

Step-8

Step-9

Step-10

Step-11
Step-12

Step-13

Branch Updati
TC_006 TS_002 REQ_002 Step-1

Step-2

Step-3

Step-4

Branch d
TC_007 TS_002 REQ_002 Step-1

Step-2
Step-3

Role creation
TC_008 TS_003 REQ_003 Step-1

Step-2

Step-3

Step-4
Step-5

Step-6

Step-7

Step-8

Step-9

Step-10

Step-11

Step-12

Step-13

Step-14

Step-15

Step-16
Step-17

Step-18

Role creation
TC_009 TS_003 REQ_003 Step-1

Step-2

Step-3

Step-4

Step-5

Step-6

Step-7
Step-8

Role Updation
TC_010 TS_003 REQ_003 Step-1

Step-2

Step-3

Step-4

Step-5

Role deletion
TC_011 TS_003 REQ_003 Step-1

Step-2
Step-3

Step-4

Users search
TC_012 TS_004 REQ_004 Step-1

Step-2

Step-3

Step-4

Step-5

Users Creation
TC_013 TS_004 REQ_004 Step-1

Step-2

Step-3

Step-4

Step-5

Step-6
Step-7

Step-8

Step-9

Step-10

Step-11

Step-12

Step-13

Step-14

Step-15
Step-16

Step-17

Step-18

Step-19

Step-20

Step-21

Step-22
Step-23

Step-24

User Creation
TC_014 TS_004 REQ_004 Step-1

Step-2

Step-3

Step-4

Step-5
Step-6

Step-7

Step-8

Step-9

Step-10

User
TC_015 TS_004 REQ_004 Step-1
Step-2

Step-3

Step-4

User
TC_016 TS_004 REQ_004 Step-1

Step-2

Step-3

Step-4

Employee Creati
TC_017 TS_005 REQ_005 Step-1
Step-2

Step-3

Step-4

Step-5

Step-6

Step-7

Step-8
Step-9

Step-10

Step-11

Step-12

Step-13

Step-14

Step-15

Step-16

Employee Creatio
TC_018 TS_005 REQ_005 Step-1

Step-2

Step-3

Step-4

Step-5

Step-6

Step-7
Step-8

Step-9

Employe
TC_019 TS_005 REQ_005 Step-1

Step-2

Step-3

Step-4

Employ
TC_020 TS_005 REQ_005 Step-1
Step-2

Step-3

Step-4
Pre condition Description Expected result

Admin login (Positive test)


Required valid URL 1. Enter URL firefox System should
browser. displays home page
2. Click on go button. of Primus bank.

1. Enter valid user System should


name. displays welcome to
2. Enter valid password. admin page.
3. Click on login button.

Click on Change System displays


password Change Password
Page.
Click on logout button System should
displays home page
of Primus bank.

Admin login (Negative test)


1. Enter URL firefox System should
browser. displays home page
2. Click on go button. of Primus bank.
1. Enter invalid user System should
name. displays alert
2. Enter valid password. message.
3. Click on login button.

1. Enter valid user System should


name. displays alert
2. Enter invalid message.
password.
3. Click on login button.

1. Enter invalid user System should


name. displays alert
2. Enter invalid message.
password.
3. Click on login button.

1. Leave user name and System should


password blank. displays alert
2. Click on login button. message.

Branches (Branch search)


Admin should be logged Click on branches. System should
in. display branch
details page.
1.Select country. System should
2. Select state. display branches
3. Select city. based on selected
4. Click on search criteria.
button.
Click on clear button System should clear
all fields and displays
all branches.

Branch creation with positive test


Admin should be logged Click on branches. System should
in. display branch
details page.
Click on new branch. System should
display new branch
entry page with
following fields.
1. Branch name
2. Address1
3. Address2
4. Address3
5. Area
6. Zipcode
7. Country
8. State
9. City
10.Submit
11.Reset
12. Cancel

Enter branch name System should


with minimum 6 accept.
characters.
Enter address1 with System should
minimum 4 characters. accept.

Enter zip code with 5 System should


numericals. accept.
1. Select country System should
2. Select state displays a message
3. Select city new branch created
4. Click on submit successfully with
branch Id.

Click on ok. System should


display branch
details page.
Enter branch name System should
with maximum 40 accept.
characters.
Enter address1 with System should
maximum 50 accept.
characters.
Enter address2 with System should
maximum 50 accept.
characters.
Enter address3 with System should
maximum 50 accept.
characters.
Enter area with System should
maximum 50 accept.
characters.
Enter zip code with 5 System should
numericals. accept.
1. Select country System displays a
2. Select state message new branch
3. Select city created successfully
4. Click on submit with branch Id.

Click on ok. System should


display branch
details page.
1. Fill all mandatory System displays a
fields with minimum+1 message new branch
characters. created successfully
2. Click on Submit with branch Id.
button.

Click on ok. System should


display branch
details page.
1. Fill all mandatory System displays a
fields with maximum-1 message new branch
characters. created successfully
2. Click on Submit with branch Id.
button.

Click on ok. System should


display branch
details page.
1. Fill all mandatory System should clear
fields. all fields.
2. Click on reset button.

Click on cancel button. System should close


new branch entry
page and navigate to
branch details page.

Branch creation with negative test


Admin should be logged Click on branches. System should
in. display branch
details page.
Click on new branch. System should
display new branch
entry page.
Enter branch name System should
with minimum-1 display a message "
characters. This field should be
with in 6-40
characters range."
Enter address1 with System should
minimum-1 characters. display a message "
This field should be
with in 4-50
characters range."
Enter branch name System should
with maximum+1 display a message "
characters. This field should be
with in 6-40
characters range."
Enter address1 with System should
maximum+1 characters. display a message "
This field should be
with in 4-50
characters range."
Enter address2 with System should
maximum+1 characters. display a message "
This field should be
with in 4-50
characters range."
Enter address3 with System should
maximum+1 characters. display a message "
This field should be
with in 4-50
characters range."
Enter area with System should
maximum+1 characters. display a message "
This field should be
with in 4-50
characters range."
1. Leave all mandatory System should
fields with blank. display alert
2. Click on submit message.
button.

Enter invalid characters System should


in branch name. display a message "
This field should be
alpha numeric starts
with an alphabet.
Enter invalid characters System should
in zip code. display a message "
This field should be
numericals.
1. Enter branch name System should
with duplicate. display a message "
2. Fill all mandatory This branch already
fields. exists".
3. Click on submit
button.
Branch Updation
Admin should be logged Click on branches. System should
in. display branch
details page.
Select required branch System should
and click on edit display branch
button. updation page.
1. Modify necessary System should
fields in branch display branch
updation page. updated successfully.
Click on ok. System should
display branch
details page.
Branch deletion
Admin should be logged Click on branches. System should
in. display branch
details page.
Select required branch System should
and click on delete. display "Are you
sure you want to
delete".
Click on yes. 1. System deletes
selected branch (if
there is no
dependency) and
displays a message "
Branch deleted
successfully."
2. If dependency
exists, system will
not allow to delete
and displays a
message " its a
shared record, can
not be deleted."

Role creation with positive test


Admin should be logged Click on roles. System displays
in. Roles details page.
Click on new role. System should
display new role
entry page with
following fields.
1. Role name
2. Role description
3. Role type
4. Submit
5. Reset
6. Cancel
Enter role name with System should
minimum 4 characters. accept.

1. Select role type. System displays a


2. click on submit. message “New Role
Created successfully
with Role Id”
Click on ok. System displays
Roles details page.
Enter role name with System should
maximum 30 accept.
characters.
Enter role description System should
with maximum 50 accept.
characters.

1. Select role type. System displays a


2. click on submit. message “New Role
Created successfully
Click on ok. System displays
Roles details page.
Enter role name with System should
minimum+1characters. accept.

1. Select role type. System displays a


2. click on submit. message “New Role
Created successfully
Click on ok. System displays
Roles details page.
Enter role name with System should
maximum-1(29) accept.
characters.
Enter role description System should
with maximum-1 (49) accept.
characters.

1. Select role type. System displays a


2. click on submit. message “New Role
Created successfully
Click on ok. System displays
Roles details page.
1. Fill all mandatory System clears all
fields. fields.
2. Click on reset button.

Fill all fields with valid System closes the


data or with out data new role entry page
click on cancel button. and displays roles
details page.
Role creation with negative test
Admin should be logged Click on roles. System displays
in. Roles details page.
Click on new role. System should
display new role
entry page.
Enter role name with System should
minimum-1 (3) display a message “It
characters. should be with in 4
– 30 chars in length”

Enter role name with System should


maximum+1 (31) display a message “It
characters. should be with in 4
– 30 chars in length”

Enter role description System should


with maximum+1 (51) display a message
characters. “This Field should be
Enter role name with max of 50
System chars.
should
invalid characters. display a message
“This field should be
alphabets only”
1. Leave all mandatory System should
fields with blank. display “Please fill in
2. Click on submit the following fields –
button. Role Name Role
1. Enter role name with System should
duplicate. display “This Role
2. Select role type. already exists”
3. Click on submit
Role Updation
Admin should be logged Click on roles. System displays
in. Roles details page.
Select respective role System should
to be updated and click display role updation
on edit. page.
1. Modify necessary System displays a
fields with valid data in message “Roles
role updation page. Updated
2.Click on update Successfully”
button.

Click on ok. System displays role


details page.
Update necessary System closes the
fields with valid data or Update role page
with out entering any and displays roles
fields clicks Cancel. details page.

Role deletion
Admin should be logged Click on roles. System displays
in. Roles details page.
Select required role System displays a
and click on delete. message “Are you
sure you want to
delete this record”
Click on yes. 1. System deletes
selected role (if
there is no
dependency) and
displays a message "
role deleted
successfully."
2. If dependency
exists, system will
not allow to delete
and displays a
message " its a
shared record, can
not be deleted."

Click on cancel button. System should


displays roles details
Users search
Admin should be logged Click on Users. System displays
in. Users details page.
Select Branch System displays list
of branches in
branch List box.
Select Role System displays list
of roles in roles List
box
Click on search. System displays user
record based on the
selection criteria.

Click on clear. System Clears


selected criteria
displays all users
records.
Users Creation with positive test
Admin should be logged Click on Users. System displays
in. Users details page.
Click on new user. System displays New
user creation Page.
With following fields
1. Role
2. Branch
3. Customer Id
4. Customer name
5. User name
6. Login password
7. Transaction pass
word
8. Submit
9. Reset
10. Cancel

Enter user name with System should


minimum 4 accept.
alphanumerics.
Enter login password System should
with minimum 4 accept.
characters.

Enter transaction System should


password with accept.
minimum 4 characters.

Select customer Id System should


accept and display
customer's name in
automatically in the
respective field.
1. Select branch. System should
2. Select role type. display a message
3. Click on submit "New user created
button successfully"

Click on ok. System displays User


deatails page.
Enter user name with System should
minimum+1 (5) accept.
alphanumerics.
Enter login password System should
with minimum+1 (5) accept.
characters.

Enter transaction System should


password with accept.
minimum+1 (5)
characters.
Select customer Id System should
accept and display
customer's name in
automatically in the
respective field.

1. Select branch. System should


2. Select role type. display a message
3. Click on submit "New user created
button successfully"

Click on ok. System displays User


deatails page.
Enter user name, login System should
password, transaction accept.
password with
maximum 16
characters.
Select customer Id System should
accept and display
customer's name in
automatically in the
respective field.

1. Select branch. System should


2. Select role type. display a message
3. Click on submit "New user created
button successfully"

Click on ok. System displays User


deatails page.
Enter user name, login System should
password, transaction accecpt.
password with
maximum-1 (15)
characters.

Select customer Id System should


accept and display
customer's name in
automatically in the
respective field.

1. Select branch. System should


2. Select role type. display a message
3. Click on submit "New user created
button successfully"

Click on ok. System displays User


deatails page.
Enter necessary fields System should clear
with valid data, select all fields.
respective fields and
clicks on Reset button.

Enter necessary fields System closes the


with valid data or with new user creation
out entering any fields page and displays
click on cancel. user details page.

User Creation with Negative test


Admin should be logged Click on Users. System should
in. display Users details
page.
Click on new user. System displays New
user creation Page.

Enter user name with System should


minimum -1 (3) display a message “It
alphanumerics. should be with in 4 -
16 chars in length”

Enter login password System should


with minimum-1 (3) display a message “It
characters. should be with in 4 -
16 chars in length”

Enter transaction System should


password with display a message “It
minimum-1 (3) should be with in 4 -
characters. 16 chars in length”
Enter user name with System should
maximum+1 (17) display a message “It
characters. should be with in 4 -
16 chars in length”

Enter login password System should


with maximum+1 (17) display a message “It
characters. should be with in 4 -
16 chars in length”

Enter transaction System should


password with display a message “It
maximum+1 (17) should be with in 4 -
characters. 16 chars in length”

1. Leave all mandatory System should


fields with blank. display “Please fill in
2. Click on submit the following fields
button. User name, login
password,Transactio
n password,Role
type,Branch,Custome
r Id and Customer
name"

Enter User name with System should


invalid characters. display a message
“This field should be
alphanumeric only”

User Updation
Admin should be logged Click on Users. System should
in. display Users details
page.
Select required User to System displays user
update and click on updation page.
Edit.
Modify necessary fields System displays a
and click on Update message “User
button. Updated
successfully”
Modifies necessary System closes the
fields with valid data or user updation page
with out modifying any and displays user
fields clicks Cancel. details page.

User Deletion
Admin should be logged Click on Users. System should
in. display Users details
page.
Select one user and System displays a
click on delete. confirmation
window with “Yes”
and “No” options.

Click on yes. System deletes the


user.
Click on NO System shouldnot
delete user record
and displays user
details page.
Employee Creation with Positive test
Admin should be logged Click on Employee. System should
in. display Employee
details page.
Click on new Employee. System displays New
Employee Entry
Page with following
fields.
1. Employer name
2. login password
3. Role
4. Branch
5. Submit
6. Reset
7. Cancel
Enter Employee name System should
with minimum 4 valid accept.
characters.
Enter login pass word System should
with minimum 4 valid accecpt.
characters.
1. Select Role. System displays a
2. Select Branch message “Employee
3. Click on submit. Created Successfully
with Employee ID”

Click on ok. System should


display Employee
details page.
Enter Employee name System should
with maximum 16 valid accept.
characters.

Enter login password System should


with maximum 16 valid accept.
characters.
1. Select Role. System displays a
2. Select Branch message “Employee
3. Click on submit. Created Successfully
with Employee ID”

Click on ok. System should


display Employee
details page.
1. Fill all mandatory System displays a
fields with minimum+1 message “Employee
(5) valid characters. Created Successfully
2. Click on Submit with Employee ID”
button.

Click on ok. System should


display Employee
details page.
1. Fill all mandatory System displays a
fields with maximum-1 message “Employee
(15) valid characters. Created Successfully
2. Click on Submit with Employee ID”
button.

Click on ok. System should


display Employee
details page.
Enters necessary fields System clears all
with valid data and fields.
clicks Reset.
Enters necessary fields System closes the
with valid data or with new Employee entry
out entering any fields page and displays
clicks Cancel. Employee details
page.
Employee Creation with Negative test
Admin should be logged Click on Employee. System should
in. display Employee
details page.
Click on New Employee. System displays New
Employee Entry
Page.
Enter Employee name System should
with minimum-1 (3) display a message “It
valid characters. should be with in 4 -
16 chars in length”

Enter login password System should


with minimum-1 (3) display a message “It
characters. should be with in 4 -
16 chars in length”

Enter Employee name System should


with maximum+1 (17) display a message “It
valid characters. should be with in 4 -
16 chars in length”

Enter login password System should


with maximum+1 (17) display a message “It
valid characters. should be with in 4 -
16 chars in length”

Enter Employee name System should


with invalid characters. display a message
“This field should be
alphanumeric only”
1. Leave all mandatory System should
fields with blank. display “Please fill in
2. Click on submit the following fields
button. Employee
Name,Login
password,Role,Branc
h"
1. Enter Employee System should
name with duplicate. display “This
2. Fill all necessary Employee already
details with valid data. exists”
3. click on submit.

Employee Updation
Admin should be logged Click on Employee. System should
in. display Employee
1. Select required System displays
Employee to be Employee Update
updated. Page.
2. Click on Edit.
Modify necessary fields System displays a
with valid data and message “Updated
click on Update button. Successfully”

Update necessary System closes the


fields with valid data or Update Employee
with out entering any details page and
fields clicks Cancel. displays Employees
details page.

Employee Deletion
Admin should be logged Click on Employee. System should
in. display Employee
details page.
1. Select one Employee. System displays a
2. Click on Delete. message “Are you
sure you want to
delete this record”
with “Ok” and
“Cancel” buttons
Click Ok System displays a
message “Deletion
Successfully”

Click cancel System stops the


process
Actual result Result Test type Priority

Functional positive test


P1

Functional P1
negative test
Data base P2
Functional P1
positive test
Functional P1
negative test
P2

P2
Functional P1
positive test
Functional P1
negative test
P2
P2
Functional P1
positive test
Functional P2
negative test
Data base P2
Data base P2

Functional P1
positive test
Functional P1
negative test
Data base P2

Data base P2

Вам также может понравиться