Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter -1
1.1. Introduction
Employees are the backbone of any company, management of employee performance plays a major role in
deciding the success of the organization. The workshop is situated in ASTU has a problem in management of
employee performance. The current system running in the workshop is paper based. That is the workshop is
still using cabinet files to store records of stock and employee information. Useful data is scattered all over
the place. In this chapter we shall discuss the solutions to the problems being caused by the current system.
We shall try to understand the manager’s expectations of the new system we are to develop for him.
1.2. Background
There is a system that have been done before which addressed the employee management system to the
required employee through paper by writing on a sheet of paper for approval, registration, attendance and
soon. Nowadays the whole world is becoming technological, and among those, information technology is
the one which is leading the technology. Today there is no place where computer is unavailable. Now we
proposed the system that is fully controlled by computerized system which allows us to submit employee
information. The proposed system will provide valuable opportunities for low expense, low time
consumption and high visibility commutations.
Information is stored in written in form of registers. This has many disadvantages, like
checking a record in a register takes more time.
Registration of employee require more space, since it is manual system.
Retrieving information from registers is more difficult, like if want to know at what day the
employee was present in particular department or office etc.
It is difficult to find and modify existing records.
Current system being manual is more error prone.
The employee information loses, in case of different problems.
Redundancy of information
1.4. Purpose
This Document includes software requirements for the EMS. Employee attendance, Payroll
accounting, Task Management, Salary calculations, new employee registration, the employee perform
their task according to the schedule etc. are the main objectives of this web application. In this
application Administrator creates branches and he assign Branch manager in each branch. Branch
manager will add employees to his branch and he assign tasks to his employees. Administrator is the
main user of this web application and Branch manager will manage employee records.
1.7.1. Scope
Computerized employee management system is a web based application that can be accessed from
anywhere within an operating system by the authorized user.
The system would be centrally managed and controlled which is designed to run on the organization.
Our project EMS is an online application we create a website to check Number of employees in each
branch, Employees records, Tasks and time frame, attendance records, salary details, etc.
The employees can submit their attendance, and the managers can check employee attendance and his task
details, applying for leave etc. Also Branch Manager can calculate and payouts salary to his employees.
Project can be developed for online services by which any employee can see their details anytime and
anywhere.
Our system does not include:
Allocating dorm to employee
The project can be developed centralized database so that the data storage and backup services will be easy.
1.7.2. Limitation
Shortage of written documents in the university
Lack of sufficient information about the existing system because employers are not voluntary to give
such full information
Shortage of possible data collecting device and instrument. Such as sound recorder, digital camera
Financial problem
Missing of class when we gather the information.
Shortage of time
The authorized access to information resources files of the system is more advanced. This means
secured login to the system will be developed.
PHP is a server side scripting technology that enables scripts (embedded in web pages) to
be executed by an XAMPserver.
PHP stands for Hypertext pre-processor
PHP is a program that runs inside wamp/xamp server in all OS.
Xamp is Microsoft's Internet explorer above 8 and Mozilla fire fox. Xamp comes as
open source any one can download use freely xamp is also a part of Windows 2000, XP
Professional up to latest version window 7, 8 and 10.
An PHP file is just the same as an HTML file
An PHP file can contain HTML, CSS, and java scripts
Scripts in an PHP file are executed on the xamp server
A PHP file has the file extension ".php"
When a browser requests an HTML file, the server returns the file
When a browser requests an PHP file, xamp passes the request to the php parser engine
on the server
The PHP parser engine reads the file, line by line, and executes the scripts in the file
• PHP file cannot returned to the browser as plain HTML rather than the browser request the
Xamp server in to display document.
• Finally, the PHP file is returned to the browser as plain HTML
Hardware tools
Personal computer(PC)or laptop: almost all tasks of our project are performed on computer
Flash: required for data movement
Disks (CD, DVD): necessary for the movement of relevant data and for backup and
recovery mechanism.
Internet Connection: since our system is web based, it is very necessary requirement. It
is also help us to extract relevant information about our project from internet
Printer: to print documentations Patient management system for HU student
clinic Page10
Stationeries (pen, paper): for writing all necessary documentations associated with the
project
Note book: to take notes during data collection and for other documentations
1.10. Methodology
1.10.1. Method of data collection
We used the following methods to collect relevant data required to our project.
Interview: - we gathered necessary information about the background of the management system, their
works activities and the function of their existing system using some structured (when did the university was
established, how does the existing system function, how many employees get are there? how many
employers are there etc.) and unstructured interview questions.
Observation: We also arrived to the department and observed how workers carrying out their work activities
in a natural setting. Observation allows us to collect data in real time where activities are being performed.
Document analysis: - we also collected certain relevant information from written documents in the
department. Not only that but also we tried to review other relevant documents to develop our project.
In comparison to SSAD, the development time, the level of organization, the robustness, and the
code reuse are all greatly enhanced by the OOAD methodology
Allows to break down complicated systems into smaller, clearly defined and more manageable
parts
Code reusability. This will reduce design, programming and validation costs
Easy maintenance
Enables the standardization of objects which increases design understanding and decreases the
risk associated with project development.
Unit testing is every module of the System is separately tested. It will often done by the programmer to test
that the unit he/she has implemented is producing expected output against given input.
The module interface is tested to ensure that information properly flows into and out of the program unit
under test. The unit testing is normally considered as an assistant step to coding step. Because modules are
not a standalone program, drivers and/or stubs software must be developed for each unit. A driver is nothing
more than a “main program” that accepts test cases data and passes it to the module. A stub serves to replace
the modules that are subordinate to the modules to be tested.
Months
Phases Mar15/2016 Apr8/2016- Apr17/2016 Apr28/2016 May16/2016-
- apr16/2016 - May15/2016 may20/2016
Mar31/2016 Apr27/2016
Requirement
gathering and
Analysis
Design
Implementation
Testing
Maintenance
1.14.1. Definition
Employee management system: - Is include a development presentation of an information system
for managing the staff data with in a small company or organization.
1.14.2. Acronym
ASTU=Adama Science and Technology University
OOSAD=Object-Oriented System Analysis and Design
OOAD=Object Oriented Analysis and Design
PHP=Hyper Text Pre-processor
HTML=Hyper Text Markup Language
CSS=Cascading Style Sheet
OS=Operating System
EMS=Employee Management System
1.15. Reference
We used a sample template given from the lecture
And we used also online notice board project documentation which is prepared last
year.
Different projects that was done before.
Prentice Object Oriented Software Engineering Using UML ,Patterns and Java 3rd
2012_2
Chapter Two:
2. Description of the existing system
The now application that is used in the employee management system is almost manual system. The data
stored and activities are performed like attendance filling and paying their salary is performed using paper
and pen Some time they use Microsoft-excel and Microsoft-word to store their data in the computer. But
the current system or the existing system have not any database to store such type of activities.
As described from the description of existing system or the current system, the system is manual.
Due to that manual system, there are many problems exist in the office. Some of them are listed
below.
Time consumption to write and edit because of manual system
There is no network communication between workers.
It is difficult to search required information’s
Some manuals can be destroyed by some illegal actions and due to that security data can be
cost.
Since the existing system is carried on paper, manually an employee must have write on a
sheet of paper for approval from their manager which is so tedious and time consuming.
Suddenly if the manager absents from work due to some reason, there is no way to get an
information what Is going on and weather an employee arrived on time and working
properly or not.
Information is stored in written in form of registers. This has many disadvantages, like
checking a record in a register takes more time.
Registration of employee require more space, since it is manual system.
Retrieving information from registers is more difficult, like if want to know at what day the
employee was present in particular department or office etc.
It is difficult to find and modify existing records.
Current system being manual is more error prone.
The employee information loses, in case of different problems.
Redundancy of information
2.4. Business rule of the current system
Rule 1: Authorize to the system
The user checks the filled employee information and the entered information are
correct.
Rule 3: Validate employee information
The authorized user the employee information and the system validates.
Rule 4: the employee does not have a permission to fill attendance twice or more in a day.
Rule 7: when the employee does not fill attendance in a manager should manage the employee
attendance.
Rule 8: when the employee register by themselves they have not a permission to fill their position.
Rule 9: when the user registered once, he or she does not have a permission to registered twice
and more.
Rule 11: the employee has not responsibility delete, update and manage the activities.
CHAPTER THREE
3. PROPOSED SYSTEM
3.1. Overview
The proposed system is designed to replace the manual system of employee management in to computerized
system and also designed to store the employee information in the database for the purpose of reducing the
problem faced by manual system.
The application composes different forms to enter employee data to the database and retrieve required
employee information from the database.
3.2. Functional requirement
Functional requirement is described as functions or activities that the system provide.
EMS includes the following functional requirements.
New employee registration
Salary calculation and payment.
Attendance management activities such as filling attendance and view the attendance.
View employee detail
Update employee detail
Leave application management activities such as manage leave and view leave history.
Login and logout
Manage attendance
Leave request
3.3. Nonfunctional requirement
The non-functional requirement describes constrains for implementing the project. Some of them
are; the central server has to be provided at secured area, the system must be maintainable and
expandable, the network infrastructure has to be private network, client machines at each of the
user side must be installed. In each of the each of user there should be technically supporting
people. The user should have also basic computer skills and training should be provided to the
employee on the demo version of the management application. The following non-functional
requirements are included in the system.
Reliable
The system should be reliable, for handling the occurrence of errors.
U s ab i l i t y
The users should be able to understand the menu and options provided by the system. The
system shall provide an easy-to-use interface so that the users do not strain to interact with the
system.
P er f o r m a n c e
The system should respond fast. mostly depends the connection speed and processor of users
‘device.
A c c es s i b i l i t y & Availability
The system should be up and running whenever needed.
M a i n t ai n ab i l i t y
The system should include maintenance, since the system failure will dismiss the day of election.
Security
The system should implement strategies to counter hacking and access by unauthorized
persons/users. The application needs to be secure enough and should enable users to access it
depending on the level of the user. i.e. the user must logged before start any activity.
Scenario 2
Use case name: login
Goal: login to the system
Flow event:
1. The employee or the manager open the system
2. The login form is displayed on the index page.
3. Employee and manager fill the correct username and password.
4. Click login button
5. Logged successfully message is displayed.
Exceptional flow:
If the employee /manager does register first, the system displays please register first message.
If the user does not fill the correct username and password the system displays, please fill the correct
username and password message.
The system does not work when there is no connection.
Alternative flow: none.
Scenario 3
Use case name: Give attendance
Goal: to register the attendance detail in the database.
Flow event:
1. The employee open the system logged in to the employee page by his/her correct username and
password.
2. The attendance menu is displayed on the employee page.
3. The user clicks the attendance menu and the attendance filling form is displayed
4. Fill the complete information about his/her detail or the employee on the attendance form.
5. Click submit button
Exceptional flow:
If the employee does not fill the correct information in the form the system displays, please fill the
correct information message is displayed.
If the employee fills their attendance twice in a day, the system displays and the attendance already
filled message is displayed.
Alternative flow: the employee can fill their attendance contact physically with the manager in the
office.
Scenario 4
Use case name: view attendance
Goal: to view the attendance detail of the employee
Flow event:
1. The manager open and logged in to the system.
2. The view attendance menu displayed on the system
3. The user clicks the menu and the form is displayed.
4. Enter the employee name and month.
5. Click view button.
6. The employee attendance detail is displayed.
Exceptional flow:
If the employee /manager does not fill the correct information, the system notifies the user to enter
the correct information
The system does not work when there is no connection.
Alternative flow: the employee can view their attendance contact physically with the manager.
Scenario 5
Use case name: View policy
Goal: to view the policy.
Flow event:
1. The user logged in to the system.
2. The view policy menu displayed on the system
3. The user clicks the menu.
4. Finally view the policy.
Exceptional flow:
The system does not work when there is no connection.
Alternative flow: the employee can view policy by contact physically with the manager.
Scenario 6
Use case name: update record
Goal: to modify the records registered in the database.
Flow event:
1. The manager open and logged in to the system.
2. The update menu displayed on the system.
3. The user clicks the menu and the form is displayed.
4. The manager enters the information on the update form.
5. Click update button.
6. The detail is updated successfully message is displayed.
Exceptional flow:
If the manager does not fill the correct information in the form, please error displayed.
If the manager does not fill the form the system displays, please fill the form message is displayed
The system does not work when there is no connection.
Alternative flow: none.
Calculate/pay salary
Give leave request
Use case diagram
Use case diagrams are graphical representation of overview of behavior of the system. Use case diagram
shows the relationship between the actors and use cases in the system. Technically the use case diagram
helps in defining the boundary of the system. The most important role of a use case diagram is to
communicate the systems functionality and behavior to the customer or end user.
EMS
registration
calculate/pay login
salary
<<Include>>
logout
delete record
assign branch
manager
view policy
Registration
U ID: 01
Use case Name: Registration
Actors: Employee, manager
Pre-condition The employee must have complete information about
his/her selves. i.e. complete data about his/her detail.
Post condition The registered employee must have recorded in the
database. And returns successfully registered message.
Main flow 1. The employee or the manager open the system
2. The signup menu displayed on the system
3. The user clicks the menu and the registration form
is displayed
4. Fill the complete information about his/her detail
or the employee
5. Click register button
Login
U ID: 02
Use case Name: Login
Actors: Employee, manager
Pre-condition The user must be registered in the university first.
Post condition The user logged successfully in to their respective page.
Main flow 1. The employee or the manager open the system
2. The login form is displayed on the index page.
3. Employee and manager fill the correct
username and password.
4. Click login button
5. Logged successfully message is displayed.
Alternative condition
Exceptional condition If the employee /manager does register first, the
system displays please register first message.
If the user does not fill the correct username and
password the system displays, please fill the correct
username and password message.
Give attendance
U ID: 03
Use case Name: Give attendance
Actors: Employee
Pre-condition The employee must be registered first in the database.
Post condition Give full attendance/record the attendance in to the
attendance table in the database.
Main flow 1. The employee open the system logged in to the
employee page by his/her correct username and
password.
2. The attendance menu is displayed on the
employee page.
3. The user clicks the attendance menu and the
attendance filling form is displayed
4. Fill the complete information about his/her detail
or the employee on the attendance form.
5. Click submit button
Alternative flow The employee can fill their attendance in the office.
Exceptional flow If the employee does not fill the correct information
in the form the system displays, please fill the
correct information message is displayed.
If the employee fills their attendance twice in a day,
the system displays and the attendance already filled
message is displayed.
U ID: 04
Use case Name: View monthly attendance
Actors: Manager, employee
Pre-condition
Post condition The manager manages the attendance successfully.
Main flow 1. The manager open and logged in to the system.
2. The view attendance menu displayed on the
system
3. The user clicks the menu and the form is displayed.
4. Enter the employee name and month.
5. Click view button.
6. The employee attendance detail is displayed.
Alternative flow
Exceptional flow If the employee does not fill their own employee
name, the system displays please login first message
is displayed.
The system does not work when there is no
connection.
View policy
U ID: 05
Use case Name: View policy
Actors: Manager, employee
Pre-condition
Post condition View the policy of employee management system.
Main flow 1. The user logged in to the system.
2. The view policy menu displayed on the system
3. The user clicks the menu.
4. Finally view the policy.
Alternative flow
Exceptional flow
The system does not work when there is no
connection.
Update record
U ID: 06
Use case Name: Update record
Actors: Manager
Pre-condition
Post condition The manager manages the updated record is registered in
the database successfully.
Main flow 1. The manager open and logged in to the system.
2. The update menu displayed on the system.
3. The user clicks the menu and the form is displayed.
4. The manager enters the information on the update
form.
5. Click update button.
6. The detail is updated successfully message is
displayed.
Alternative flow
Exceptional flow If the manager does not fill the correct information
in the form, please error displayed.
If the manager does not fill the form the system
displays, please fill the form message is displayed
The system does not work when there is no
connection.
Delete record
U ID: 07
Use case Name: Delete record.
Actors: Manager
Pre-condition The information that will be deleted must be registered
before.
Post condition The manager deletes the record successfully.
Main flow 1. The manager open and logged in to the system.
2. The delete menu displayed on the manager page.
3. The user clicks the menu and the form is displayed.
4. Enter the employee number.
5. Click delete button.
6. The record deleted successfully message is
displayed.
Alternative flow
Exceptional flow If the employee does not fill their
own employee number, the
system displays please the
employee is not registered
message is displayed.
The system does not work when
there is no connection.
Salary payment and calculation
U ID: 08
Use case Name: Salary payment and calculation.
Actors: Manager
Pre-condition The employee must be the member of universities
employee.
Post condition o The payment detail is recorded in the employee
database at payment table.
o The employee birr is increased by the birr payed by
the manager.
o The university birr is decreased by the birr payed to
the employee.
o The total salary calculated successfully.
Main flow 1. The manager open and logged in to the system.
2. The calculate salary menu is displayed on the
manager page.
3. The user clicks the menu and the form is displayed.
4. Enter the employee salary payment detail.
5. Click on the total button and the total salary of the
employee is displayed.
6. Click pay button.
7. The payment made successfully message is
displayed.
Alternative flow The employee can take their salary in the
administrative office.
Exceptional flow If the manager does not fill the
payment detail, the system
displays please enter the payment
detail displayed.
If the employee is not registered
in the database, the system
displays the user is not a member.
If the manager pay salary to the
employee twice in a month, the
system displayed the employee is
already take his or her salary.
The system does not work when
there is no connection.
U ID: 09
Use case Name: Give leave request.
Actors: Employee
Pre-condition The employee must be a member.
Post condition The leave request is recorded in the database.
Main flow
1. The leave request menu displayed on the system.
2. The user clicks the menu and the form is displayed.
3. The employee enters the information on the on
the leave application form.
4. Click send button.
5. The leave request is sent successfully message is
displayed.
Alternative flow
Exceptional flow If the manager does not fill the correct information
in the form, please error displayed.
The system does not work when there is no
connection.
Alternative flow
Exceptional flow If the employee does not fill their own employee
name, the system displays please login first message
is displayed.
The system does not work when there is no
connection.
Manage leave
U ID: 11
Use case Name: Manage leave
Actors: Manager
Pre-condition The employee sends the leave request.
Post condition The manager give permission to the according to the
reason.
Main flow 1. The view leave history menu displayed on the
system.
2. The user clicks the menu and the employee
request is viewed.
3. The manager clicks on give permission button.
4. The permission form is displayed.
5. The manager enters the leave permission
information on the form.
6. Click send button.
7. The permission is recorded successfully message is
displayed.
Alternative flow
Exceptional flow If the manager does not fill the correct information
in the form, please error displayed.
a. Object Model
In this section the team discuss all about the object modeling of the system which include identifying class
which the system constitutes and drawing their relationship using class diagram.
i. Data Dictionary
User is the central object in the EMS module. User have the following information
Identification information includes first name, middle name, Last name and date of birth and place
of birth.
Contact information includes e-mail address, cellular phone.
User authentication information includes user ID, username, and password.
For example:
Employee
Field name Data type Field size Constraint Description
EmployeeName Char 50 Not null Full name of the employee
Employee No int Not null The identification name of
employee
Username Varchar 50 Primary key Username the employee
Password Varchar 50 Not null Password of the employee
Phone Number Int 20 Not null Mobile or home phone number of
the employee
Address Char 30 Not null Address of the address of the
employee
DateOfBirth Date Not null Birth date of the employee
Sex Varchar 10 Not null Gender of employee
Age Int Not null Age of employee
Date Of join Date Not null The employee join date
Department Varchar 50 Not null The department of the employee h
e/she works
Table data dictionary for signup/registration/create account
login
-username:varchar(50)
-password:varchar(50)
#login()
manager
employee
-ID:varchar(50)
-name:varchar(50) -employeeNumber:int
manages -employeeName:varchar(50)
1
-birthDate:date
1..* -gender:char(10)
+manageLeave() -age:int
+manageAttendance() -dateofJoin:date
+deleteRecord() -Dept:varchar(50)
+updateRecord() -address:varchar(50)
+calculatePaySalary() email:varchar(50)
+viewinfo() -
+viewpolicy() -
+viewattendance()
+fillAttendance()
+giveLeaveRequest()
viewinfo()
manage +viewpolicy()
+viewattendance()
manage fill
pay
leave to
Attendance
-emplo
-applic
y eeNum salary -employeeNumber:int
ationSh ber:int -Date:date
ift:varc h
(50) ar -AbsentDate:int
-leaveT -employeeNumber:int
y pe:varc -InTime:text(50)
-noOfD har(50) -basicPay:double -outTime:text(50)
ay s :int -tax:double
- -shiftCode:int
-spetialPay:double -dept:varchar(50)
-total:double mounth:varchar(50)
-payDate:date
month:varchar(50)
Open()
Open_Sign_up_
Menu()
Open_Form()
View_Form()
Fill_Form()
Submit()
Check()
Validate()
Record()
Return_confirmat
ion()
Succesful_Mess
age()
Manager
Log_in()
Click_Menu()
Initiate_Form() Check()
Display_Form() Submit()
Return()
View_History()
Click_Menu()
Initiate()
View_Form()
Fill_Form() Check()
Activate()
Validate()
Record()
Return()
Successful_Mes
sage()
User
Open()
Open_log_in_For
m()
Display_Form()
Fill_Form()
Submit()
Check()
Validate()
Sent()
Return()
Display_Page()
View_Policy_M Policy_Controle
EMS Database
enu r
User
Log_in()
Click_Menu()
Display()
View_Form()
Fill_Form()
Self_Check()
Activate()
Validate()
Fill_Date_Search
()
Return()
Sucessfull_Mess
age()
View_Form()
Fill_Form()
Activate() Check_Attendanc
e()
Validate_Form()
Record()
Return()
Sucessful_Mess
age()
View_Form()
Fill_Form()
Activate() Check_Attendanc
e()
Validate_Form()
Record()
Return()
Display_Attenda
nce()
Update_Control
EMS Update_Menu Update_Form Database
ler
Manager
Log_in()
Click_on_update
_Menu()
Initiate_Form()
View_Form()
Fill_Form()
Activate() Check_Attendanc
e()
Validate_Form()
Search()
Return()
Sucessful_updat
e_Message()
Manager
Log_in()
Click_Menu()
Initiate_Form()
View_Form()
Fill_Form()
Activate() Selfcheck()
Validate_Form()
save()
Return()
Sucessful_Mess
age()
Payment
EMS Payment Menu Payment Form Database
controller
Manager
Log_in()
Click_Menu()
Initiate_Form()
Display_Form()
Fill_Form()
Activate() Selfcheck()
Validate_Form()
save()
Return()
Payment made
successfully
message()
Display_Form() Submit()
Return()
View_History()
Click_Menu()
Initiate()
View_Form()
Fill_Form()
Check()
Activate()
Validate()
Record()
Return()
Successful_Mes
sage()
[OPEN]
signup menu
[click menu]
registration form
[fill form]
no
verify
yes
[open]
loginform
[fill form]
no
verify
yes
user page
[open]
loginform
[fill form]
no
verify
yes
manager page
update form
[fill form]
no
verify
yes
updated successfully
[open]
login form
fill form
no
verify
yes
users page
view form
[fill form]
no
verify
yes
[open]
loginform
[fillform]
no
verify
yes
employee page
attendance form
fill form
no
verify
yes
successfull message
The goal of software design is dealing with the logical organization of the software which in turn
affects the non-functional requirements. These requirements include:
P e r f o r m an c e
D e p e n d a b i l it y
M a in t a in ab i l it y
E n d user
4.2.1.1. Performance
The software performs its tasks within a user-acceptable time. The software does
not consume too much memory.
Response time: Depending the strength of the available network, the
should respond in short period.
Storage space: To do work efficiently it needs the processor to be 2GB
RAM and above and the HD storage to be 20MB and above.
Throughput:
4.2.1.2. Dependability
Utility: - in order to help the user, to easily understand and interact with the system,
the system must provide the following utilities of user requirements
Mouse over tips
Keyboard alternative
Usability
Since, online voting system dealing with specific target managing, the software user interface
must be usable for its target user/ end user and also compatible to any environment.
4.2.1. Overview
The proposed system is expected to replace the existing manual system by web based for EMS which is the
software architecture used for the system is Repository architecture because subsystems access and modify
data from a single data structure which is called the central repository. This architecture allows different user
of the system access the data from center database server.
The central repository of the
central database
registrstion subsystem propuse
employee attendance
insertData()
subsystem
setData()
leave subsystem getData()
searchData()
modifyData()
salary sysbsystem deleteData()
Subsystem decompositions will help us to reduce/minimizing the complexity of the system. So the team
identifies the following subsystem from the main system:
Registration subsystem: this subsystem controls the registration of the employee in the
database and creating account to the user and also modifying or updating the employee detail in
the database.
Attendance application subsystem: this subsystem controls the attendance related activities
such as filling attendance, view attendance detail, and manage attendance activities.
Leave application subsystem: this subsystem controls the employee leave application activities
such us give leave request, view leave history and manage leave activities.
Salary payment subsystem: this subsystem controls the salary calculation and payment activities.
attendance
application
subsystem
registration
subsystem attendanceinfo
employee
employeeInfo
leave application
subsystem
payment
subsystem
leaveinfo
employee
employee
salaryinfo
4.2.4. Hardware software mapping
In this section the team discuss about the overall hardware and software organization of the system so
deployment diagram is the important requirement to show system hardware/software mapping.
:webserver
:Laptop
registration
subsystem
webserver
attendance
application
subsystem
leave
application
subsystem
salary
payment
subsystem
4.2.5. Persistent data management
In this section the team describes how the persistent data stored by the system and the data
management infrastructure required for it. The system will use the MYSQL database server for
storing data or relational database. This will allow the database to be easily integrated with and
accessed by the rest of the system. The database will retain (keep possession of, absorb and hold,
in place, secure the service of) information (name, password etc.), and also retain configuration
data such as authorized administrator. Each of these items will be store in a separate table.
In our system we many tables which are stored in MYSQL server. These are: -
44 | P a g e
4.2.6. Component diagram
client
application server
mozila
firefox
xamp
database server
employeeDB
In the other case deployment diagrams show how the software components process and objects
are deployed into physical architecture of the system. it shows the configuration of hardware units.
As we mention our project is web based system so there is different protocols that used to
transfer data from one object to another object in the system such as file transfer protocol (FTP)
45 | P a g e
WEBSERVER
CLIENT
webbrowser registration
attendancce
leave
SQL SERVER
salary
employeeDb
payment
46 | P a g e
4.2.8. Boundary condition
Admin_AC
manageAttendance startServer
manageLeave stopServer
Manager
manageServer
configureServer
manageEmployee
47 | P a g e
4.2.9. Database design
E_no B_date Sex Age
Phone
Name
Password
Address City
Name 1 N
Manager Manages Employee
Password E_mail
Join_date
E_no
Leaves
Pays Fills
Receives L_type
Leave
Absent_date
Date E_no
Special_pay
Tax Shift_code
E_no Date
Total E_no
updateAccount()
create account() manageAttendance()
manageLeave()
viewEmployeeDetail() viewAttendance() calculateSalary()
manager viewLeaveHistory()
updateEmployeeDetail() deleteAttendance() paySalary()
deleteLeaveHistory()
deleteEmployeeDetail()
GiveLeaveRequest()
register() fillAttendance()
employee viewLeaveHistory() -
viewDetail() viewAttendance()
48 | P a g e
Chapter Five
5. Testing
5.1. Introduction
Final phase of implementation is testing. Testing is a process to show the correctness of the
program. Testing is checking of the system workability in an attempt to discover errors and
avoiding such errors from the system. In this the group members tested the entire system as a
whole with all forms, code, modules. In this we tested all the functionalities in the System. All
errors in the forms, functions, modules have been tested. The following are different testing
strategies.
5.2. Objective
Testing is a process of executing a program with the intent of finding an error. A good test case
is one that has a probability of finding an as yet undiscovered error. A successful test is one that
uncovers an as yet undiscovered error. Our Objective is to design test processes that
systematically uncover different classes of errors and do so with minimum amount of time and
effort.
All test cases should be traceable top employee requirements. The most severe defects from
the employee’s point of view are those that cause the program to fail to meet its
requirements.
Test case should be planned long before testing begins. Testing plan can begin as soon as
the requirement model is complete. Detailed definition of the test cases can begin as soon
as the design is solidified. Therefore, the entire test can be planned before any code has
been generated.
Testing should begin “in the small” and progress towards “in the large”. The first test
planned and executed generally focus on the individual modules. As testing progresses
testing shifts focus in an attempt to find errors in integrating clusters of modules and
ultimately in the entire system
49 | P a g e
Generally, before doing any activity of the system we try to test whether the user is login
or not,
We also test employee fill attendance once a day or not, the employee salary is payed once
in a month or not, the employee who takes the salary is the member of the university or
not.
5.4. Testing approach
5.5. Test case specification
In this topic we list some of the test cases in our system but not all: these are listed in
the following table.
Test case Id Test case name description Pass/fail
01 Login The user login to the system pass
using their own username and
password. If the username and
password wrong or the user does
not enter the username and
password. the system displays
notification to correct username
and password. Otherwise the
user login to the system.
02 registration To register employee detail in the pass
database. If the data not
correctly filled in the form or the
user pass the form without filling
the system displays error
message. Otherwise registered
successfully message is displayed
03 Fill attendance To test whether the employee fill pass
the attendance successfully or
not. To test whether the
employee is fill the attendance
twice or more a day or not.
50 | P a g e
To test the employee is register
or login to the system before the
user filling the attendance.
51 | P a g e
Test case ID:03
Test case name: fill attendance
Input: attendance detail
Expected output: attendance filled successfully
Produced output: attendance filled successfully
52 | P a g e