Sunteți pe pagina 1din 44

Test case ID Test case Name Description/ Objective

TC_01 Test page UI Check all fields display on test page

Check Search Group Verify Search Group(s) from displayed list


from list (Left side)

Check for Empty Check if fields are empty and/or editable


Validations

Check for Empty Check if fields are empty and/or editable


Validations

Check Search Group


TC_02 Verify Search Group(s) from displayed list
from list (Left side)
Check for Empty
TC_03 Check if fields are empty and click on save
Validations

Check 'Group Search' by Check 'Group Search' save by entering code,


TC_04 entering field values GroupName, or by Sr. No

Modify/ edit' searched Check Modify Group Information/ record


TC_05 Group and 'Save 'record

Cancle' modified Group Check When user clicks on cancle Click, for
TC_06 modified group/ record , Information unable
information. to saved.
Check When user clicks on Delete Click, for
TC_07 Delete searched Group searched group, group delete successfully.

Search Group' by Check 'Search Group' by entering 'Code' field


TC_08 entering 'Code' field value, by keeping Group Name and Sr. no. field
value value are empty.

Search Group' by Check 'Search Group' by entering 'Group


TC_09 entering 'Group Name' Name' field value, by keeping Code and Sr. no.
field value field value are empty.

Check for Empty Group Check if the empty Group Name Record is
TC_10 name Validations Allowed.

Check for Empty SR.no


TC_11 Check if the empty Sr.no Record is Allowed.
Validations.
Check for empty Search Check if the empty Search Record is Allowed.
TC_12 records Window.

Check for empty Search Check if the empty Search Record is Allowed.
TC_13 records window .

Check for New Click Check if New Click Functionality Clears all the
TC_14 Functionality Fields After saving a previous record.

Check for Next Click Check if Next Click Allow to Fetch next record
TC_15 Functionality by Queue

Check for Previous Click Check if Previous Click Allow to Fetch Previous
TC_16 Functionality record by Queue
Check for Delete Click Check if delete Click allow to Delete selected
TC_17 Functionality Record in Queue.

Check for Modify Click


TC_18 check if Modify Click Allow to Edit the Fields.
Functionality

Check for Search Click


TC_19 Check if Search Click Display Record
Functionality

TC_20 Report alinment Report alinment and font

TC_21 Form Name Form name and font


TC_22 Form save and modify Form save and modify

TC_23 Group Name Saving the blank name and srno

TC_24 srno blank data Saving the blank in srno

Allowing Duplicate Value Allowing duplicate value in the group and


TC_25 srno.

check the functionality after clicking on the new button error popup
TC_26 of new button should be disappear
Space should not be
accepted in the starting space should be not accepted in the starting
TC_27 of the text box
of the text box

Only space should not only space should be not accepted in the the
TC_28 be accepted in the text text box
box.

Special characters
should not be inserted in Special characters should not be inserted in
TC_29 the group name text the group name text box.
box.

Next button should be next button should not be enable in the end of
TC_30 disbale while we are in the record
last record

previous button should previous button should not be enable in the


TC_31 be disbale while we are end of the record.
in last record
CODE and ID are same but with different
TC_32 Code and ID names.

After getting an error for providing group


TC-33 Error Icon name then try to create a new group name
pre-condition steps to be followed

Pharma Inventory allow to display Menu bar list, 1) Go to Pharma Inventory module
Search panel, Save, Delete, Cancle, print, 2) Sign In with valid username and password
Previous,Next, Refresh Clicks, group panel with code 3) Observe all fields/ record, appear in proper
text-box, GroupName Text-box and Sr.No text-box. place

1) Go to Pharma Inventory module


2) Sign In with valid username and password
Allow search 'Group' to user. 3) Observe all fields/ record, appear in proper
place
4) Go to Search Panel (left side of Page)

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Allow/ Need to display alert message place
4)Do not take any action
5) Keep fields value empty.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Allow/ Need to display alert message place
5)Do not take any action
6) See for Tool strip

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Allow search 'Group' to user. place
4) Go to Search Panel (left side of Page)
5) Enter Group Name
6) Click Enter
1) Go to Pharma Inventory module
2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Allow/ Need to display alert message place
5) Keep fields value empty
6) Click on save

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
Allow to display group record
6) Enter Group name
7) Enter Sr. No.
8) Click on Save

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
5) Enter Code:Auto (7)
6) Enter Group name:Sample Group
Allow to modify/ edit Group information 7) Enter Sr. No.12
8) Click on Enter
9) Select group/ record
10) Click on Modify (for Searched group)
11) Edit information as per
Sr.no:13
12) Click on Save

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
5) Enter Code
Allow to cancle 6) Enter Group name
7) Enter Sr. No.
8) Select group/ record
9) Click on Modify (for Searched group)
10) Edit information as per
11) Click on Cabcle
1) Go to Pharma Inventory module
2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
Allow to Deleted Group 5) Enter Code
6) Enter Group name
7) Enter Sr. No.
8) Click on Save

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Allow to Search Group place
4)Click On Search Click.
5)enter the group name and search.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
Allow to Search Group 5) Keep empty Code
6) Enter Group name
7) Keep empty Sr. No.
8) Click on Save

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
Allow/ Need to display alert message 5) Keep empty Code
6) Keep Empty Group name
7) Enter empty Sr. No.
8) Click on Save

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
Allow/ Need to display alert message 5) Keep empty Code
6) enter Sample Group name
7) Enter empty Sr. No.
8) Click on Save
1) Go to Pharma Inventory module
2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Need to Display Empty Search Records. place
5) Delete All the Records
6) Click on Save.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Need to Display Empty Search Records. place
5) Delete All the Records
6) Click on Save.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
Need to clear all field. 5) Code
6) Enter Group name
7) Enter Sr. No.
8) Click on Save
9)Click New.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Need to Fetch Next Record in Queue. place
5) Select random record.
6) Click Next.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Need to Fetch Previous Record in Queue. place
5) Select random record from Search window
6)Enter
7) Click Previous.
1) Go to Pharma Inventory module
2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Need to Delete Selected Record in Queue. place
5) Select random record from Search window
6)Enter
7) Click Previous.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
Need to allow Edit place
5) Select random record from Search window
6)Enter
7) Click Modify.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
Need to Fetch record 3) Observe all fields/ record, appear in proper
place
4)Click On Search Click.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
3) Select a Group and click on the print icon.
4)Select particular group or all to generate the
report.

1) Go to Pharma Inventory module


2) Sign In with valid username and password
1) Go to Pharma Inventory module
2) Sign In with valid username and password.
3)select new file then click on save button it
will show you error .
After
4)Select other group to modify.

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3) select new button then in the group name
provide space then try to save the group.

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3) select new button then in the srno filed
provide space then try to save the group.

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3)Click on the new button and create a group
name and srno with null value and then save.
4)repeat the process from 1 to 3 again

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3) click on
the masters module after that click on the
group. 4)click on
new. 5)
error popup should be disappear. without filling the data click on the save
button.
6) error message popup will display , after
that click on the cancle button.
7)click on the new button and observe the
issue.
1) Go to Pharma Inventory module
2) Sign In with valid username and password.
3) click on the masters after that click on the
group. 4)click on the new .
space should be not accepted in the starting of the 5) enter space in the
text box starting of text box and enter any data.
6) click on the save button
then click on the ok button.
7) click on the search button and
see the record inserted and observe the issue.

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3) click on the masters after that click on the
group. 4)click on the new .
5) enter only space in
only space should be not accepted in the the text box the text box. 6) click
on the save button then click on the ok
button. 7)
click on the search button and see the record
inserted and observe the issue.

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3) click on the masters after that click on the
Group form should be open. group. 4)click on the new .
5) enter special
characters in the text box and observe the
issue.

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3) click on the masters after that click on the
atleast one record should be open. group. 4) click on the master click on the
group 5) click on the search then after select
any record. 6) click on the next button till last
record & observe the issue.

1) Go to Pharma Inventory module


2) Sign In with valid username and password.
3) click on the masters after that click on the
atleast one record should be open. group. 4) click on the master click on the
group 5) click on the search then after select
any record. 6) click on the previous button till
last record & observe the issue.
1) Go to Pharma Inventory module
2) Sign In with valid username and password
3) Observe all fields/ record, appear in proper
place
5) Keep empty Code
6) Keep Empty Group name
7) Enter empty Sr. No.
8) Click on Save
AFTER
9)Click on the new Button
Test data Expected result

Observe all fields/ record, in proper It should display all fields/added records in proper
place place as per design document.

Move cursor to Search Pannel (Left The search pannel should be highlighted when cursor is
side of page) moved on search pannel.

Code : Non-editable(Auto- It should display code field as non-editable and auto-


incremented) incremented.
Group Name : (Keep Blank) Group Name and Sr.No should be blank.
Sr. No. : (Keep Blank)

Code : Non-editable(Auto-
incremented) When there is no input in group name and s.no only
'Cancle' and 'Print' options should be active or
Group Name : (Keep Blank) clickable.All other options should be non clickable.
Sr. No. : (Keep Blank)

Enter : Group 2 It should search/ display Group from list : 'Group 2'
Code : Non-editable(Auto-
incremented) It should display alert messages for fields(*), as 'Please
Group Name : (Keep Blank) enter proper value to search a group'.
Sr. No. : (Keep Blank)
Click on Save

Code :7 It should display searched Group record


Group Name : Sample group
Sr. No. : 30
Click on Save

Code : 7
Group Name : Sample group Searched Group Information display to user for edit the
Sr. No. : 12 group record.
Click on Modify
Modify/ Edit Group record
Sr.no:13
Click on Save

Code : 7
Group Name : Sample group It should cancle to save all modifed information of
Sr. No. : 13 group
Click on Modify
Modify/ Edit Group record
Click on Cancle
Code : 7 It should delete the mentioned record
Group Name : Sample group
Sr. No. : 13
Click on Delete

Code : 7 Group should serched successfully.


Group Name : (Keep Blank)
Sr. No. : (Keep Blank)
Click on Save

Group Name : Sample Group Group should searched successfully.

Code : (Keep Blank) Need to display alert message


Group Name : (Keep Blank)
Sr. No. : 33
Click on Save

Code : (Keep Blank) Error Messageshould not be Display. save record is


Group Name : Group123 allowed.
Sr. No. : (Keep Blank)
Click on Save
Code : Sample Code(If Record has
No Subgroups) Need to display Empty search Records.
Group Name : (Keep Blank)
Sr. No. :
Click on Save

Code : Sample Code(If Record has


Subgroups) Need to display Alert message.
Group Name : (Keep Blank)
Sr. No. :
Click on Save

Code : Sample Code


Group Name : Sample Group Name Need to Clear group name and Sr no Field.
Sr. No. : Sample Sr. No.
Click on Save
Click New.

Code : 1
Group Name : Group 1
Sr. No.113 Need to fetch Next Record in Queue.
Click Next.
Sample:Sample Group
Sr. No.7

Code : 7
Group Name : Sample Group
Sr. No.13 Need to fetch Previous Record in Queue.
Click Previous.
Sample :Group 1
Sr. No.7
Code :10 Need to Delete Selected Record.
Group Name : Group987
Sr. No.987
Click Delete.

Select Record
Click Modify
Code : 10 user Able to Edit/modify Record.
Group Name : Group987
Sr. No.988
Click Save.

Select Search it should fetch respective record


select any record

Printed Group1 Alinment should be proper

Name should be in the center


It should allow us to modify without error

It should show error.

It should show error.

It should show error.

click on the masters and after that


click on the group. Without
filling the data click on the save
button. Click on the Error message popup should be disappear.
cancle button. Click on the
new button.
click on the masters.
Click on the group.
Click on the new.
Group name = Space should not be accepted in the starting of the text
' sachin'(spacebar+data). box.
Click on save.
Click and search button and see the
record inserted.

click on the masters.l.


Click on the group.
Click on the new.
Group name = Only space should not be accepted in the text box.
' '(spacebar).
Click on save.
Click and search button and see the
record inserted.

click on the masters..


Click on the group.
Click on the new. It should not allow any special character in Group
Group name = @#$$ OR #$@! Name
sachin. OR sachin^%&%

At the last record selection next button should be


disable.

At the last record selection Previous button should be


disable.
CODE and ID should have same name in both form and
list for easy convienence

Code : (Keep Blank)


Group Name : (Keep Blank) It will allow us to save new group without any error
Sr. No. : 33 sign
Click on Save
AFTER
Create a new Group Name
Actual result Status (pass/ fail)

Pass

The search pannel


should be highlighted Pass
when cursor is moved
on search pannel.

Pass

Save and cancel


option is active all
other option are non Fail
clickable

It shows only Group 2 Pass


It Shows us error
while saving the Pass
group name

It is visible in the Pass


Group

It is visible in the Pass


Group

Sr.No show 13 Pass


Record/Group is
removed from the list Pass

It search the exact


Group for specified Pass
Code/ID

It show us the Group


name sample along Pass
with sr.no

it is showing error Pass

It will save the Group


name without any Fail
error
It will not allow you
to delete all the pass
group

yes it clear the Pass


previous record

yes it fetech the next pass


record from the list

It retrived the pass


previous record
deleted the selected pass
record

Yes can modify the Pass


record

it retrived the pass


searched record

They are not proper


lines are not properly
placed .
There shoulud be
space between the Fail
date and report.
Column name is
underline.

Form name is in right Fail


side of the report
It will allow us to
modify and save the
data but there is error Fail
sign popup while
modifying the group

created new group Fail


name with blank

Created new group Fail


with blank srno

It created duplicate Fail


value

it is still showing error Fail


message
It is accepting the fail
space

It is accepting the Fail


space

It is accepting
special ,character in Fail
the Group Name field

It is visible at last Fail


record of the list

It is visible at the first


Record as there is no Fail
other record to
retrive
They are different in Fail
names

It is allowing us but
with the error sign Fail
still there
Test case Test case Name Description/ Objective
ID

TC_01 Test page UI Check all fields display on test page

Check Search Group


TC_02 Verify Search product from displayed list
from list (Left side)

TC_03 Product Name enter values in product

TC_04 After TC_03

Tc_05 Manufacturer Name Enter blank value in the manufacturer name


TC_06 Box Quantity Enter blank value in the Box Quantity

After saving the


TC_07 Observing the field after saving the data
record

TC_08 Previous button Observing the work of previous button

TC_09 Next button observing the work of afte button

TC_10 Report UI Observing the UI of the form


TC_11 Cancel Option Observing the Cancel Option after print

Tc_12 Refresh botton Refresh botton


Expected
pre-condition steps to be followed Test data result

Pharma Inventory allow to 1) Go to Pharma Inventory It should display


display Menu bar list, Search module Observe all fields/ all fields/added
panel, Save, Delete, Cancle, 2) Sign In with valid username record, in proper place asin
records proper
print, Previous,Next, Refresh and password per
Clicks, group panel with code place
3) Observe all fields/ record, design
text-box, GroupName Text-box appear in proper place document.
and Sr.No text-box.

1) Go to Pharma Inventory
module The search
2) Sign In with valid username pannel should be
Move cursor to
Allow search 'Product' to user. and password highlighted when
Search Pannel
3) Observe all fields/ record, (Left side of page) cursor is moved
appear in proper place on search
4) Go to Search Panel (left side pannel.
of Page)

1) Go to Pharma Inventory
module
2) Sign In with valid username it will not save
and password the data and
3)Enter value in the product through the
name(blank) error
4)filled all the value in the
specified field

1)All the step in the Step TC_03. it will start from


2)click on the new button the new

1) Go to Pharma Inventory
module
2) Sign In with valid username
and password It will through
3)Enter blank value in the you the error
manufacturer name.
4)filled all the value in the
specified field
1) Go to Pharma Inventory
module
2) Sign In with valid username
and password It will through
3)Enter blank value in the you the error
Quantity.
4)filled all the value in the
specified field

1) Go to Pharma Inventory
module
2) Sign In with valid username
and password It start from the
3)Enter all the value in the field new
if there is any blank value it will
show you the error.
4) After saving the record
5)click on the new button

1) Go to Pharma Inventory After reaching


module the last value
2) Sign In with valid username previou button
and password should be
3)click on the search button the disable
click on the first value of the list

1) Go to Pharma Inventory After reaching


module the last value
2) Sign In with valid username Next button
and password should be
3)click on the search button the disable
click on the first value of the list

The name of the


1) Go to Pharma Inventory form should be
module In the middle of
2) Sign In with valid username the form so that
and password user can know
1) Go to Pharma Inventory
module
2) Sign In with valid username
and password
3)click on the search button and it will display the
click on the item you want to cancel button
print
4)click on print
5)click on the cancel button
then boserve the issue

1) Go to Pharma Inventory Refresh botton


module should be
2) Sign In with valid username displayed
and password
Status
Actual result (pass/
fail)

As expected Pass

The search pannel should


be highlighted when cursor pass
is moved on search pannel.

it saved the data with error fail

It is showing the error in


the prodiuct name after
clicking on the new button fail
also.

it is showing error in the


manufacturer name but fail
also save the data
it is showing error in the
Box Quantity but also save fail
the data

It is showing the errorsigh


after clicking on new fail
button

after reaching on the top


value it is allowing us to fail
click on the previous
button

After reachiing on the


bottom of the list the next fail
button is still allow us to
click on the next button

The name of the form is in


the rifht sde corner of the fail
form
cancel button is disable. fail

Refresh botton is disable fail


Description/
Test case ID Test case Name pre-condition
Objective

Pharma Inventory
allow to display Menu
bar list, Search panel,
Save, Delete, Cancle,
Check all fields display on print, Previous,Next,
TC_01 Test page UI test page Refresh Clicks, group
panel with code text-
box, GroupName
Text-box and Sr.No
text-box.

TC_02 Form Name Check for form name


steps to be followed Test data Expected result Actual result

1) Go to Pharma Inventory
module Observe all fields/ It should display all fields/added
2) Sign In with valid username record, in proper records in proper place as per design
and password place document.
3) Observe all fields/ record,
appear in proper place

1) Go to Pharma Inventory
module
2) Sign In with valid username
and password
3)
Status (pass/ fail)

Pass

S-ar putea să vă placă și