Professional Documents
Culture Documents
DISHAN SHIRANTHA E.
R081955
0819557
Supervisor -Mrs. S.D.D.Ashoka
December 2014
BI
T
This dissertation is submitted in partial fulfillment of the requirement of the
Degree of Bachelor of Information Technology (external) of the
University of Colombo School of Computing
I
ABSTRACT
The Office of the Deputy Director of Agriculture is one of the government offices in
Hambantota district, which play important role of Agriculture in the so fast developing
district of Sri Lanka. This organization has a main office, two division offices and twelve
sub offices. Around seventy staff officers are working with this organization. The main
office handles Administration, HR management and Accounting roles.
This organization has manual file based system. Division office cant see any updated
details of employees and salaries. Also some important news are sending by post or by
phone from main office to sub offices. It is difficult to give correct and full details to the
sub offices quickly. Details submitting method is very delay.
The main aim of the project is to develop a Web based HR Management System for Office
of the Deputy Director of Agriculture. The module enhances good Interaction /
communication facilities between the employees and administrator, also between main
office, division offices and sub offices. To develop a software application to the
application specific to the Web based HR Management System in an intranet specific to
company there by allowing the integration of all the employees pertaining to that
organization. User can view news of the organization as quickly as thought. This system
useful to keep track of all the other sub offices related to that institute such as Division
office, AI office etc.
The Rational Unified Process (RUP) methodology was identified as the most suitable
development methodology for delivering projects in a maximum performance manner.
The system was developed using ASP.net, HTML, CSS, JavaScript, Visual Basic.NET
(VB.NET) languages. MySQL was used as the database tool for designing the database.
Additionally, Microsoft Visual Studio 2010 was chosen as the coding tool and Adobe
Photoshop CS5 was chosen as the interface designing tool.
II
The developed system was check by system users in the office of the Deputy Director of
Agriculture. After that the system successfully handed over to the client to execute it. It will
helpful to the organization to improve management process as well as to do better
communication with every employee in the organization.
III
ACKNOWLEDGMENT
I express thanks and gratitude to the BIT Coordinator of University of Colombo School of
Computing (UCSC) and project examination board of Bachelors of Information
Technology (BIT) for giving me the opportunity to apply the knowledge gained through
the BIT degree program.
I would like to express gratitude and indebtedness to Mrs. S.D.D. ASHOKA, for her
valuable advice and guidance without which this project would not have seen the light of
the day.
I must thank Deputy Director and all the staff of Office of the Deputy Director who gave me
the opportunity to develop this system for their organization and gave me an unwieldy support
for the successful fulfillment of the project.
I would like to thank my parents for being supportive all the time, and I am very much
obliged to them
IV
TABLES OF CONTENTS
DECLARATION
ABSTRACT
ACKNOWLEDGEMENT
TABLE OF CONTENTS
LIST OF FIGURES
CHAPTER 1: INTRODUCTION
1.1 Introduction
1.1 Motivation of the System
1.3 Objective of the System:
1.4 Scope of the System:
CHAPTER 2: ANALYSIS
2.1 Introduction
2.2 Existing System:
2.2.1 Drawbacks in Existing System:
2.3 Requirements Gathering Techniques
2.4 Outline of Existing Similar Solutions
2.5 Functional Requirements
2.6 Non Functional Requirements
2.7 Feasibility Study
2.7.1 Technical Feasibility
2.7.2 Economical Feasibility
2.7.3 Operation Feasibility
2.8 Proposed System:
2.8.1 Advantages of Proposed System:
I
II
IV
V
VIII
1
1
2
2
4
4
4
6
6
7
7
8
8
9
9
9
10
10
11
11
11
12
12
12
12
V
VI
12
12
13
13
13
13
14
14
14
15
15
16
17
17
17
18
19
19
20
21
21
22
22
22
23
23
23
23
23
24
24
24
25
26
27
31
40
53
59
LIST OF FIGURES
Figure 2.2.1. Structure of the Office of the Agriculture Office
Figure 2.2.2 Structure of the Organization Employees
Figure 3.5.7.2. Use Case Diagram
5
5
15
16
18
22
24
27
28
29
30
31
32
33
34
35
35
36
36
37
37
38
38
39
VII
1. INTRODUCTION
1.1 INTRODUCTION
Web Based Human Resource Management System consists of list of records of the HR
and Employee in the organization. This is a web based application. The main aim of the
project is to develop a Human Resource Module for the Intranet Automation of HR
Software for an organization. The module enhances good Interaction / communication
facilities between the employees and Administrator. The site containing pages about an
employee has to be dynamically created based on the user id and password and provide
links to web pages containing information about following details.
Salary Details
Leave Details
Reports Generations
There is no proper system to manage employee details, leave details and salary
details of the organization.
There is no systematic way to send updated news to other branches. Also no way
to acquire the important forms and documents like leave applications, travelling
claim applications, etc.
No proper way to manage leave details of employees. Because handle that details
in the main office and two division office.
To overcome the above mentioned problems, this web based management system is
emerged. It will reduce the time and cost that will have to spend for some duties in the
organization. Moreover, this system can promote the competency and the productivity of
their services. Also provide a better and a reliable service to the employees.
2. ANALYSIS
2.1 INTRODUCTION
Systems analyst is required in order to identify weaknesses, workarounds and solutions on
an IT project. They are experts in analyzing problems and forming solutions while
identifying risks, issues, and impact. The systems analyst is not responsible for coding
(although code reviews may be required), but they are responsible for analyzing existing
systems and identifying suitable solutions. Systems analyst is more technical in nature
than a Business analyst who will act as the interface between the business and the
technical teams. Often Systems analysts and Business analysts work closely together, it is
also common to have 1 person to fulfill both roles, these are known as Business Systems
analysts. Without a systems analyst the IT team has no way to analyze existing IT, or to
analyze the impact of integrating new IT solutions. This could therefore be an impact in
terms of time taken on a project, number of defects raised, and not meeting the business
requirements.
Information was collected from the management through face to face interactions. When
we carried out interviews we used both structured way and unstructured way. It was a
great aid to
Allow to enter the system only authenticated persons. (Administrators and Users).
Facilitate to enter employee details, their salary details and leave details (only for
Administrator).
Provide facility to get agent(bank, financial institute) details related with salary
In case of software/hardware failure, the system should have the ability to recover
and be up and running without causing problems.
determine whether or not the proposed system is feasible. The three tests of feasibility
have been carried out.
Technical Feasibility
Economical Feasibility
Operational Feasibility
Salary Details
Leave Details
Reports Generations
At last very easy to find the employees and their detailed reports.
3. SYSTEM DESIGN
Design is multi-step process that focuses on data structure software architecture,
procedural details, (algorithms etc.) and interface between modules. The design process
also translates the requirements into the presentation of software that can be accessed for
quality before coding begins.
Computer software design changes continuously as new methods; better analysis and
broader understanding evolved. Software Design is at relatively early stage in its
revolution.
Therefore, Software Design methodology lacks the depth, flexibility and quantitative
nature that are normally associated with more classical engineering disciplines. However
techniques for software designs do exist, criteria for design qualities are available and
design notation can be applied.
Diagram
Sequence
State
Diagram
Chart Diagram
Activity
Diagram
Component
Diagram
Deployment
Diagram
through during its lifetime in response to events together with its Response to those
events. A state is a condition in the life of the object during which it satisfies some
conditions, performs some activity or wait for some events. An event is a specification of a
significant occurrence that has a location in time and space. Graphically a state chart
diagram is a collection of vertices and arcs.
This module deals with the management of the employee information such as the personal
details-his Emp_Id, Name, Designation, Address, Qualifications, Salary, Leave, etc.
Importance of modules in any software development side is we can easily understand what
the system we are developing and what its main uses are. At the time of project we may
create many modules and finally we combine them to form a system.
Also deals with the management Agents (Bank and other financial institute) details
regarding to the employees salary
4. IMPLEMENTATION
The implementation is the final and important phase. It involves User training, system
testing and successful running of the developed system. The users test the developed
system when changes are made according to the needs. The testing phase involves the
testing of the developed system using various kinds of data. An elaborate testing of data is
prepared and system is tested using the tests data.
Implementation is the stage where theoretical design turned into a working system.
Implementation is planed carefully to propose system to avoid unanticipated problems.
Many preparations involved before and during the implementation of proposed system.
The system needed to be plugged in to the organizations network then it could be
accessed from anywhere, after a user logins into the portal. The tasks that had to be done
to implement the system were to create the database tables in the organization database
domain. Then the administrator was granted his role so that the system could be accessed.
The next phase in the implementation was to educate the system. A demonstration of all
the functions that can be carried out by the system was given to examination department
person, who will make extensive use of the system.
Administrator has the facility to view detailed Reports regarding the employees
personal, salary and leave details
User (Employee) has the facility to view their personal, salary, leave details.
: Windows XP/2007
Programming language
Web-Technology
: ASP.NET
Back-End
Web Server
5. EVALUATION
5.1 TESTING
The testing phase involves the testing of the developed system using various kinds of data.
An elaborated testing of data is prepared and a system is tested using the test data. While
testing, errors are noted and corrections remade, the corrections are also noted for future
use.
Also organization users entered data and tested the system basically and generated
reports.
6. CONCLUSION
The project has been appreciated by all the users in the organization.
It is easy to use, since it uses the GUI provided in the user dialog.
7. REFERENCES
Sql Server 2008 R2, Black Book (English) by Kogent Learning Solutions Inc
www.w3shools.com
http://www.tutorialspoint.com/asp.net/asp.net_multi_views.htm
http://msdn.microsoft.com/en-us/library/98wzsc30%28v=vs.85%29.aspx
APENDIX B
USER DOCUMENTATION
<asp:sqldatasource id="HRMSSqlDataSource"
selectcommand="Select [Emp_ID], [Emp_Name], [Leave_Type],
[No_ofDays], [Start_Date], [End_Date] From [Leave]"
updatecommand="Update Leave SET Emp_ID=@ Emp_ID,
Emp_Name=@ Emp_Name, Leave_Type=@Leave_Type,
Start_Date=@Start_Date, End_Date=@End_Date WHERE (Emp_ID = @
Emp_ID)"
deletecommand="Delete from Leave where Emp_ID= @Emp_ID "
connectionstring="<%$
ConnectionStrings:HRMSConnectionString%>"
runat="server">
</asp:sqldatasource>
</form>
</body>
</html>
}
#wrapper
{
width: 1080px;
margin: 0 auto;
padding: 10px;
border: 5px solid# dedede;
background-color: #fff;
}
#banner
{
height:200px;
border: 3px solid #e3e3e3;
background-image: url(../Image/logo1.jpg);
background-repeat: no-repeat;
}
#navigation
{
height: 60px;
border: 3px solid #e3e3e3;
margin-top: 20px;
background-image: url(../Image/2banner.jpg);
background-repeat: no-repeat;
}
#nav
{
list-style: none;
}
#nav ul
{
list-style: none;
margin: 0;
padding: 0;
width:auto;
display:none;
}
#nav li
{
font-size: 24px;
float:left;
position:relative;
width: 180px;
height:50px;
}
#nav li ul li
{
border: 3px solid #E3E3E3;
padding-left: 10px;
}
#nav a:link, #nav a:active, #nav a:visited
{
display:block;
color: #8c001A;
text-decoration: none;
}
#nav a:hover
{
color: blue;
}
#content_area
{
float: left;
width:750px;
margin: 20px 0 20px 0;
padding: 10px;
border: 3px solid #e3e3e3;
}
#sidebar
{
float: right;
width:250px;
margin: 20px 10px 20px 10px;
height:400px;
border: 3px solid #e3e3e3;
}
#footer
{
clear: both;
width: auto;
margin-top: 200px;
height: 40px;
background-image: url(../Image/2banner.jpg);
text-align:center;
}
</td>
<td style="width: 216px; height: 45px;">
</td>
<td style="height: 45px; width: 265px;"> </td>
<td style="height: 45px; width: 301px;" colspan="2">
</td>
</tr>
<tr>
<td style="height: 45px; width: 320px;">
</td>
<td style="width: 216px; height: 45px;">
</td>
<td style="height: 45px; width: 265px;"> </td>
<td style="height: 45px; width: 301px;" colspan="2">
</td>
</tr>
<tr>
<td bgcolor="#99FF99" colspan="5">
<br />
<asp:Button ID="btnAdd" runat="server" Height="30px" Text="Add"
Width="91px" />
<asp:Button ID="btnView" runat="server" Height="30px" Text="View"
Width="91px" />
<asp:Button ID="btnEdit" runat="server" Height="30px" Text="Edit"
Width="91px" />
<asp:Button ID="btnDelete" runat="server" Height="30px"
Text="Delete"
Width="91px" />
<asp:Button ID="btnCancel" runat="server" Height="30px"
Text="Cancel"
Width="91px" />
<br />
<br />
</td>
</tr>
</table>
</asp:Content>
</form>
</body>
</html>
Response.[End]()
Catch ex As Exception
End Try
End Sub
End Class
Following Code for Database connection, Data add, Data Delete and Data Update
Imports System.Data
Imports System.Data.SqlClient
Partial Class Leave
Inherits System.Web.UI.Page
Dim con As SqlConnection
Dim cmd As SqlCommand
Dim rs As SqlDataReader
Private Sub Leave_Load_1(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
con = New SqlConnection("Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Dishan\Documents\Visual
Studio 2008\WebSites\HR\App_Data\HR.mdf;Integrated Security=True;User
Instance=True")
con.Open()
End Sub
Protected Sub btnCancel_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnCancel.Click
txtDays.Text = ""
txtEmpId.Text = ""
txtEmpName.Text = ""
txtStartDate.Text = ""
txtEndDate.Text = ""
End Sub
Protected Sub btnAdd_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnAdd.Click
Try
cmd = New SqlCommand("INSERT INTO Leave VALUES(" +
txtEmpId.Text + ",'" + txtEmpName.Text + "','" + ddlleave.SelectedValue
+ "','" + txtDays.Text + "','" + txtStartDate.Text + "','" +
txtEndDate.Text + "')", con)
cmd.ExecuteNonQuery()
txtDays.Text = ""
txtEmpId.Text = ""
txtEmpName.Text = ""
txtStartDate.Text = ""
txtEndDate.Text = ""
Catch ex As Exception
MsgBox("Can't Enter Record. Please Check Data" & vbCrLf &
ex.Message)
End Try
End Sub
Test Case
Expected Output
Actual Output
Status
01
Display Error
Massage
Pass
02
Enter Correct
User name &
Pass word
Pass
03
Click Cancel
button
Clear data in
textboxes
Pass
Actual Output
Status
Pass
Expected Output
01
02
03
Sign out
Go to Login page
Go to Login page
Pass
Expected Output
Actual Output
Status
01
Pass
02
Sign out
Go to Login page
Pass
Go to Login page
No Test Case
Expected Output
Actual Output
Status
01
Pass
02
Enter Correct
Data and click
Add button
Pass
03
Enter Correct
Data and click
Edit button
Tables Update in
Database
Pass
04
Enter EmpId no
and click View
button
Enter EmpId no
and click Delete
button
Pass
Pass
Click Cancel
button
Pass
05
06
Expected Output
Actual Output
Status
01
Pass
02
Enter Correct
Data and click
Add button
Pass
03
Enter Correct
Data and click
Edit button
Tables Update in
Database
Pass
04
Enter EmpId no
and click View
button
Enter EmpId no
and click Delete
button
Pass
Pass
Click Cancel
button
Pass
05
06
Expected Output
Actual Output
Status
01
Pass
02
Enter Correct
Data and click
Add button
Pass
03
Enter Correct
Data and click
Edit button
Tables Update in
Database
Pass
04
Enter EmpId no
and click View
button
Enter EmpId no
and click Delete
button
Pass
Pass
Click Cancel
button
Pass
05
06
Expected Output
Actual Output
Status
01
Pass
02
Enter Correct
Data and click
Add button
Pass
03
Enter Correct
Data and click
Edit button
Tables Update in
Database
Pass
04
Enter AgentId no
and click View
button
Enter AgentId no
and click Delete
button
Pass
Pass
Click Cancel
button
Pass
05
06
Expected Output
Actual Output
Status
01
Pass
02
Enter Correct
Data and click
Add button
Pass
03
Enter Correct
Data and click
Edit button
Tables Update in
Database
Pass
04
Enter AgentId no
and click View
button
Enter AgentId no
and click Delete
button
Pass
Pass
Click Cancel
button
Pass
05
06
Expected Output
Actual Output
Status
01
Pass
Pass
02
Open Personal
Report Page
Backup/ Print
Personal Report
Expected Output
Actual Output
Status
01
Pass
Pass
02
No Test Case
01
02
Expected Output
Actual Output
Status
Pass
Pass
Expected Output
Actual Output
Status
01
Pass
Open Special
Report Page