Employee Bill Management System
Employee Bill Management System
CHAPTER – 1
INTRODUCTION
As files and maintain all the paper material to access a particular record. This
type of system is tedious to maintain. Efficiency is one of its major concern. Also the status of
the request by the employee is not known until and unless the amount is credited into his
account.
2
REPORTS:
Client’s Monthly Report
Client’s list.
Alert delivery report.
Payment report.
ADVANTAGES:
1.5 SCOPE :
Framework conditions: A regulatory system must be in place to prevent a deviation
of the bill amounts given to the employees.
Scope of services: The scope service for mobile payment is limited at a high
expense.
Administrative efficiency: This must be maintained at proper levels so that it must
not be limited.
Message Format: the format of message to be sent by the customers must be
specific to the rules of the organization.
4
Chapter – 2
LITERATURE SURVEY
The system that is implemented is based on the .NET technology and SQL
SERVER 2005 .
System. IO contains types that allow reading and writing to files and data streams and
types that provide basic file and directory support.
System. Text contains classes representing ASCII, Unicode, UTF-7, and UTF-8
character encodings.
System. Data provides access to classes that represent the ADO.NET architecture.
2.3 PROCESS:
User will log on to the application and the login will be based on the role of
the user. The user will directly taken into ‘My open requests’, where the user can view the
details of the request and can also view the status at which the request is. The access to the
system will be based on the roles. The roles will be based on the type of department the user
belongs to. Screens should also be provided to the administrator of the system to create the
employee as well as their manager.
For the creation of login form and to perform the requests to the higher
authorities we will make use of .NET frame work. First we design an interactive website for
the development of system specified. For the development of the application we use
ASP.NET.
For the application to work we have to make use of databases to store the
details of the employee information also the databases are used to provide thee status of the
request to the employee. Every data that should be processed must be stored in the database.
To maintain the databases we make use of ADO.NET which is an evolution of the ADO data
access model that directly addresses user requirements for developing scalable applications. It
was designed specifically for the web with scalability, statelessness, and XML in mind.
6
The databases that are used for the application development are maintained
by using Microsoft SQL server 20005 and Microsoft access. To maintain the databases in
order to perform operations such as sending mails from one employee to another and for the
intimation of status of request to employee. Microsoft access is used in the application for the
generation of the pay slips.
SQL SERVER:
A database management, or DBMS, gives the user access to their data and
helps them transform the data into information. Such database management systems include
dBase, paradox, IMS, SQL Server and SQL Server. These systems allow users to create,
update and extract information from their database.
A database is a structured collection of data. Data refers to the
characteristics of people, things and events. SQL Server stores each data item in its own
fields. In SQL Server, the fields relating to a particular person, thing or event are bundled
together to form a single complete unit of data, called a record (it can also be referred to as raw
or an occurrence). Each record is made up of a number of fields. No two fields in a record
can have the same field name.
During an SQL Server Database design project, the analysis of your
business needs identifies all the fields or attributes of interest. If your business needs change
over time, you define any additional fields or change the definition of existing fields.
DSS and OLTP access to the same critical data, SQL Server leads the industry in both
performance and capability
SQL SERVER is a truly portable, distributed, and open DBMS that delivers unmatched
performance, continuous operation and support for every database.
SQL SERVER RDBMS is high performance fault tolerant DBMS which is specially designed
for online transactions processing and for handling large database application.
SQL SERVER with transactions processing option offers two features which contribute to
very high level of transaction processing throughput, which are the row level lock manager
2.4 SERVERS:
Chapter – 3
SYSTEM ANALYSIS
FUNCTIONAL REQUIREMENTS:
1. Submitting the request along with the supporting bills.
2. Accessing details like name, Invoice number, Invoice amount.
3. Calculating the Gross salary and Income tax.
4. Intimating the employee about the status of request.
5. Intimating the accounts department to deposit the amount into the account of employee.
USABILITY:
The system should be useful to enhance with further technology in
future to improve its features compared to the existing system.
• EFFICIENCY:
The system should be able to perform in all independent paths that
all the logical conditions are satisfied.
• RELIABILITY:
The system should pertain to all the situations so that it can be
recoverable in any error conditions.
• MAINTAINABILITY:
The system should be maintained properly so that it should be
able resolve any data conflicts and sustain at any condition.
10
REQUIREMENT ANALYSIS:
3.2 MODULES:
1. Login:
This module deals with the employee about the details which includes the user ID,
password, designation of the employee and the account is accessed by him only.
2. Employee Information;
This module acts as an interface for the customer to upload the bills
which supports his request. The employee can upload the images of the bills with the help of a
scanner and the composing of the request is done.
4. Sending SMS:
1. Employee details:
Personal details: It lists all the details of the customer which includes his name, age, gender,
address, mail, mobile number etc.
Employee ID: It deals with the unique Id that was given to the customer at the time of registration.
Credit card details: It deals with credit card number, its pin number and its validity.
Login: It includes administrator tasks and customers status to retrieve through proper verification.
Registration: It is the task of the customer to register a policy to get a customer id which is unique
and register his mobile to make his payments through mobile.
User interface for mobile interacting with the server: This acts as interface for sending
and receiving messages with a message to specified user.
Alerts information: This deals with whether the message has been received to the customer.
12
ACTOR is not the part of the system –they represent anyone or any thing that must interact with
the system.
An Actor may
Only input information to the system.
Only receive information from the system.
Input and receive information to and from the system.
Actors are discovered by examining:
Who directly uses the system?
Who is responsible for maintaining the system?
Other systems that need to interact with the system.
An actor is a stereotype of a class and is depicted as a “stickman” on a use-case
Diagram. The name of the actor is displayed below the icon.
The following question should be answered to identify actors:
1. Who is interested in a certain requirement?
2. Where in the organization the system is used?
3. Who will benefit from the use of the system?
4. Who will supply the system with the information, use this information and remove this
information?
5. Who will support and maintain the system?
6. Does this system use the external resource?
7. Does one person play several different roles?
8. Do several people play the same role?
9. Does the system interact with the legacy system?
1. EMPLOYEE: An employee in an organization can enter into his account and can
upload the bills supporting the request.
customer
(from Use Case View)
2. PAYMENT SYSTEM: It checks the number provided by the user with the
respective bank credit card system.
administrator
(from Use Case View)
4. WEB SERVER: It is the system which stores the entire details like registration,
policy information, premium details and claims.
webserver
(from Use Case View)
USE CASE MODEL, a dialogue between actor and the system .They
represent the functionality provided by the system that is what capabilities will be provided to an
actor by the system. The collection of the use cases for a system constitutes all the defined ways
the system may be used.
The formal definition of the use case is:
A use case is a sequence of transactions performed by the system that yields a measurable result
of the values for a particular actor.
In its simplest form, a use case can be described as a specific way of using the system from a
user’s (actor’s) perspective.
Use cases are best discovered by examining what the actor needs and defining what the actor
will be able to do with the system; this helps ensure that the system will be what the user
expects.
Use
Case
Use case
<<extend>>
create staff acc
<<include>>
adminis
staffDB
login
payslip
approved grants
on approval
coments bank
verify limits
Fig 3.1 Main Use Case Diagram for Quantum Fiscal Disbursement
An employee working in an organization enters into his account with the specified password
and ID. He then enters into account and uploads the bills with the help of the scanner and the
request by the employee is forwarded to the higher authorities along with the bill images. The
manager can accept or reject the request based on the organizational constraints. The manager
then intimates the accounts department to check for the utilization of payment, the accounts
17
clerk then forwards the request to accounts manager to the approval. He then intimates to the
bank to credit the amount into the bank. Also the status of the request by the employee is
intimated for every 24hrs by means of SMS.
Activity diagrams also may be created at this stage in the life cycle. These diagrams
represent the dynamics of the system. They are flow charts that are used to show the workflow
of a system; that is, they show the flow of control from activity to activity in the system, what
activities can be done in parallel, and any alternate paths through the flow. At this point in the
life cycle, activity diagrams may be created to represent the flow across the use cases or they
may be created to represent the flow within a particular use case. Later in the life cycle, activity
diagrams may be created to show the workflow for an operation.
Activity diagrams contain activities, transitions between the activities, decision points,
and synchronization bars. In the UML, activities are represented as rectangles with rounded
edges, transitions are drawn as directed arrows, decision points are shown as diamonds, and
synchronization bars are drawn as thick horizontal or vertical bars.
Activity:
The activity icon appears as a rectangle with rounded ends with a name and a Compartment
for actions.
Object:
It is an ongoing non atomic execution within a state machine. Activities ultimately result in
some action which made up of executable atomic computations. An object has state behavior
and identity. The structure and behavior of similar objects are defined in their common class.
Each object in a diagram indicates some instance of a class. An object that is not named is
referred to as a class instance.
Object flow:
It is useful to see the relationships between an operation and objects
That are its argument values are results.
18
Decisions:
A decision represents a specific location on activity diagram when the workflow may branch
based upon guard conditions.
States: A state represents a condition or situation during the life of an object during which it
satisfies some condition or waits for some event.
Transition: A state transition indicates that an object in the source state will perform certain
specified actions and enter the destination state when a specified event occurs or when
specified conditions are satisfied.
Start States: A start state (also called initial state) explicitly shows the beginning of a
workflow.
End States: An end state represents a final or terminal state on an activity diagram or state
chart diagram. Place an end state when you want to explicitly show the end of a workflow on
an activity diagram or the end of a state chart diagram. Transitions can only occur into an end
state; however, there can be any number of end states per context.
Swim Lane: A unique diagram feature that defines who or what is responsible
For carrying out activity or state Swim lanes are very similar to an object because they provide
a way to tell who is performing a certain role. Swim lanes only appear on activity diagrams.
You should place activities within swim lanes to determine which unit is responsible for
carrying out the specific activity. When a swim lane is dragged onto an activity diagram, it
becomes a swim lane view.
19
Work Flow: Each activity represents the performance of a group of actions in a workflow.
upLoad his
bills
Object: An object has state, behavior and identity. The structure and behavior of
similar objects are defined in their common class. Each object in a diagram indicates
some instance of a class. An object that is not named in referred to as a class instance.
Message Icons: A message icon represents that the communication between objects
indicating that an action will follow. The message icon is a horizontal, solid arrow
connecting two lifelines together.
Focus of Control: Focus of Control (FOC) is an advanced notational technique that
enhances sequence diagrams. It shows the period of time during which an object is
performing an action, either directly or through an underlying procedure.
Message to Self: A message to self is a tool that sends a message from one object back
to the same object. It does not involve other objects because the message returns to the
same object. The sender of a message is the same as the receiver.
21
Note: A note captures the assumptions and decisions applied during analysis and
design. Notes may contain any information, including plain text, fragments of code or
references to other documents.
OBJECT:
One of the primary elements of a collaboration or sequence diagram is an
object. An object has state, behavior, and identity. The structure and behavior of similar
objects are defined in their common class. Each object in a diagram indicates some instance of
a class.
An object that is not named is referred to as a class instance. The object icon is
similar to a class icon except that the name is underlined.If you use the same name for several
object icons appearing in the same collaboration diagram, they are assumed to represent the
same object; otherwise, each object icon represents a distinct object. Object icons appearing in
different diagrams denote different objects, even if their names are identical. Objects can be
named three different ways: object name, object name and class, or just by the class name
itself
MESSAGES:
A message icon represents the communication between objects, indicating that
an action will follow. Each message icon represents a message passed between two objects,
and indicates the direction a message is going. A message icon in a collaboration diagram can
represent multiple messages. A message icon in a sequence diagram represents exactly one
message.
A message is the communication carried between two objects that trigger an
event. A message carries information from the source focus of control to the destination focus
of control.
A message is represented on collaboration diagrams and sequence diagrams by a
message icon which visually indicates its synchronization. The synchronization of a message
can be modified through the message specification.
22
: employee
ack
forward ack
connect to interface
ack
forward ack
more compressed, other things can be shown more easily. A collaboration diagram provides
several numbering schemes.
1 Flat sequence.
2 Decimal sequence.
The disadvantage of interaction diagrams is that they are great only for
representing a single sequential process; they begin to break down when you want to represent
conditional looping behavior. However, conditional behavior can be represented in sequence
or collaboration diagrams for each scenario.
4: forward ack
9: forward ack
: employee 3: ack 8: ack
5: connect to interface : mail DB
2: verify details
7: store in the mail database
: UploadBills
CHAPTER - 4
DESIGN
verbs to be methods of the classes then, the nouns are listed, and divided in to three categories:
relevant classes, fuzzy classes and the irrelevant classes.
3. Reviewing the redundant classes:The classes that are redundant are stroked out.
1) Enroll 2) registration 3) Due date.
5. Reviewing the possible attributes:The noun phases used only as values should be
restated as attribute classes. Here we have no such attribute classes.
Administrator
employee
manager
accounts clerk
accounts manager
a class shown below the class name enclosed in guillemots (<< >>). If desired, a graphic icon
or a specific color may be associated with a stereotype.
s canner
employee
invoice
loginID
password scan()
date scan the soft copy
billAmount
InvoiceNumber
* *
update() verifyBill()
1 1..*
delete() viewSalary()
new_employee() updateDetails()
view_salary() 1 leaveForm()
leaveForm() authunticate()
1 *
1
clerk (accounts dept.)
loginID
1..* accounts manager pas sword
loginID * billAmount
pas sword invoiceAmount
billApprove
invoiceAmount verifyLimit()
* viewSalary()
verifyInvoice() 1 UpdateDetails()
viewSalary() leaveForm()
updateDetails()
bankSetails ()
optionTransfer()
CLIENT DETAILS:
The employee must login to see his status which includes his personal
details and request details which are retrieved from the database and given to employee.
REQUEST REQUEST
EMPLOYEE
RESPONSE RESPONSE
REQUEST REQUEST
EMPLOYEE
RESPONSE RESPONSE
REQUEST REQUEST
EMPLOYEE
RESPONSE RESPONSE
The Employee interacts with the company server to register, to make status request, to download
attached documents etc.
STATUS RESPONSE
The Employee gets a message about the status of the bill whether the bill is accepted or rejected or
pending. The server in turn can send status alerts to the Employee mobile.
Inv amt
Emp Name
Emp
ID Email Inv num
Addres Date
s Designatio Contact
n
32
Designatio
Emp Name n
Emp
ID Email User Id
Addres Passwor
s Designatio Contact d
n
Inv amt
Inv num
Bill Details Verifie Admin
d
Date
to from
Bill image
33
4.5 DIAGRAMS:
USE CASE VIEW OF DESIGN:
1. ADMINISTRATOR:
34
bank acc no
login staff ID
account for staff bank details
no
provides
admin
yes
staff personal details
nativity
designation
<<extend>> staff educational details
<<include>>
view previous records qualification
<<include>> <<include>>
H.R.A <<include>><<include>>
<<include>> staff advance
<<include>>
<<include>> <<include>>
C.A emolutions
EDU.A <<include>>
ESI
instalments
<<extend>>
compose
submit bills
softcopy
scanner
3. MANAGER:
36
staff DB
<<extend>>
employee
login inbox
no
error in bills
manager <<include>>
The manager in the organization login into his account and opens hi inbox and
checks the messages that exist in the inbox. He then verify’s the bills submitted by the employee for
approval. He can perform 3 operations such as accept, reject, pending and if the bill is approved then
the bill is forwarded to the accounts department for verification of limits for allotment.
4. ACCOUNTS CLERK:
37
staff DB
<<extend>>
employee
inbox
login
no
limits reached/invalid bills etc
account's clerk <<include>>
The clerk in the accounts department performs the verification of the bills
submitted by the employees and if he found that the bills submitted by the employee is correct , he
then intinates the higher authorities that the bills are found to be correct and then forward the bill
amount to the account department head i.e, the account manager for the process of crediting the
amount.
5. ACCOUNTS MANGER:
38
staff DB
<<extend>>
login inbox
no
account's manager <<include>>
yes
ok
<<include>> <<include>>
check bank details
by cash
<<include>>
bank
branch.bank
found wrong ?
<<include>>
DD
intimate to employee
The account manager login into his account and opens his inbox for
checking the messages . He then verifies whether the bill that is submitted is under the rules of
organization and he then intimates the account department that he is approving the bill and gives the
permission to credit the bill amount into the employees account.
ACTIVITY DIAGRAMS:
1. ADMINISTRATOR:
39
login
upload/Delete/Create
[no]
2. EMPLOYEE:
login
[yes]
[no]
Upload bill ( Invoice no., Scan the bill for Upload bill
login correct ? [yes] upload another
Invoice amount etc..) soft copy image bill ?
[no]
Activity 4r Manager
login
verify another bill
[No]
[Yes]
Email sent to
employee
If Approved?
[No]
[Yes]
Accounts
Department
The manager in the organization login into his account and opens hi inbox and
checks the messages that exist in the inbox. He then verify’s the bills submitted by the employee for
approval. He can perform 3 operations such as accept, reject, pending and if the bill is approved then
the bill is forwarded to the accounts department for verification of limits for allotment.
41
4.ACCOUNTS CLERK:
login
[yes]
[no]
[no]
The clerk in the accounts department performs the verification of the bills
submitted by the employees and if he found that the bills submitted by the employee is correct , he
then intinates the higher authorities that the bills are found to be correct and then forward the bill
amount to the account department head i.e, the account manager for the process of crediting the
amount.
42
5. ACCOUNTS MANGER:
login
SMS sent to
employee
The account manager login into his account and opens his inbox for
checking the messages . He then verifies whether the bill that is submitted is under the rules of
organization and he then intimates the account department that he is approving the bill and gives the
permission to credit the bill amount into the employees account.
SEQUENCE DIAGRAMS:
1. LOGIN:
43
acknowledgment
forward
2. EMPLOYEE:
enter details
verify details
connect to scan
ack
forward ack
enter details
verify details
approve bills
verification
ACK
forward ACK
4. CLERK:
45
login Details
verify DETAils
Ack
4ward
verification
cheked OK
COLLABORATION DIAGRAMS
46
1. LOGIN
5: forward
4: acknowledgment
2: forward
3: verify details
: login : database
2. EMPLOYEE:
1: enter details
: employee : login UI
5: forward ack
4: ack
2: verify details
3: connect to scan
: staff DB : scanner.
3. MANAGER:
47
1: enter details
: manageer : logUI
interface
6: forward ACK
5: ACK
2: verify details
4: verification
3: approve bills
: EmpDb : account
dept
4. ACCOUNTS CLERK:
5: verification
1: login Details
: clerkk : LOgin UI
4: 4ward
6: cheked OK
3: Ack2: verify DETAils
: acc
manager : stafFDB
Table4.1 Login
EMPLOYEE LIMITS:
Table4.2 Limits
MAIL DETAILS:
EMPLOYEE DETAILS:
CHAPTER – 5
50
DEVELOPMENT PROCEDURE
Process Model:
A process model for software engineering is chosen based on the
nature of the project and application, the methods and tools to be used and the Deliverables
that are required.
So, our application is based on the water fall model. It is also called
classic life cycle or the linear sequential model. Waterfall model suggests a systematic,
sequential approach to software development that begins at the system level and progresses
through analysis, design, coding, testing and support.
Hardware Requirements:
Company Server.
GSM MOBILE with SIM.
PCs
Software Requirements:
5.2 TECHNOLOGY:
51
SERVERS:
5.3 CODING:
1. Login Authentication:
int i;
for (i = 0; i < c; i++)
{
DataRow dr = ds.Tables["Table1"].Rows[i];
string user = dr[0].ToString();
user = user.Trim();
if (user.Equals(untb.Text))
{
if (role.Equals(dn.SelectedItem.ToString()))
{
Session["user"] = untb.Text;
Session["desig"] = dn.SelectedItem.ToString();
Response.Redir
ect("Default3.aspx");
}
else
{
Response.Redirect("invalidpassword.aspx");
}
}
}
}
cn.Close();
if (i == c)
Response.Write("INVALID USERNAME OR PASSWORD");
2. Session Expiry:
}
}
3. Composing
st = ("C:/Users/y5cs887/Desktop/" +
FileUpload1.FileName).ToString();
SqlConnection cn = new
SqlConnection(ConfigurationManager.AppSettings["budget1"]);
cn.Open();
FileStream file = new FileStream(st, FileMode.OpenOrCreate,
FileAccess.Read );
byte[] rawdata = new byte[file.Length];
Session["f1"] = (byte[])rawdata;
file.Read(rawdata, 0, System.Convert.ToInt32(file.Length));
file.Close();
string sql = "SELECT * FROM Table6";
SqlDataAdapter adapter = new SqlDataAdapter(sql, cn);
SqlCommandBuilder cmdBuilder = new SqlCommandBuilder(adapter);
DataSet ds = new DataSet("Table6");
adapter.Fill(ds, "Table6");
DataRow row = ds.Tables["Table6"].NewRow();
row["from1"] = Session["user"].ToString();
row["to1"] = TextBox3.Text;
row["subject"] = TextBox1.Text;
string s= FileUpload1.FileName.ToString ();
row["attach"] = FileUpload1.FileName;
row["body"] = TextBox6.Text;
row["img"] = rawdata;
row["date"] = rightNow.ToString();
row["Invnum"] = TextBox2.Text;
row["Invamt"] = TextBox5.Text;
row["stage"] = Session["user"].ToString();
row["confirmation"] = "waiting".ToString ();
ds.Tables["Table6"].Rows.Add(row);
adapter.Update(ds, "Table6");
TextBox3.Text = "";
TextBox1.Text = "";
TextBox6.Text = "";
TextBox2.Text = "";
TextBox5.Text = "";
cn.Close();
}
4. Inbox:
if (e.CommandName == "select")
55
{
int currentRowIndex = Convert.ToInt32((e.CommandArgument));
string user1 = Convert.ToString(Session["user"]);
user1 = user1.Trim();
string sub1 =
Convert.ToString(GridView1.DataKeys[currentRowIndex].Value);
sub1 = sub1.Trim();
Session["RR"] = sub1.ToString();
SqlConnection cn = new
SqlConnection(ConfigurationManager.AppSettings["budget1"]);
cn.Open();
SqlDataAdapter da = new SqlDataAdapter("Select * from Table6 ", cn);
SqlCommandBuilder cb = new SqlCommandBuilder(da);
DataSet ds = new DataSet();
da.Fill(ds, "Table6");
int c = ds.Tables["Table6"].Rows.Count;
int i;
for (i = 0; i < c; i++)
{
DataRow dr = ds.Tables["Table6"].Rows[i];
string user2 = dr[0].ToString();
user2 = user2.Trim();
string sub2 = dr[2].ToString();
Session["f2"] = dr[8].ToString();
sub2 = sub2.Trim();
if (user1.Equals(user2))
if (sub2.Equals(sub1))
{
TextBox6.Text = Convert.ToString(dr[7]);
// Session["im"] = Convert.ToString(dr[6]);
break;
}
cn.Close();
}
}
6. Deletion:
7. Loading Image:
8. Crystal Reports:
9. Account:
row["gender"] = gen ;
row["address"] = TextBox3.Text.ToString();
row["contact"] = TextBox5.Text.ToString();
row["degree"] = DropDownList1.SelectedItem.ToString();
row["email"] = TextBox7.Text.ToString();
row["authentication"] = "yes";
row["password"] = Session["user"].ToString();
ds.Tables["Table3"].Rows.Add(row);
adapter.Update(ds, "Table3");
58
cn.Close();
}
10.Registration:
row["login"] = "BAS0" + c;
Session["log"] = "BAS0" + c;
row["password"] = "BAS0" + c;
Session["pwd"] = "BAS0" + c;
row["designation"] = DropDownList1.SelectedValue.ToString();
ds.Tables["Table1"].Rows.Add(row);
adapter.Update(ds, "Table1");
cn.Close();
Response.Redirect("Default9.aspx");
}
protected void Button4_Click(object sender, EventArgs e)
{
GridView1.Visible = true;
Button2.Visible = true;
Button5.Visible = true;
SqlConnection cn = new
SqlConnection(ConfigurationManager.AppSettings["budget"]);
cn.Open();
SqlDataAdapter adapter = new SqlDataAdapter("SELECT
login,password,designation FROM Table1 WHERE login = '"+TextBox3.Text .Trim
()+"'", cn);
DataSet f = new DataSet();
adapter.Fill(f);
GridView1.DataSource = f.Tables[0];
GridView1.DataBind();
cn.Close();
}
The system uses a very user-friendly interface developed using extended markup
language (XML) and hyper text markup language (HTML). Which most users are acquitted
with and is broadly used on the World Wide Web (WWW). The controls are placed on the
forms in an easily accessible manner so that user strain is minimized to the maximum extent.
Whenever a user enters any from the system also states the action to be performed is an
easily understandable and pleasant speech. The navigation of the user from one area of the
60
system to another is very easy using easy to access and properly placed hyperlinks which user
can access on the click of a button.
The system also posses a unique format for each type of employee; this ensures that
employee is presented with options he has access to. This ensures a great deal of security to the
system and to the organization as an employee is not given an option to carryout unauthorized
activity.
1. LOGIN PAGE:
The administrator makes login through his username and password and selects the login type as admin
to transfer to admin options page.
2. HOME PAGE:
The Home page has four options which can be done. These include sending bills to their higher
authorities i.e., composing the bill information, checking of the mails that are sent by the higher
62
official whether the bills are approved by them or not, viewing the past records of which of the bills
are sent at what date and time.
3. ACCOUNT REGISTRATION:
The Admin creates the account to the respective employee based on the designation of the
employee. The Admin can also verify the details of the employee. The automatic creation of
63
account to the employee by generating the username and the password which are forwarded to
the employee.
4. ACCOUNT CREATION:
The administrator creates the account of the employee by assigning the user ID and the password.
These are forwarded to the employee after creating the account.
64
5. ACCOUNT DETAILS:
The employee after registering the account can fill the details by logging in. The system stores the
details into the database.
65
6. COMPOSING MAILS:
The employee after logging in, composes the bill to the higher authority. The system uploads the bill
images and those are forwarded to the next higher authority.
66
The employee after logging in verifies the details of the bills sent. The forwarded bills are
downloaded by the respective departments and are approved.
67
8. SENT MAILS:
The employee can verify the mails that are sent. The system can also resend the mails that are not
approved or pending replies.
68
The employee can select one of the options of viewing the past records i.e of bar charts or pie charts
etc
69
The employee can change the password from account details. The confirmation of the password is
stored in the database.
70
The employee can re-attain the password by entering the text details and the password is forwarded
to the employee’s mail account.
71
When the employee logins i.e., other than administrator the button registration doesn’t appear as the
registration is not possible by the employee.
72
The employee other than administration and scale1 employee can view the three radio buttons of
accepting, rejecting and pending. The manager can forward by accepting the mails.
73
CHAPTER -6
TESTING
6.1 LOGIN:
This Test case is derived from set of constraints that username must be unique and password
length must be at least 6 characters
TEST CASE # 1
Test Objective : To verify the Login
Test Description: To check whether the administrator or the employee has entered
Login Id and password correctly.
Requirements Verified: YES
Test Environment: ASP and ORACLE
Actions Expected Results
Enter the Login ID Prompt to enter the login ID.
Enter the password Prompt to enter the password.
Select designation Select from drop down list.
Pass : yes Conditional Pass:______ Fail:_________
Problems/Issues: No
Notes: Successfully executed.
6.2 REGISTRATION:
74
This test case is derived from set of input conditions that must be
satisfied in order to continue the registration process.
TEST CASE # 2
Test Objective : To verify the Registration
Test Description: To check whether the registration details has been entered Correctly or not.
Requirements Verified: YES
Test Environment: ASP and ORACLE
Database : SQL server 2005
Actions Expected Results
Enter the name Prompt to enter the name.
Enter the age Prompt to enter the age
Enter the gender Prompt to enter the gender
Enter the Mobile number Prompt to enter the mobile number
Enter the mail Id Prompt to enter the Mail Id
Pass : yes Conditional Pass:______ Fail:_________
Problems/Issues: No
Notes: Successfully executed.
6.3 COMPOSING:
This test case is derived from set of input conditions if satisfied a mail will
be sent else there is no necessity of the mail to be sent.
75
TEST CASE # 3
Test Objective : To verify whether the user composes
Test Description: To check whether the user can send the mail or not.
Requirements Verified: YES
Test Environment: ASP and ORACLE
Database: SQL server 2005
Actions Expected Results
Make sure that all the fields are appropriate. All fields are non empty.
6.4 INBOX:
This test case is derived from the constraint that when ever the user
gets a mail and must be updated in the database
76
TEST CASE # 4
Test Objective : To verify the mails.
Test Description: To check whether the user had the mails in the inbox or not.
Requirements Verified: YES
Test Environment: ASP and ORACLE
Pre Conditions Required: a GSM mobile with SIM.
Actions Expected Results
Verify the received messages database List of mails in the inbox.
Verify the identity of customer and If the user is valid update his
Prepare a message to be sent. Request in the database
Otherwise report invalid user.
Send a message to the customer in Alert reaches the mobile with a message
reply to the message received about the status.
TEST CASE # 5
77
TEST CASE # 6
Test Objective: To send a SMS about the status of request.
78
Test Description: To send a message to the employee whenever the database is updated belonging
to the status of the bill for every 24hrs.
Requirements Verified: YES
Test Environment: ASP and ORACLE.
Test Setup/Pre-conditions: a GSM mobile with SIM.
Actions Expected Results
Chapter-7
CONCLUSION
CHAPTER -8
FUTURE WORK
BIBLIOGRAPHY
3. www.w3schools.com
4. www.cooltext.com
5. www.msdn.com
APPENDIX
USER MANUAL:
Steps to be followed:
User will log on to the application and the login will be based on the designation which
is selected from drop down list.
The user can view the details of the request and can also view the status at which the
request is.
The access to the system will be based on the Designation. The roles will be based on
the type of department the user belongs to.
82
Details are:
o Any user can create a request by login to the system, the parameters for
creating the request will be
Name of the user (should be defaulted from the login)
Dept of the user (should be defaulted from the login)
Type of the bill being submitted (e.g., telephone bill, electricity bill etc)
Amount of the bill
Date of expense incurred
Whether the request is supported by the bills
Whether the bill amount should be credited to the user account in the
bank
Bank name, address and account number
Any other mode by which the user will want to get the payment.