Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
enter in time and out time in a record book. At the end of each
month Head of department will calculate leaves of every faculty member which
is a time taking process and there are chances of losing records. Current
procedure is a time consuming.
1
1.3 Justification and need for the system:
In proposed system chances of losing data is not possible because data is
maintained in the form of database. Every day attendance, leaves and
notices information is updated in to database using a user friendly GUI.
This will reduce work for Head of departments
For employees, this system allows them to easily request leave online
from any point-in-time. For admin, leave approval no longer involves
trails of paperwork. Online-leave ensures that all leaves taken and leave
requests are properly monitored, where everybody can apply and view
leave records without the hassle and delay of going through the admin
staff - it's all at your fingertips with anytime, anywhere access.
The employees get access to their leave history and leave balance and the
admin too has access to the same. Therefore leave approval or rejection
becomes more transparent.
2
1.4 Advantages of the System:
3
2. SYSTEM ANALYSIS AND DESIGN
2.1 SRS:
2.1.1 Functional Requirements:
Functional requirements will define the fundamental actions that must take place in the
software in accepting, processing the inputs in processing, generating the outputs.
Class diagram, Uses Case Diagram, Sequence Diagrams will be provided which
describes the flow of data between various processes of the system. Process descriptions will be
provided based on the process information. Use Case Specification will be enclosed and
provided which describes the detailed specifications of each use case. The functions that make
the system usable are to be fulfilling by system and that functions must be error prone and should
be follows the all security and data protection criteria.
There are following functional requirements for proposed system. After careful analysis
the system has been identified to have the following modules:
Employee Module :
In this module faculty will register their daily information like leave approvals and new
notifications. Members should log in to their account and update information. If there are any
notifications related to previous day it is displayed in the form of pop up. Members should
respond to that notification by sending replay to higher authorities.
HOD Module:
In this module Head of the department will have permissions to look after data of
every faculty member of their department. HOD can view data in the form of reports and
get it in the form of print out. Reports can be displayed based on day, month. HOD can
approve leave through this application and he can view leaves information of every
individual.
4
Non-Functional Requirements:
To provide flexibility to the users, the interfaces have been developed that are accessible
through a browser. The GUI’S at the top level have been categorized as
Non-functional requirements concentrates on the consistent information that is
practically, part of the organizational activities and which needs proper authentication for the
data collection. Here data is going to collect from multipath or any-path way to receiver side and
send from sender side. Data must be secure while sending through network. Must not know to
third party also that are going to store and process the data. Data can be search by specific
keywords but they must be specified by data owner. These interfaces help the administrators
with all the transactional states like Data insertion, Data deletion and Date updating along with
the extensive data search capabilities.
5
Performance requirements
Safety Requirements
HDD must be very safe in order to make the product work very well.
The server which the project is deployed should be safe enough to run the project
at client side.
Security Requirements
The data provided to the users of the system must be secure. Since the data is
transparent to the users of the system, and the database is not available for the
user the data is secure.
Adaptability
Correctness
Flexibility
Usability
6
Communication Interface
The Connection Manager deals with the architecture, which supports the system to identify
the end users for the communication and establish the communication. The communication
interface is done in AWT swings.
Software Requirement Specification (SRS) is the starting point of the software developing
activity. As system grew more complex it became evident that the goal of the entire system
cannot be easily comprehended. Hence the need for the requirement phase arose. The software
project is initiated by the client needs. The SRS is the means of translating the ideas of the
minds of clients (the input) into a formal document (the output of the requirement phase.)
• Problem/Requirement Analysis:
The process is order and more nebulous of the two, deals with understand the
problem, the goal and constraints.
• Requirement Specification:
Here, the focus is on specifying what has been found giving analysis such as
representation, specification languages and tools, and checking the specifications are
addressed during this activity.
The Requirement phase terminates with the production of the validate SRS
document. Producing the SRS document is the basic goal of this phase.
ROLE OF SRS
7
SCOPE
This document is the only one that describes the requirements of the system. It is
meant for the use by the developers, and will also be the basis for validating the final
delivered system. Any changes made to the requirements in the future will have to go
through a formal change approval process. The developer is responsible for asking
for clarifications, where necessary, and will not make any alterations without the permission
of the client.
Hardware Requirements
Processor - coreduos
cache - 512MB
Software Requirements
8
FEASIBILITY STUDY:
The next step in analysis is to verify the feasibility of the proposed system. “All projects
are feasible given unlimited resources and infinite time“. But in reality both resources and time
are scarce. Project should confirm to time bounce and should be optimal in there consumption of
resources. These places a constant are approval of any project.
Feasibility has applied to Engineering Books Resale Management System pertains to the
following areas:
• Technical feasibility
• Operational feasibility
• Economical feasibilty
To determine whether the proposed system is technically feasible, we should take into
consideration the technical issues involved behind the system.
Engineering Books Resale Management system uses the web technologies, which is
rampantly employed these days worldwide. The world without the web is incomprehensible
today. That goes to proposed system is technically feasible.
To determine the operational feasibility of the system we should take into consideration
the awareness level of the users. This system is operational feasible since the users are familiar
with the technologies and hence there is no need to gear up the personnel to use system. Also
the system is very friendly and to use.
9
ECONOMIC FEASIBILITY
To decide whether a project is economically feasible, we have to consider various factors as:
System design is transition from a user oriented document to programmers or data base
personnel. The design is a solution, how to approach to the creation of a new system. This is
composed of several steps. It provides the understanding and procedural details necessary for
implementing the system recommended in the feasibility study. Designing goes through logical
and physical stages of development, logical design reviews the present physical system, prepare
input and output specification, details of implementation plan and prepare a logical design
walkthrough.
The database tables are designed by analyzing functions involved in the system
and format of the fields is also designed. The fields in the database tables should define their role
in the system. The unnecessary fields should be avoided because it affects the storage areas of
the system. Then in the input and output screen design, the design should be made user friendly.
The menu should be precise and compact.
10
SOFTWARE DESIGN
1. Modularity and partitioning: software is designed such that, each system should consists of
4. Shared use: avoid duplication by allowing a single module be called by other that need the
function it provides
INPUT/OUTPUT DESIGN
Input design: considering the requirements, procedures to collect the necessary input data in
most efficiently designed. The input design has been done keeping in view that, the interaction
of the user with the system being the most effective and simplified way.
11
Output design:
All the screens of the system are designed with a view to provide the user with easy operations
in simpler and efficient way, minimum key strokes possible. Instructions and important
information is emphasized on the screen. Almost every screen is provided with no error and
important messages and option selection facilitates. Emphasis is given for speedy processing
and speedy transaction between the screens. Each screen assigned to make it as much user
friendly as possible by using interactive procedures. So to say user can operate the system
without much help from the operating manual.
12
Architecture
13
E-R Diagram
14
Diagrams
Flow Chart Diagram
15
UML Diagrams
Use cases are used during requirements elicitation and analysis to represent the functionality of
the system. Use cases focus on the behavior of the system from the external point of view. The
actors are outside the boundary of the system, whereas the use cases are inside the boundary of
the system.
16
Class Diagram
Are abstraction that specifies the common structure and behavior of a set of objects?
Class diagrams describe the system in terms of objects, classes, attributes, operations and their
associations.
17
Sequence Diagram
Sequence diagrams are used to formalize the behavior of the system and to visualize the
communication among objects. They are useful for identifying additional objects that participate
in the use cases. A Sequence diagram represents the interaction that takes place amoung these
objects.
18
Statechart diagrams
Statechart diagrams describe the behavior of an individual object as a number of states
and transitions between these states. A state represents a particular set of values for an object.
The sequence diagram focuses on the messages exchanged between objects, the statechart
diagrams focuses on the transition between states.
19
Activity Diagram
An activity diagram describes a system in terms of activities. Activities are states that
represent the execution of a set of operations. Activity diagrams are similar to flowchart diagram
and data flow.
Admin activity:
20
User activity:
21
Collaboration Diagram:
22
3. IMPLEMENTATION
HTML:
Html is a language which is used to create web pages with html marking up a page
to indicate its format, telling the web browser where you want a new line to begin or how
you want text or images aligned and more are possible.
TABLE:
Tables are so popular with web page authors is that they let you arrange the elements of a web
page in such a way that the browser won’t rearrange them web page authors frequently use tables
to structure web pages.
TR:
ALIGN: specifies the horizontal alignment of the text in the table row.
BGCOLOR: Specifies the background color for the row.
BORDERCOLOR: Sets the external border color for the row.
VALIGN: Sets the vertical alignment of the data in this row.
TH:
ALIGN: Sets the horizontal alignment of the content in the table cell. Sets LEFT,
RIGHT, CENTER.
23
BACKGROUND: Species the back ground image for the table cell.
BGCOLOR: Specifies the background color of the table cell
VALIGN: Sets the vertical alignment of the data. Sets to TOP, MIDDLE, BOTTOM or
BASELINE.
WIDTH: Specifies the width of the cell. Set to a pixel width or a percentage of the
display area.
TD:
ALIGN: Species the horizontal alignment of content in the table cell. Sets to LEFT,
CENTER, RIGHT.
BGCOLOR: Specifies the background image for the table cell.
BGCOLOR: sets the background color of the table cells.
WIDTH: Species the width of the cell
24
FRAMES:
Frames are used for either run off the page or display only small slices of what are
supposed to be shown and to configure the frame we can use <FRAMESET>There are two
important points to consider when working with <FRAMESET>.
<FRAMESET> element actually takes the place of the <BODY> element in a document.
Specifying actual pixel dimensions for frames .
From the frameset point of view dividing the browser into tow vertical frames means creating
two columns using the <FRAMESET> elements COLS attribute.
</FRAMESET>
</FRAMESET>
25
FORM:
ATTRIBUTES:
ACTION: Gives the URL that will handle the form data.
NAME: Gives the name to the form so you can reference it in code set to an
alphanumeric string.
METHOD: method or protocol is used to sending data to the target action URL.
The GET method is the default, it is used to send all form name/value pair information
in an URL. Using the POST method, the content of the form are encoded as with the
GET method, but are sent in environment variables.
CONTROLS IN HTML
ATTRIBUTES:
26
ATTRIBUTES:
<INPUT TYPE=RADIO>:
ATTRIBUTES:
<INPUT TYPE=SUBMIT>:
Creates a submit button that the user can click to send data in the form back to the web
server.
ATTRIBUTES:
VALUE: Gives this button another label besides the default, Submit Query. Set to
alphanumeric characters.
<INPUT TYPE=TEXT>:
Creates a text field that the user can enter or edit text in.
ATTRIBUTES:
VALUE: Holds the initial text in the text field. Set to alphanumeric characters.
27
JAVA SCRIPT
Java script originally supported by Netscape navigator is the most popular web
scripting language today. Java script lets you embedded programs right in your web pages
and run these programs using the web browser. You place these programs in a <SCRIPT>
element, usually within the <HEAD> element. If you want the script to write directly to
the web page, place it in the <BODY> element
JAVASCRIPT METHODS:
Writeln:
Document.writeln() is a method, which is used to write some text to the current web
page.
onClick:
Occurs when an element is clicked.
onLoad:
Occurs when the page loads.
onMouseDown:
Occurs when a mouse button goes down.
onMouseMove:
Occurs when the mouse moves.
onUnload:
Occurs when a page is unloaded.
28
ORACLE
Oracle is a relational database management system, which organizes data in the form of
tables. Oracle is one of many database servers based on RDBMS model, which manages a seer
of data that attends three specific things-data structures, data integrity and data manipulation.
With oracle cooperative server technology we can realize the benefits of open, relational systems
for all the applications. Oracle makes efficient use of all systems resources, on all hardware
architecture; to deliver unmatched performance, price performance and scalability. Any DBMS
to be called as RDBMS has to satisfy Dr.E.F.Codd’s rules.
ORACLE IS PORTABLE:
The Oracle RDBMS is available on wide range of platforms ranging from PCs to super
computers and as a multi user loadable module for Novel NetWare, if you develop
application on system you can run the same application on other systems without any
modifications.
ORACLE IS COMPATIBLE:
Oracle commands can be used for communicating with IBM DB2 mainframe RDBMS that is
different from Oracle, that is Oracle compatible with DB2. Oracle RDBMS is a high
performance fault tolerant DBMS, which is specially designed for online transaction
processing and for handling large database applications.
Oracle adaptable multithreaded server architecture delivers scalable high performance for
very large number of users on all hardware architecture including symmetric multiprocessors
(sumps) and loosely coupled multiprocessors. Performance is achieved by eliminating CPU,
29
I/O, memory and operating system bottlenecks and by optimizing the Oracle DBMS server
code to eliminate all internal bottlenecks.
FEATURES OF ORACLE:
Client/server architecture.
Data independence.
Ensuring data integrity and data security.
Managing data concurrency.
Parallel processing support for speed up data entry and online transaction processing used
for applications.
DB procedures, functions and packages.
30
JDBC DRIVERS:
The JDBC API only defines interfaces for objects used for performing various
database-related tasks like opening and closing connections, executing SQL
commands, and retrieving the results. We all write our programs to interfaces and not
implementations. Either the resource manager vendor or a third party provides the
implementation classes for the standard JDBC interfaces. These software implementations are
called JDBC drivers. JDBC drivers transform the standard JDBC calls to the external
resource manager-specific API calls. The diagram below depicts how a database client
written in java accesses an external resource manager using the JDBC API and JDBC driver:
Depending on the mechanism of implementation, JDBC drivers are broadly classified into four
types.
31
Types of jdbc-odbc driver
TYPE1:
Type1 JDBC drivers implement the JDBC API on top of a lower level API like ODBC.
These drivers are not generally portable because of the independency on native libraries. These
drivers translate the JDBC calls to ODBC calls and ODBC sends the request to external data
source using native library calls. The JDBC-ODBC driver that comes with the software
distribution for J2SE is an example of a type1 driver.
TYPE2:
Type2 drivers are written in mixture of java and native code. Type2 drivers use vendors
specific native APIs for accessing the data source. These drivers transform the JDBC calls to
vendor specific calls using the vendor’s native library. These drivers are also not portable like
type1 drivers because of the dependency on native code.
TYPE3:
Type3 drivers use an intermediate middleware server for accessing the external data
sources. The calls to the middleware server are database independent. However, the middleware
server makes vendor specific native calls for accessing the data source. In this case, the driver is
purely written in java.
TYPE4:
Type4 drivers are written in pure java and implement the JDBC interfaces and translate
the JDBC specific calls to vendor specific access calls. They implement the data transfer and
network protocol for the target resource manager. Most of the leading database vendors provide
type4 drivers for accessing their database servers.
32
DRIVER MANAGER AND DRIVER:
JAVA.SQL.DRIVERMANAGER:
The primary task of the class driver manager is to manage the various JDBC drivers
register. It also provides methods for:
Getting connections to the databases.
Managing JDBC logs.
Setting login timeout.
33
MANAGING DRIVERS:
JDBC clients specify the JDBC URL when they request a connection. The driver
manager can find a driver that matches the request URL from the list of register drivers and
delegate the connection request to that driver if it finds a match JDBC URLs normally
take the following format:
<protocol>:<sub-protocol>:<resource>
The protocol is always jdbc and the sub-protocol and resource depend on the type of
resource manager. The URL for postgreSQL is in the format:
Jdbc: postgres ://< host> :< port>/<database>
Here host is the host address on which post master is running and database is the name of the
database to which the client wishes to connect.
MANAGING CONNECTION:
CONNECTIONS:
The interface java.sql.Connection defines the methods required for a persistent connection to the
database. The JDBC driver vendor implements this interface. A database ‘vendor-neutral’
client never uses the implementation class and will always use only the interface. This
interface defines methods for the following tasks:
34
Statements, prepared statements, and callable statements are the different types of
statements for issuing sql statements to the database by the JDBC clients.
For getting and setting auto-commit mode.
Getting meta information about the database.
Committing and rolling back transactions.
CREATING STATEMENTS:
This method is used for creating instances of the interface java.sql.Statement. This interface can
be used for sending SQL statements to the database. The interface java.sql.Statement is normally
used for sending SQL statements that don’t take any arguments. This method throws an instance
of SQLException if a database access error occurs:
JDBC RESULTSETS:
35
SCROLLING RESULTSETS:
an int.
public String getString (int I) Gets the data in the specied column as
36
a string.
(String col)
STATEMENT:
The interface java.sql.Stament is normally used for sending SQL statements that do not
have IN or OUT parameters. The JDBC driver vendor provides the implementation class for
this interface. The common methods required by the different JDBC statements are defined in
this interface. The methods defined by java.sql. Statement can be broadly categorized as follows:
The interface java.sql.statements defines Methods for executing different SQL statements like
The following figure shows how the Driver Manager, Driver, Connection, Statement, Result
Set classes are connected.
Servlets are indeed useful, and JSP by no means makes them obsolete. However,
BENEFITS OF JSP:
It is easier to write and maintain the HTML: In this no extra backslashes, no double
quotes, and no lurking Java syntax.
You can use standard Web-site development tools:
We use Macromedia Dreamweaver for most of the JSP pages. Even HTML tools
that know nothing about JSP can used because they simply ignore the JSP tags.
There are two minor exceptions to the “template text passed through” rule.
First, if you want to have <% 0r %> in the out port, you need to put <\% or %\> in the
template text. Second, if you want a common to appear in the JSP page but not in the
resultant document,
JSP scripting elements allow you to insert Java code into the servlet that will be
generated from the JSP page. There are three forms:
Expressions of the form <%=Java Expression %>, which are evaluated and inserted
into the servlet’s output.
Sciptlets of the form <%Java code %>, which are inserted into the servlet’s_jspService
method (called by service).
Declarations of the form<%! Field/Method Declaration %>, which are inserted into the
body of the servlet class, outside any existing methods.
39
A JSP element is used to insert values directly into the output. It has the following form:
The expression is evaluated, converted to a string, and inserted in the page. This evaluation is
performed at runtime (when the page is requested) and thus has full access to the information
about the request. For example, the following shows the date/time that the page was
requested.
PREDEFINED VARIABLES:
To simplify expressions we can use a number of predefined variables (or “implicit objects”).
The specialty of these variables is that, the system simple tells what names it will use for the
local variables in _jspService.The most important ones of these are:
40
JSP works best when the structure of the HTML page is fixed but the values at various
places need to be computed dynamically. If the structure of the page is dynamic, JSP is less
beneficial. Some times servlets are better in such a case. If the page consists of binary data or has
little static content, servlets are clearly superior. Sometimes the answer is neither servlets nor JSP
alone, but rather a combination of both.
WRITING SCRIPTLETS:
If you want to do something more complex than output the value of a simple expression
.JSP scriptlets let you insert arbitrary code into the servlet’s _jspService method. Scriptlets
have the following form:
Scriptlets have access to the same automatically defined variables as do expressions (request,
response, session, out , etc ) .So for example you want to explicitly send output of the resultant
page , you could use the out variable , as in the following example:
<%
%>
SCRIPTLET EXAMPLE:
As an example of code that is too complex for a JSP expression alone, a JSP page that
uses the bgColor request parameter to set the background color of the page .Simply using
USING DECLARATIONS:
A JSP declaration lets you define methods or fields that get inserted into the main body of
the servlet class .A declaration has the following form:
41
Since declarations do not generate output, they are normally used in conjunction with JSP
expressions or scriptlets. In principle, JSP declarations can contain field (instance variable)
definitions, method definitions, inner class definitions, or even static initializer blocks: anything
that is legal to put inside a class definition but outside any existing methods. In practice
declarations almost always contain field or method definitions.
We should not use JSP declarations to override the standard servlet life cycle methods. The
servlet into which the JSP page gets translated already makes use of these methods. There is no
need for declarations to gain access to service, doget, or dopost, since calls to service are
automatically dispatched to _jspService , which is where code resulting from expressions and
scriptlets is put. However for initialization and cleanup, we can use jspInit and jspDestroy- the
standard init and destroy methods are guaranteed to call these methods in the servlets that come
from JSP.
JAKARTA TOMCAT
Tomcat is the Servlet/JSP container. Tomcat implements the Servlet 2.4 and JavaServer
Pages 2.0 specification. It also includes many additional features that make it a useful platform
for developing and deploying web applications and web services.
TERMINOLOGY:
/bin – Startup, shutdown, and other scripts. The *.sh files (for Unix systems) are functional
duplicates of the *.bat files (for Windows systems). Since the Win32 command-line lacks certain
functionality, there are some additional files in here.
/conf – Configuration files and related DTDs. The most important file in here is server.xml.
It is the main configuration file for the container.
42
INSTALLATION:
Tomcat will operate under any Java Development Kit (JDK) environment that provides a JDK
1.2 (also known as Java2 Standard Edition, or J2SE) or later platform. JDK is needed so that
servlets, other classes, and JSP pages can be compiled.
43
Individual Servlet and Utility Class Files
Location $CATALINA_HOME/webapps/ROOT/WEB-INF/lib
44
4. Testing and Test Results
Purpose of Testing
Testing
SYSTEM TESTING
The purpose of testing is to discover errors. Testing is the process of trying to
discover every conceivable fault or weakness in a work product. It provides a way to
check the functionality of components, sub assemblies, assemblies and/or a finished
product It is the process of exercising software with the intent of ensuring that the
45
Software system meets its requirements and user expectations and does not fail in an
unacceptable manner. There are various types of test. Each test type addresses a specific
testing requirement.
TYPES OF TESTS
Unit testing
Unit testing involves the design of test cases that validate that the internal program
logic is functioning properly, and that program inputs produce valid outputs. All decision
branches and internal code flow should be validated. It is the testing of individual
software units of the application .it is done after the completion of an individual unit
before integration. This is a structural testing, that relies on knowledge of its construction
and is invasive. Unit tests perform basic tests at component level and test a specific
business process, application, and/or system configuration. Unit tests ensure that each
unique path of a business process performs accurately to the documented specifications
and contains clearly defined inputs and expected results.
Integration testing
Integration tests are designed to test integrated software components to determine
if they actually run as one program. Testing is event driven and is more concerned with
the basic outcome of screens or fields. Integration tests demonstrate that although the
components were individually satisfaction, as shown by successfully unit testing, the
46
combination of components is correct and consistent. Integration testing is specifically
aimed at exposing the problems that arise from the combination of components.
Functional test
Functional tests provide systematic demonstrations that functions tested are
available as specified by the business and technical requirements, system documentation,
and user manuals.
System Test
System testing ensures that the entire integrated software system meets requirements.
It tests a configuration to ensure known and predictable results. An example of system
testing is the configuration oriented system integration test. System testing is based on
process descriptions and flows, emphasizing pre-driven process links and integration
points.
47
White Box Testing is a testing in which in which the software tester has knowledge
of the inner workings, structure and language of the software, or at least its purpose. It is
purpose. It is used to test areas that cannot be reached from a black box level.
Unit Testing:
Unit testing is usually conducted as part of a combined code and unit test phase of
the software lifecycle, although it is not uncommon for coding and unit testing to be
conducted as two distinct phases.
48
No duplicate entries should be allowed
All links should take the user to the correct page.
Integration Testing
Software integration testing is the incremental integration testing of two or
more integrated software components on a single platform to produce failures
caused by interface defects.
Test Results: All the test cases mentioned above passed successfully. No defects
encountered.
Acceptance Testing
User Acceptance Testing is a critical phase of any project and
requires significant participation by the end user. It also ensures that the
system meets the functional requirements.
Test Cases
A test case is a document, which has a set of test data, preconditions, expected results and post
conditions, developed for a particular test scenario in order to verify compliance against a
specific requirement.
Test case ID: Unique ID for each test case. Follow some convention to indicate types of test.
E.g. ‘TC_UI_1’ indicating user interface test case #1’.
Test priority (Low/Medium/High): This is useful while test execution. Test priority for
business rules and functional test cases can be medium or higher whereas minor user interface
cases can be low priority. Test priority should be set by reviewer.
49
Test Designed By: Name of tester
Test Executed By: Name of tester who executed this test. To be filled after test execution.
Test Title/Name: Test case title. E.g. verify login page with valid username and password.
Pre-condition: Any prerequisite that must be fulfilled before execution of this test case. List all
pre-conditions in order to successfully execute this test case.
Test Steps: List all test execution steps in detail. Write test steps in the order in which these
should be executed. Make sure to provide as much details as you can. Tip – to efficiently manage
test case with lesser number of fields use this field to describe test conditions, test data and user
roles for running test.
Test Data: Use of test data as an input for this test case. You can provide different data sets with
exact values to be used as an input.
Expected Result: What should be the system output after test execution? Describe the expected
result in detail including message/error that should be displayed on screen.
Post-condition: What should be the state of the system after executing this test case?
Actual result: Actual test result should be filled after test execution. Describe system behavior
after test execution.
Status (Pass/Fail): If actual result is not as per the expected result mark this test as failed.
Otherwise update as passed.
50
Test Cases:
1 Click on Data User Open registration page Pass It has opened register page
Registration!
2 Click on register button Ask for personal & contact Pass It has shown error message “Enter
without giving personal & details personal & contact details”
contact details
3 Enter valid email id, It should redirect to other Pass It has redirected to register and
password, & personal details page save to database page
4 Click on register button It should redirect to give Pass It has given error message for that
without giving any one or error message for that entity entity registration page.
more entity values registration page.
51
5 Enter valid personal & Redirect to the save Pass It has redirected to save
contact details and then click automobile page automobile register page.
on register button
1 Click on login button Open home page of valid user Pass It has opened home page of
as per the login credentials valid user, by clicking the login
button
2 Click on login button without Ask for enter username & Pass Asking for Entering username
giving username &password password and password
3 Enter username without password Ask for enter password Pass It shown message to enter
password
4 Enter invalid username & Show message for invalid Pass It has displayed error message
password username, password for “User Not Exists”
52
5 Enter valid username & password It should redirect to other page Pass It has redirected user home page
as per the credentials
1 Click on Search without It should ask for Pass It has shown error message “Select Search
giving selecting any input selecting a file. File Input”
2 Click on submit after It should display the Pass It has shown the details of the respective
giving correct input. details of given no. automobile using registration number.
3 Click on submit after It should display an Pass It has shown error message “Invalid
giving wrong input. error message. Credentials.”
53
Test Test Case Description Expected Results Pass/ Actual Results
Case# Fail
1 Click on post leave It should post the leave Pass It has shown the success message of
application application to the account posted leave application to account
2 Click on post question It should ask for inserting pass It has shown error message “Insert leave
button without entering the any leave application application”
application
3 Click on upload button It should show the form to Pass It has shown show the form to enter the
selecting leave application enter the users and their users and their identity
identity.
54
Description for test cases
TEST CASE 1 :
TEST CASE 2:
55
When a user enters user id to register and ID already exists, then this result in displaying
error message “USER ID ALREADY EXISTS”.
TEST CASE 3 :
TEST CASE 4:
IV.Screenshots:
56
57
58
59
60
61
62
5. CONCLUSION AND FUTURE WORK
CONCLUSION
The basic purpose of this project is to ease up the manual work done by the professors
while applying leaves and to make the confirmation process easy without any inconvenience. To
achieve this we have come up with an web-based system that helps with the online leave
management process and also with the maintenance of data in databases.
FUTURE ENHANCEMENT
Here we are proposing the system where we can give only application and can get the quick
response but we can enhance our system quality by adding some strong features in future. We
63
can enhance leave management system by asking the proof of reason of leave online. Means
admin can ask applicant to generate the leave proof in case he/ she is taking seek leave then ask
to generate doctor report or certificate.
References
Java Technologies
64
JAVA Security by Scotl oaks
HTML
JDBC
65
APPENDIX:
IEEE Paper
(http://umpir.ump.edu.my/3720/1/TENGKU_DIYANA_BINTI_TENGKU_IBRAHIM.PDF)
Program Listing
Registration.java
Categorybean.java
FriendBean.java
UserSession.java
TextBean.java
66
DETAILS OF HARDWARE PRODUCT /CHIP SPECIFICATIONS
Software Requirements
Hardware Requirements
67
QUALITY ASSURANCE
Quality Attributes
Adaptability
Correctness
Flexibility
Usability
Security measures
Security Requirements
The data provided to the users of the system must be secure. Since the data is
transparent to the users of the system, and the database is not available for
the user the data is secure.
68