You are on page 1of 7

Test Case #1 Test Case Name: User Log In

System: Payroll System Subsystem: Log in

Designed By: Designed Date:

Executed By: Execution Date:

Short Description: To test the user log in form.

Pre-condition:

-User should have a valid username & password.

-System displays the splash screen, attendance form and main menu form.

Step Action Expected System Passed/Fail Comment


Response ed
1 User runs the Splash screen is
program displayed for 5
seconds &
attendance form will
show
2 User must press The Log in form will
CTRL+F1 be displayed
3 User enters The main menu will
username and be displayed
password and
click log in
4 User clicks the It will bring back to
back button attendance form
5 User clicks exit It will exit current
form session
Test Case #2 Test Case Name: Print Pay slip

System: Payroll System Subsystem: Pay slip

Designed By: Designed Date:

Executed By: Execution Date:

Short Description: To test print pay slip.

Pre-condition:

-User must have a printer.

-System displays the pay slip of the worker.

Step Action Expected System Passed/Fail Comment


Response ed
1 User clicks print System will ask if
button user really want to
print
2 User clicks yes The print option will
be displayed
3 User click no Will go back to pay
slip form
4 User clicks the It will bring back to
close pay slip searching
button form
5
Test Case #4 Test Case Name: View worker
records

System: Payroll System Subsystem: Worker


records

Designed By: Designed Date:

Executed By: Execution Date:

Short Description: To test view the worker records.

Pre-condition:

-User should enter the workers ID.

-System displays the list of all worker records.

Step Action Expected System Passed/Fail Comment


Response ed
1 User enter It will display the
worker ID and specific worker info
search
2 User press Show It will display all the
all current workers info
button
3 User clicks edit If there is no selected
button record, it will say
Please select record
to update
4 User clicks the If there is selected
edit record, it will ask if
button the user want to
update the record
5 User clicks yes It will bring to edit
worker form for
editing info
6 User clicks It will update the new
submit records
7 User clicks Will bring back to
no/cancel worker records
8 User clicks the If there is no selected
delete button record, it will say
Please select record
to remove
9 User clicks the If there is selected
delete button record, it will ask if
the user want to
delete the record
10 User clicks yes It will delete selected
worker record
11 User clicks no Will bring back to
worker records
12 User clicks close It will bring back to
button main menu

Test Case #3 Test Case Name: Search pay slip

System: Payroll System Subsystem: Pay slip

Designed By: Designed Date:

Executed By: Execution Date:

Short Description: To test searching the pay slip of workers.

Pre-condition:

- User will have an option if he wants to search pay slip by ID or Name

-User should enter the workers ID or name of worker.

-System displays the list of all workers pay slip.

Step Action Expected System Passed/Fail Comment


Response ed
1 User select If there is no record
worker ID drop for that worker ID,
down button, the system will say
user must input sorry no data found
worker ID and but if there is record
clicks search it will go to selected
worker pay slip
2 User select If there is no record
worker name for that worker name,
drop down the system will say
button, user sorry no data found
must input but if there is record
worker name it will go to selected
and clicks search worker pay slip
3 User clicks close Will bring back to
button main menu
4
5

Test Case #5 Test Case Name: View main


menu

System: Payroll System Subsystem: Main menu

Designed By: Designed Date:

Executed By: Execution Date:

Short Description: To test view the main menu.

Pre-condition:

-System displays the main menu.

Step Action Expected System Passed/Fail Comment


Response ed
1 User clicks file Categories like add
drop down menu worker, add new
designation, and add
admin will be shown.
2 User clicks edit Button for edit
drop down menu worker records and
designation shown.
3 User clicks view Categories for view
drop down menu worker records, daily
time records, and
designation list will
be shown
4 User clicks the Calculation form for
calculation menu workers payment
will be shown
5 User clicks exit It will exit current
form session

Test Case #6 Test Case Name: Add new


worker

System: Payroll System Subsystem: New worker

Designed By: Designed Date:

Executed By: Execution Date:

Short Description: To test adding new worker.

Pre-condition:

-User should enter the worker information.

-System displays the add new worker form.

Step Action Expected System Passed/Fail Comment


Response ed
1 User enters all All fields must not be
needed info for empty
worker
2 User clicks the New worker will be
save button added
3 User clicks the It will bring back to
close button attendance form

You might also like