Beruflich Dokumente
Kultur Dokumente
com
www.studentprojectcode.com
CONTENTS
Chapter 1: Synopsis
(1-8)
1.1
1.2
1.3
1.4
1.5
1.6
1.7
(9-14)
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
( 15-24)
___________________________________________________________
3.1 Introduction
3.2 Applicable Documents
3.3 Functional Decomposition
3.4 Description of the Document
3.5 Context Flow Daigram(CFD)
3.6 Data Flow Diagram(DFD)
3.7 Description of the Module
3.7.1 Login
3.7.2 Book
3.7.3 Student Account
3.7.4 Book Request
3.7.5 Book Issue
3.7.6 Book Return
3.7.7 History
3.7.8 Registration
3.7.8 Penalty settings
( 25-34)
___________________________________________________________
4.1 Introduction
4.2 Database Description
4.3 Description of Table and Fields
4.3.1 Admin_reg
4.3.2 Book Table
4.3.3 Book Return Table
4.3.4 Book Category table
4.3.5 Book_issue Table
4.3.6 Course Table
4.3.7 Penalty Table
4.3.8 Penalty Setting
4.3.9 Staff Table
4.3.10 Student Table
4.4 E-R Diagram
4.4.1 Entity
4.4.2 Relationships
4.4.3 Attributes
(35-39)
___________________________________________________________
5.1 Introduction
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
(40-95)
___________________________________________________________
6.1 Introduction
6.2 Coding Standards
6.2.1 Code Review and Walkthroughs
Chapter 7: Testing
(96-112)
___________________________________________________________
7.1 Introduction
7.2 Testing Objectives
7.3 Unit Testing
7.4 White Box Testing
7.5 Black Box Testing
7.6 Unit Test Cases
Chapter 8: Screenshots
(113-121)
___________________________________________________________
Chapter 9: Conclusion
122
___________________________________________________________
Conclusion
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
123
___________________________________________________________
124
___________________________________________________________
SYNOPSIS
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
1. SYNOPSIS
1.1 Title of the project
E- Library Management System
of the books.
It helps the administrator to accomplish his tasks at ease.
It lets the users sign-up to the library initially and then sign-in
the library.
All details of the users and library information are stored in the
database. The
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Proposed System:
E-Library Management system is used to provide a medium for the libraries
to computerize their entire functioning and would contribute as a first step in
digitalizing their libraries. Libraries had their entire records on paper which again
required maintenance and the problem of finding relevant information proved to
be a difficult task. Even if the required information was found it was usually at
cost of much valuable time. E-Library Management would not only simplify this
process but also speedup the entire functioning of the library. It will also
contribute towards increasing the efficiency of the libraries a whole, right from the
data entry to maintaining the historical records. One major purpose is to provide
user or the library members the opportunity to not only search through the books
online but to reserve books that are issued by other users and also request newer
books
1.6 Project category
Web Application.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Database Connection standard via the ODBC extension. Other databases may
utilize URL or sockets, like Couch DB.
JavaScript
JavaScript (JS) is a dynamic computer programming language. It is most
commonly used as part of web browsers, whose implementations allow clientside scripts to interact with the user, control the browser, communicate
asynchronously, and alter the document content that is displayed. It is also being
used in server-side programming, game development and the creation of desktop
and mobile applications.
JavaScript is a prototype-based scripting language with dynamic typing and has
first-class functions. Its syntax was influenced by C. JavaScript copies many
names and naming conventions from Java, but the two languages are otherwise
unrelated and have very different semantics. The key design principles within
JavaScript are taken from the self and Scheme programming languages. It is
a multi-paradigm language, supporting object-oriented, imperative, and functional
programming styles.
HTML
HTML or Hypertext Mark-up Language is the main language for creating web
pages and other information that can be displayed in a web browser.
HTML is written in the form of HTML elements consisting of tags enclosed in
angle (like <html>), within the web page content. HTML tags most commonly
come in pairs like <h1> and</h1>, although some tags represent empty
elements and so are unpaired, for example <img>. The first tag in a pair is
the start tag, and the second tag is the end tag (they are also called opening
tags and closing tags). In between these tags web designers can add text, further
tags, comments and other types of text-based content.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Language Used
: PHP 5.3
Database
: My SQL 5.5
: HTML, AJAX
Web Browser
Software
: XAMPP Server
Operating System
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
the book. If the book is already reserved for others then that book
should not be renewed
Returning Books: In this module the librarian maintains the details of
the books returned by the student, which also includes the fine details,
damage book details, lost book details.
Reports: This module includes the details about the issued books, returned books,
student reports, fine reports, or details of the book which are not returned.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
SOFTWARE
REQUIREMENT
SPECIFICATION
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
a reference for the validation of the final product i.e.; the SRS helps the client to determine
if the System meets the requirements.
2.1.1 Purpose
This document is meant to serve as a guide to the developer on one hand and a software
validation document for the client on the other. The purpose of this document is to specify
all the information required to design, develop and test the software. This to ensure that the
person reading the document understands what he or she is looking at. It provides the
visibility in the design and provides information needed for software support.
2.1.2 Scope
The scope of this project includes our group of developers assisted by our customer.
The scope thus far has been the completion of the basic interfaces that will be used to build
the system. The database used, has been set up and given the necessary permissions. This
Application works in Multiple PCs installed on multiple Computers by sharing same
database by which users of different departments can use it sitting at different locations
simultaneously
2.1.3 Definitions, Acronyms, Abbreviations
E-LMS
SRS
DFD
E-R
RAM
DBMS
2.1.4 References
2.1.5 Overview
The SRS is organized into two main sections. The first is The Overall Description
and the second is the Specific Requirements. The Overall Description will describe the
requirements of the library management system from a general high level perspective.
The Specific Requirements section will describe in detail the requirements of the
system.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
This section aims to describe both the existing and the proposed systems, with
respect to why the proposed system is needed.
After understanding the existing manual system and understanding the need for
developing a new system, library staffs have been consulted for the collection of
requirements. The data needed for the study has been collected from the library.
The computerization of this system would reduce the paper works. The system helps
the user to see any documents, tasks, activities with details at the click of a button.
The record data is maintained and backed up such a way that data is not loss. The
speed of the system could also be increased.
Student history.
Fine Statement.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
User friendly
2. 3 Specific Requirements
2.3.1 External Interface Requirements
2.3.1.1 User Interface
The user of the product will get very user friendly forms which will be very easy to
work with.
2.3.1.2 Hardware Interface
Hardware requirements are:
Technology Implemented
: Apache Server
Language Used
PHP
Database
MySQL
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
: HTML, CSS
Web Browser
: Google Chrome,
Operating system
Input: Entering the book number, ISBN, book title, author, publisher, and
category.
Input: Entering the registration number, name, address, contact number etc..
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Input: Librarian enters the book details, student details, issue date, due date.
Processing: Librarian checks the student history and issues the book to the
student.
Introduction: In this module the librarian maintains the details of the books
returned by the student, which also includes the fine details, damage book
details, lost book details.
Input: Librarian enters the book details, student details, return date, fine
details.
Introduction: In this module both the student and librarian can view the
details about the previous issued books, requested books and returned books
etc.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
2.4.4.3 Security:
2.4.4.4 Maintainability:
This system can update and add new functionality whenever required
because it is designed in a modular way.
2.4.4.5 Portability:
The system can be portable to another machine which has the required
software installed.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
SYSTEM
DESIGN
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
3. SYSTEM DESIGN
3.1 Introduction:
The purpose of the design phase is to a solution of the problem specified in the
requirements document. This is the first step in moving from the problem domain to the
solution domain. The design of a system is perhaps the most critical factor affecting the
quality of software; it has a major impact on the later phases is the design document. This
document is similar to a blue print or a plan for the solution and is used later during
implementation, testing and maintenance.
The design activity is often divided into separate phases System design
Detailed design
System design is sometimes also called top level design. System design aims to
identify the modules that should be in the system, the specification of these modules, and
how they interact with each other to produce the desired result. At the end of the system
design all the major data structures, file formats, output formats and the major modules in
the system and their specifications are decided.
3.2 APPLICABLE DOCUMENTS:
SRS
System Design
Database Design
Staff
Student
Books
Configurations
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Change password
3. Student
Search Books
Request Books
View History
4. Staff
Student
Books
Configurations
Change password
The arrow represents the data flow. All arrows in the data
flow diagrams are labelled. The arrow head indicates the
dictionary of data flow
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Process definition
Output
3.6.2. Book:
Input
Process definition
Output
Process definition
Output
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Process definition
Output
Process definition
Output
Process definition
Output
3.6.7. History:
Input
Process definition
Output
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Output
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
DATABASE
DESIGN
4. DATABASE DESIGN
4.1 Introduction
This document describes the tables that are used to design the software; its
attributes, data type, constraints and relationship among table are defined through
Entity Relationship Diagram(ER-Diagram).
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
NAME
TYPE
SIZE
DESCRIPTION
admin_name
varchar
20
Admin name
user_name
varchar
20
User name
Password
varchar
20
Password
Gender
varchar
10
Gender
designation
varchar
20
Designation
varchar
30
Email id
Phoneno
int
11
Phone number
TYPE
SIZE
DESCRIPTION
bookid
bookcat_id
Int
Int
10
10
Book id
Book category id
bookname
varchar
20
Book name
isbn
Varchar
20
isbn number
title
Varchar
20
author
Varchar
20
Author
publisher
Varchar
20
Publisher
yr_of_publ
Varchar
20
Year of publications
edition
Varchar
20
Edition
book_code
varchar
20
Book code
course_id
Int
20
Course id
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
cost
Double
noofcopies
Int
dateofentry
Date
Status
varchar
Cost
11
Number of copies
Date of entry
10
Status
TYPE
SIZE
DESCRIPTION
returnid
Int
10
Return id
issueid
Int
10
Issue id
userid
Int
10
User id
returndate
Date
status
varchar
Return date
10
status
TYPE
SIZE
DECRIPTION
bookcat_id
int
11
Book category id
bookcat_name
varchar
20
Status
varchar
20
Status
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
TYPE
SIZE
DESCRIPTION
Issueid
Int
10
Issue id
Bookid
Int
10
Book id
Userid
Int
10
User id
Issuedate
Date
Issue date
requestdate
Date
Request date
duedate
Date
Due date
Status
status
10
Status
4.3.6.course table:
Description:This table stores course details.
NAME
TYPE
SIZE
DESCRIPTION
course_id
int
11
Course id
course_name
varchar
20
Course name
call_no
varchar
20
Call number
Status
varchar
15
Status
TYPE
SIZE
DESCRIPTION
penaltyid
int
10
Penalty id
psid
int
10
Penalty setting id
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
penalty
float
userid
int
other
float
bookid
int
description
text
status
varchar
Penalty
10
User id
10
Book id
Description
10
status
4.3.8.penalty_setting:
Description:This table stores penalty setting details
NAME
TYPE
SIZE
DESCRIPTION
Psid
Int
10
Penalty setting id
penalty_type
varchar
20
Penalty type
Days
int
10
Days
penalty_cost
Float
Penalty cost
TYPE
SIZE
DESCRIPTION
Staffid
varchar
10
Staff id
Name
varchar
10
Name
address
varchar
30
Address
contactno
varchar
10
Contact number
dateofjoin
date
login_id
varchar
Date of join
10
Log in id
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
password
varchar
30
Password
Design
varchar
10
Designation
4.3.9.10 student:
Description:This table stores student information.
NAME
TYPE
SIZE
DESCRIPTION
regno
varchar
10
Registration number
name
varchar
20
Name
Imag
varchar
30
Image
course_id
int
11
Course id
semester
varchar
20
Semester
contactno
varchar
20
Contact number
address
varchar
20
Address
Date
varchar
20
Date
password
varchar
20
password
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
E-R DIAGRAM
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
DETAILED
DESIGN
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
5. DETAILED DESIGN
5.1 Introduction:
Detailed design is the second level of the design process. During detailed design, we
specify how the module in the system interacts with each other and the internal logic
of each of the modules specified during system design is decided, hence it is also
called as logic design.
Detailed design essentially expands the system design and database design to contain
a more detailed description of the processing logic and data structures so that the
design is sufficiently complete for coding
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
3. Student
Student Account
Student history
Search Book
Request Book
Change Password
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Staff
Student
Book Information
Requested Books
Issued Book
5.4.1.8 Structure chart
Penalty
settings
5.1.1.3 File I/O Interfaces: Provides an user friendly interface to enter the details.
5.5.1.4Output: Event details are stored into the database.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
5.5.2.2 Procedural details: Admin will be provided with the menu page where admin
could enter required menu information.
5.5.2.3 File I/O Interfaces: Provides an user friendly interface to enter the details.
Output: Menu details will be stored into the database.
5.5.3 Book Module
5.5.3.1 Input: Admin enters the supplier payment details like supplier name, date, total
amount to be paid, paid amount.
5.5.3.2 Procedural details: Admin will be provided with the payment page where admin
could enter required supplier payment information.
5.5.3.3 File I/O Interfaces: Provides an user friendly interface to enter the details.
Output: Supplier payment details will be stored into the database.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
CODING
AND IMPLEMENTATION
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Code efficiency
Response time
Maintainability
Security
Simple ease to understand code
Ease of design code translation
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Adminreg.php
<?php
session_start();
include("sqlcon.php");
if(isset($_POST['token']) && ($_POST['token']==$_SESSION['token']))
{
if(isset($_POST["submit"]))
{
$result="insert into
admin_reg(admin_name,user_name,password,gender,designation,email,phoneno)
values('$_POST[name]','$_POST[uname]','$_POST[pw]','$_POST[gender]','$_POST[desig
n]','$_POST[email]','$_POST[phnno]')";
if(!mysql_query($result,$con))
{
die("error".mysql_error());
}
else
$msg="Registered Successfully...";
}
unset($_SESSION['token']);
}
$new_token = md5(time(). rand(0,100));
$_SESSION['token']=$new_token;
include("header.php");
?>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<html>
<head>
<title>
Registration Form</title>
<script language="javascript">
function validate()
{
var x=document.f1.email.value;
var atpos=x.indexOf("@");
var dotpos=x.lastIndexOf(".");
if(document.f1.name.value=="")
{
alert("Enter Admin Name");
document.f1.name.focus();
return false;
}
else if(document.f1.uname.value=="")
{
alert("Enter User Name");
document.f1.uname.focus();
return false;
}
else if(document.f1.pw.value=="")
{
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
alert("Enter Password");
document.f1.pw.focus();
return false;
}
else if(document.f1.pw.value.length<8 || document.f1.pw.value.length>15 )
{
alert("minimum charaters for password is 8 and maximum character is 15");
document.f1.pw.focus();
return false;
}
else if(document.f1.confirmpw.value=="")
{
alert("Enter Confirm Password");
document.f1.confirmpw.focus();
return false;
}
else if(document.f1.pw.value != document.reg.confirmpw.value)
{
alert("password and confirm password is not matching");
document.f1.confirmpw.value="";
document.f1.pw.focus();
return false;
}
else if(document.f1.gender.value=="")
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
{
alert("Enter Gender");
document.f1.gender.focus();
return false;
}
else if(document.f1.design.value=="")
{
alert("Enter desination");
document.f1.design.focus();
return false;
}
else if(document.f1.email.value=="")
{
alert("Enter EmailId");
document.f1.email.focus();
return false;
}
else if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
{
alert("Not a valid e-mail address");
return false;
}
else if(document.f1.phnno.value=="")
{
alert("Enter Student Phone Number");
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
document.f1.phnno.focus();
return false;
}
else if(document.f1.phnno.value.length<5 || document.f1.phnno.value.length>11 )
{
alert("Not valid number");
document.f1.phnno.focus();
return false;
}
else
return true;
}
function ValidateAlpha()
{
var keyCode = window.event.keyCode;
if ((keyCode < 65 || keyCode > 90) && (keyCode < 97 || keyCode > 123) && keyCode !=
32)
{
window.event.returnValue = false;
alert("Enter only letters");
}
}
function isNumberKey(evt)
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
{
window.event.returnValue = false;
alert("Enter only Numbers");
}
return true;
}
</script>
</head>
<body>
<div id="templatemo_content_container">
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="templatemo_post">
<div class="post_title">
ADMIN REGISTRATION
</div>
<div class="post_body">
<form method="post" action="">
<table border="1" width="50%">
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
</tr>
<tr>
<th>Phone Number</th><td><input type="number" name="phnno" onKeyPress="return
isNumberKey(event)"/></td>
</tr>
<tr><td colspan="2" align="center"><input type="submit" name="submit"
value="Register" class="CSSButton" onClick="return validate()"/>
<input type="reset" value="Clear" /></td>
</tr>
</table>
</form>
<center><?php echo $msg;?></center>
</div>
</div>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<?php
include("footer.php");?>
</body>
</html>
book category.php
<?php
session_start();
include("sqlcon.php");
if(isset($_POST["submit"]))
{
$ins="insert into book_category(bookcat_name,status)
values('$_POST[bkcat]','$_POST[status]')";
if(!mysql_query($ins,$con))
{
die("error".mysql_error());
}
else
$msg="Added Successfully...";
}
include("header.php");
?>
<html>
<head>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<script language="javascript">
function validate()
{
if(document.f1.bkcat.value=="")
{
alert("Enter Book Category");
document.f1.bkcat.focus();
return false;
}
else if(document.f1.status.value=="")
{
alert("Enter Book Category Status");
document.f1.status.focus();
return false;
}
else
return true;
}
function ValidateAlpha()
{
var keyCode = window.event.keyCode;
if ((keyCode < 65 || keyCode > 90) && (keyCode < 97 || keyCode > 123) && keyCode !=
32)
{
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
window.event.returnValue = false;
alert("Enter only letters");
}
}
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
{
window.event.returnValue = false;
alert("Enter only Numbers");
}
return true;
}
</script>
</head>
<body>
<div id="templatemo_content_container">
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="templatemo_post">
<div class="post_title">
ADD BOOK CATEGORY
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
</div>
<div class="post_body">
<center><?php echo $msg;?></center>
<form method="post" action="">
<table width="73%" height="108" border="1" align="center">
<tr>
<th width="53%">Book category:</th><td width="47%"><input type="text"
name="bkcat" onKeyPress="ValidateAlpha();" /></td>
</tr>
<tr>
<th>Status:</th><td><select name="status">
<option value="">--select--</option>
<option value="available">Available</option>
<option value="not available">Not Available</option>
</select>
</td>
<tr>
<th colspan="2">
<input type="submit" name="submit" class="CSSButton" onClick="return validate()">
</th>
</tr>
</table>
</form>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
</div>
</div>
Book.php
<?php
session_start();
include("sqlcon.php");
$d1=date("Y/m/d");
$result=mysql_query("select * from book_category");
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
$b=$row[1];
$c=$row[2];
$d=$row[3];
$e=$row[4];
$f=$row[5];
$g=$row[6];
$h=$row[7];
$i=$row[8];
$j=$row[9];
$k=$row[10];
$l=$row[11];
$m=$row[12];
$n=$row[13];
$o=$row[14];
}
}
if(isset($_POST["update"]))
{
$updt="update book set
bookcat_id='$_POST[cid]',bookname='$_POST[bname]',isbn='$_POST[isbn]',title='$_PO
ST[title]',author='$_POST[autr]',publisher='$_POST[publish]',yr_of_publ='$_POST[yr]',ed
ition='$_POST[edit]',book_code='$_POST[bcode]',course_id='$_POST[courseid]',cost='$_
POST[cost]',noofcopies='$_POST[num]',dateofentry='$_POST[doe]',status='$_POST[statu
s]' where bookid='$_POST[bkid]'";
if(mysql_query($updt))
{
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
header("Location: viewbook.php");
}
else
die(mysql_error());
}
<html>
<head><title>book form</title>
<script language="javascript">
function validate()
{
if(document.f1.cid.value=="")
{
alert("select Book Category");
document.f1.cid.focus();
return false;
}
else if(document.f1.bname.value=="")
{
alert("Enter Book Name");
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
document.f1.bname.focus();
return false;
}
else if(document.f1.isbn.value=="")
{
alert("Enter Book Isbn");
document.f1.isbn.focus();
return false;
}
else if(document.f1.title.value=="")
{
alert("Enter book Title");
document.f1.title.focus();
return false;
}
else if(document.f1.autr.value=="")
{
alert("Enter Book Author");
document.f1.autr.focus();
return false;
}
else if(document.f1.publish.value=="")
{
alert("Enter book Publisher");
document.f1.publish.focus();
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
return false;
}
else if(document.f1.yr.value=="")
{
alert("Enter Year Of Publication");
document.f1.yr.focus();
return false;
}
else if(document.f1.edit.value=="")
{
alert("Enter Book Edition");
document.f1.edit.focus();
return false;
}
else if(document.f1.bcode.value=="")
{
alert("Enter Book Code");
document.f1.bcode.focus();
return false;
}
else if(document.f1.course.value=="")
{
alert("Select Course");
document.f1.course.focus();
return false;
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
}
else if(document.f1.cost.value=="")
{
alert("Enter Book Cost");
document.f1.cost.focus();
return false;
}
else if(document.f1.num.value=="")
{
alert("Enter Number Of Copies");
document.f1.num.focus();
return false;
}
else if(document.f1.doe.value=="")
{
alert("Enter Date Of Entry");
document.f1.doe.focus();
return false;
}
else if(document.f1.status.value=="")
{
alert("Select Book Status");
document.f1.status.focus();
return false;
}
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
else
return true;
}
function ValidateAlpha()
{
var keyCode = window.event.keyCode;
if ((keyCode < 65 || keyCode > 90) && (keyCode < 97 || keyCode > 123) && keyCode !=
32)
{
window.event.returnValue = false;
alert("Enter only letters");
}
}
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
{
window.event.returnValue = false;
alert("Enter only Numbers");
}
return true;
}
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
</script>
</head>
<body>
<div id="templatemo_content_container">
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="templatemo_post">
<div class="post_title">
ADD BOOK
</div>
<div class="post_body">
<center><?php echo $msg;?></center>
<form method="post" action="">
<table border="1" width="50%">
<input type="hidden" name="token" value="<?= $new_token?>" />
<input type="hidden" name="bkid" value="<?php echo $a;?>" />
<tr>
<th>Book category:</th><td><select name="cid">
<option value="">--select--</option>
<?php
while($row=mysql_fetch_array($result))
{
if($b==$row[0])
{
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<tr>
<th>Book name:</th><td><input type="text" name="bname" value="<?php echo $c;?>"
onKeyPress="ValidateAlpha();" /></td>
</tr>
<tr>
<th>Isbn:</th><td><input type="text" name="isbn" value="<?php echo $d;?>" /></td>
</tr>
<tr>
<th>Title:</th><td><input type="text" name="title" value="<?php echo $e;?>"
onKeyPress="ValidateAlpha();" /></td>
</tr>
<tr>
<th>Author:</th><td><input type="text" name="autr" value="<?php echo $f;?>"
onKeyPress="ValidateAlpha();" /></td>
</tr>
<tr>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<option value="Available"
<?php
if($o=="Available")
{
echo "selected";
}
?>
>Available</option>
<option value="Not Available"
<?php
if($o=="Not Available")
{
echo "selected";
}
?>
>Not Available</option>
</select>
</td>
</tr>
<?php
if(isset($_GET["editid"]))
{
?>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<?php
}
?>
</table>
</form>
</div>
</div>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
Staff.php
<?php
session_start();
include("sqlcon.php");
if(isset($_POST['token']) && ($_POST['token']==$_SESSION['token']))
{
if(isset($_POST["submit"]))
{
$result="insert into staff(name,address,contactno,dateofjoin,login_id,password,design)
values('$_POST[name]','$_POST[addr]','$_POST[contno]','$_POST[doj]','$_POST[logid]','
$_POST[pwd]','$_POST[design]')";
if(!mysql_query($result,$con))
{
die("error".mysql_error());
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
}
else
$msg="Added Successfully...";
}
unset($_SESSION['token']);
}
if(isset($_GET["editid"]))
{
$res=mysql_query("select * from staff where staffid='$_GET[editid]'");
while($row=mysql_fetch_array($res))
{
$a=$row[0];
$b=$row[1];
$c=$row[2];
$d=$row[3];
$d1=$row[4];
$e=$row[5];
$f=$row[6];
$log=$row[login_id];
}
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
$_SESSION['token']=$new_token;
include("header.php");
?>
<html>
<head>
<title>Staff Form</title>
<script language="javascript">
function validate()
{
if(document.f1.name.value=="")
{
alert("Enter Staff Name");
document.f1.name.focus();
return false;
}
else if(document.f1.addr.value=="")
{
alert("Enter Staff Address");
document.f1.addr.focus();
return false;
}
else if(document.f1.contno.value=="")
{
alert("Enter Staff Contact no");
document.f1.contno.focus();
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
return false;
}
else if(document.f1.contno.value.length<5 || document.f1.contno.value.length>11 )
{
alert("Not valid number");
document.f1.contno.focus();
return false;
}
else if(document.f1.doj.value=="")
{
alert("Enter Staff Date Of Join");
document.f1.doj.focus();
return false;
}
else if(document.f1.logid.value=="")
{
alert("Enter Staff Login id");
document.f1.logid.focus();
return false;
}
else if(document.f1.pwd.value=="")
{
alert("Enter Staff Password");
document.f1.pwd.focus();
return false;
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
}
else if(document.f1.pwd.value.length<8 || document.f1.pwd.value.length>15 )
{
alert("minimum charaters for password is 8 and maximum character is 15");
document.f1.pwd.focus();
return false;
}
else if(document.f1.design.value=="")
{
alert("Enter Staff Designation");
document.f1.design.focus();
return false;
}
else
return true;
}
function ValidateAlpha()
{
var keyCode = window.event.keyCode;
if ((keyCode < 65 || keyCode > 90) && (keyCode < 97 || keyCode > 123) && keyCode !=
32)
{
window.event.returnValue = false;
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
</script>
</head>
<body>
<div id="templatemo_content_container">
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="templatemo_post">
<div class="post_title">
ADD STAFF
</div>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<div class="post_body">
<center><?php echo $msg;?></center>
<form method="post" action="" name="f1">
<table border="1" width="50%">
<input type="hidden" name="token" value="<?= $new_token?>" />
<tr>
<th>Name:</th><td><input type="text" name="name" value="<?php echo $b;?>"
onKeyPress="ValidateAlpha();"/></td>
</tr>
<tr>
<th>Address:</th><td><input type="text" name="addr" value="<?php echo $c;?>"
/></td>
</tr>
<tr>
<th>Contact No:</th><td><input type="text" name="contno" value="<?php echo $d;?>"
onKeyPress="return isNumberKey(event)"/></td>
</tr>
<tr>
<th>Date Of Join:</th><td><input type="date" name="doj" value="<?php echo $d1;?>"
/></td>
</tr>
<tr>
<th>Login id:</th>
<td><input type="text" name="logid" value="<?php echo $log;?>" /></td></tr>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<tr>
<th>Password:</th><td><input type="password" name="pwd" value="<?php echo $e;?
>" /></td>
</tr>
<tr>
<th>Designation:</th><td><input type="text" name="design" value="<?php echo $f;?>"
onKeyPress="ValidateAlpha();"/></td>
</tr>
<?php
if(isset($_GET["editid"]))
{
?>
<tr><td colspan="2" align="center"><input type="submit" name="submit" value="Update
Staff" onClick="return validate()" class="CSSButton"/>
<input type="reset" value="Clear" class="CSSButton"/></td>
</tr>
<?php
}
else
{
?>
<tr><td colspan="2" align="center"><input type="submit" name="submit" value="Add
Staff" onClick="return validate()" class="CSSButton"/>
<input type="reset" value="Clear" class="CSSButton"/></td>
</tr>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
<?php
}
?>
</table>
</form>
</div>
</div>
Student.php
<?php
session_start();
include("sqlcon.php");
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
$d1=date("Y/m/d");
$UPLOADER="images/";
if(isset($_POST['token']) && ($_POST['token']==$_SESSION['token']))
{
if(isset($_POST["submit"]))
{
$f1=rand().$_FILES["file"]["name"];
$imgpath="{$UPLOADER}{$_FILES['file']['name']}";
move_uploaded_file($_FILES["file"]["tmp_name"],$imgpath);
$result="insert into
student(regno,name,imag,course_id,semester,contactno,address,date,password)
values('$_POST[no]','$_POST[name]','$imgpath','$_POST[course]','$_POST[sem]','$_POS
T[contno]','$_POST[addr]','$_POST[date]','$_POST[pwd]')";
if(!mysql_query($result,$con))
{
die("error".mysql_error());
}
else
$msg="Registered Successfully...";
}
unset($_SESSION['token']);
}
if(isset($_GET["editid"]))
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
{
$res=mysql_query("select * from student where regno='$_GET[editid]'");
while($row=mysql_fetch_array($res))
{
$a=$row[regno];
$b=$row[name];
$c=$row[imag];
$d=$row[course_id];
$e=$row[semester];
$f=$row[contactno];
$g=$row[address];
$h=$row[date];
$i=$row[password];
}
}
if(isset($_POST["update"]))
{
if($_FILES["file"]["name"]=="")
{
$imgpath=$_POST[img];
$updt="update student set
regno='$_POST[no]',name='$_POST[name]',imag='$imgpath',course_id='$_POST[course]'
,semester='$_POST[sem]',contactno='$_POST[contno]',address='$_POST[addr]',date='$_P
OST[date]',password='$_POST[pwd]' where regno='$_POST[no]'";
if(mysql_query($updt))
{
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
header("Location: viewstudent.php");
}
}
else
{
$f1=rand().$_FILES["file"]["name"];
$imgpath="{$UPLOADER}{$_FILES['file']['name']}";
move_uploaded_file($_FILES["file"]["tmp_name"],$imgpath);
$updt="update student set
regno='$_POST[no]',name='$_POST[name]',imag='$imgpath',course_id='$_POST[course]'
,semester='$_POST[sem]',contactno='$_POST[contno]',address='$_POST[addr]',date='$_P
OST[date]',password='$_POST[pwd]' where regno='$_POST[no]'";
if(mysql_query($updt))
{
header("Location: viewstudent.php");
}
}
}
$new_token = md5(time(). rand(0,100));
$_SESSION['token']=$new_token;
include("studentheader.php");
?>
<html>
<head><title>student form</title>
<script language="javascript">
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
function validate()
{
if(document.f1.no.value=="")
{
alert("Enter Student Register Number");
document.f1.no.focus();
return false;
}
else if(document.f1.no.value.length<10)
{
alert("Register number should have 10 numbers");
document.f1.no.focus();
return false;
}
else if(document.f1.name.value=="")
{
alert("Enter Student Name");
document.f1.name.focus();
return false;
}
else if(document.f1.name.value.length<3 ||
document.f1.name.value.length>10 )
{
alert("Student name must be greater than 3 letters and less than 10 letters");
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
document.f1.no.focus();
return false;
}
else if(document.f1.file.value=="")
{
alert("Choose Student Image");
document.f1.file.focus();
return false;
}
else if(document.f1.course.value=="")
{
alert("Enter Student Course");
document.f1.course.focus();
return false;
}
else if(document.f1.sem.value=="")
{
alert("Enter Student Semester");
document.f1.sem.focus();
return false;
}
else if(document.f1.contno.value=="")
{
alert("Enter Student Contact Number");
document.f1.contno.focus();
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
return false;
}
else if(document.f1.contno.value.length<5 || document.f1.contno.value.length>11 )
{
alert("Not valid number");
document.f1.contno.focus();
return false;
}
else if(document.f1.date.value=="")
{
alert("Enter date");
document.f1.date.focus();
return false;
}
else if(document.f1.addr.value=="")
{
alert("Enter Student Address");
document.f1.addr.focus();
return false;
}
else if(document.f1.pwd.value=="")
{
alert("Enter Student Password");
document.f1.pwd.focus();
return false;
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
}
else if(document.f1.pwd.value.length<8 || document.f1.pwd.value.length>15 )
{
alert("minimum charaters for password is 8 and maximum character is 15");
document.f1.pwd.focus();
return false;
}
else
return true;
}
function ValidateAlpha()
{
var keyCode = window.event.keyCode;
if ((keyCode < 65 || keyCode > 90) && (keyCode < 97 || keyCode > 123) && keyCode !=
32)
{
window.event.returnValue = false;
alert("Enter only letters");
}
}
function isNumberKey(evt)
{
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
</script>
</head>
<body>
<div id="templatemo_content_container">
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="templatemo_post">
<div class="post_title">
ADD STUDENT
</div>
<div class="post_body">
<?php echo $msg;?>
<form method="post" action="" enctype="multipart/form-data">
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
else
echo "<option value='$row[course_id]'>$row[course_name]</option>";
}
?>
</select>
</td>
</tr>
<tr>
<th>Semester:</th><td><input type="text" name="sem" value="<?php echo $e;?>"
onKeyPress="return isNumberKey(event)"/></td>
</tr>
<tr>
<th>Contact no:</th><td><input type="number" name="contno" value="<?php echo $f;?
>" onKeyPress="return isNumberKey(event)"/></td>
</tr>
<tr>
<th>Address:</th><td><input type="text" name="addr" value="<?php echo $g;?>"
onKeyPress="ValidateAlpha();"/></td>
</tr>
<tr>
<th>Date:</th><td><input type="text" name="date" value="<?php echo date('Y/m/d');?>"
readonly onKeyPress="return isNumberKey(event)"/></td>
</tr>
<tr>
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
</div>
</div>
</div> <!-- end of content left -->
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
TESTING
7. TESTING
7.1 Introduction
Testing is vital to the success of the system. System testing makes a logical assumption that
if all the parts of the system are correct, the goal will be successively achieved. Testing is
running the program (or product) under various circumstances and condition to find errors
and bugs in it. It is a critical element of software quality assurance and represents the
ultimate review of specification, design and coding. The testing phase involves testing of a
system using various test data. Testing involves operation of system or application under
controlled conditions and evaluating the results. The controlled conditions should include
both normal and abnormal conditions.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
SL.NO
TEST CONDITION
EXPECTED
TEST RESULT
RESULT
No data should be
Pass
1.
form
supplied
2.
message Please
Password
Should display error
an invalid username
message Invalid
Username or
3.
pass
pass
Password
4.
5.
an invalid password
message Invalid
Username or
Password
Should load the
Home form
pass
Pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
SL.NO
TEST CONDITION
EXPECTED
TEST RESULT
On load of the
RESULT
No data should be
pass
1.
adminreg form
supplied
2.
message Please
clicks Register
When user enters
numbers instead of
letters
admin name
When user enters
message "Minimum
characters for
3.
4.
pass
pass
pass
password is 8 and
maximum character
5.
is 15"
Should display
message Added
Register
Successfully
pass
SL.NO
TEST CONDITION
EXPECTED
TEST RESULT
RESULT
No data should be
pass
category form
supplied
message Please
clicks Submit
When user does not
message Please
2.
3.
field
pass
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
4.
5.
6.
numbers instead of
letters
book category
When user does not
message Please
clicks Submit
When user enters
select status
Should display
message Book
Added Successfully
pass
Pass
pass
Submit
SL.NO
TEST CONDITION
EXPECTED
TEST RESULT
RESULT
1.
2.
3.
4.
6.
7.
8.
No data should be
form
supplied
message Please
selects book
message Please
category
When user does not
message Please
letters instead of
numbers
isbn
When user enter
numbers instead of
letters
book name
When user enter
numbers instead of
Pass
Pass
Pass
Pass
Pass
Pass
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
9.
10.
11.
letters
title
When user enter
numbers instead of
letters
author
When user enter
numbers instead of
letters
publisher
When user enter
letters instead of
numbers
Pass
Pass
Pass
year of publications
12.
13.
14.
15.
letters instead of
numbers
edition
When user enter
letters instead of
numbers
cost
When user enter
letters instead of
numbers
number of copies
When user enters all
Should display
message Book
Add book
Added Successfully
Pass
Pass
Pass
Pass
SL.NO
TEST CONDITION
EXPECTED
TEST RESULT
RESULT
1.
On load of the
No data should be
Course form
supplied
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
2.
3.
4.
5.
6.
pass
clicks Submit
the fields
enter course_name
course name
Should display error
numbers instead of
letters
book name
When user enter
letters instead of
numbers
call_no
When user enters all
Should display
message Course
Submit
Added Successfully
pass
pass
pass
pass
SL.NO
TEST
EXPECTED
TEST RESULT
1.
CONDITION
On load of the
RESULT
No data should be
pass
History form
supplied
message Please
clicks Submit
When user does not
select search by
message Please
select search by
Should load
search by and
appropriate page
2.
3.
4.
clicks Submit
pass
pass
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
SL.NO
TEST
EXPECTED
TEST RESULT
1.
CONDITION
On load of the
RESULT
No data should be
pass
supplied
message Please
clicks Submit
When user does not
select penalty
message Please
type
When user enter
letters instead of
numbers
cost
When user enter all
Should display
message Added
Submit
successfully
2.
3.
4.
5.
pass
pass
pass
pass
SL.NO
TEST
EXPECTED
TEST RESULT
1.
CONDITION
On load of the
RESULT
No data should be
pass
supplied
message Please
clicks Submit
When user does not
message Please
letters instead of
numbers
2.
3.
4.
no of days
pass
pass
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
5.
6.
letters instead of
numbers
penalty_cost
When user enter all
Should display
message Added
Submit
successfully
pass
pass
SL.NO
TEST CONDITION
EXPECTED
TEST RESULT
RESULT
1.
2.
3.
On load of the
No data should be
Search by form
supplied
clicks Search
the fields
numbers instead of
letters
pass
pass
pass
Should display
pass
SL.NO
TEST RESULT
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
1.
2.
3.
4.
5.
6.
7.
No data should be
form
supplied
message Please
number instead of
letters
name
When user enter
letters instead of
numbers
contact no
When user enter
number instead of
letters
designation
When user enter all
Should display
message Added
Add staff
Successfully
message "Minimum
characters for
pass
pass
pass
pass
pass
pass
pass
password is 8 and
maximum character
is 15"
SL.NO
TEST
EXPECTED
TEST RESULT
1.
CONDITION
On load of the Staff
RESULT
No data should be
pass
history form
supplied
message Please
clicks Search
2.
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
3.
number instead of
letters
pass
name
When user enter the
Should move to
appropriate page
pass
Search
SL.NO
1.
2.
TEST
EXPECTED
CONDITION
RESULT
On load of the
No data should be
Student form
supplied
Clicking Add
student button
message Please
without selecting
enter name
TEST RESULT
pass
pass
name
3.
letters instead of
numbers
pass
Register no
4.
5.
number instead of
letters
name
When user enter
letters instead of
numbers
Semester
pass
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
6.
7.
8.
message Added
Add student
Successfully
enter @ while
writing email id
email id
message "Minimum
characters for
pass
pass
pass
password is 8 and
maximum character
is 15"
SL.NO
1.
2.
3.
TEST CONDITION
EXPECTED
TEST RESULT
On load of the
RESULT
No data should be
pass
supplied
Clicking Search
button without
message Please
selecting Student
enter Student no
no
When user enter letter Should display error
instead of number in
numbers
Student no
pass
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
4.
Should move to
appropriate page
pass
Search
SL.NO
1.
2.
3.
4.
TEST CONDITION
EXPECTED
TEST RESULT
RESULT
No data should be
pass
fine form
supplied
button without
message Please
cost
When user enter
letter instead of
numbers
cost
When user enter all
Should display
message Fine
Add fine
added
pass
pass
pass
SL.NO.
TEST CONDITION
EXPECTED
TEST RESULT
1.
On load of the
RESULT
No data should be
pass
supplied
Clicking Update
button without
message Please
giving Admin
name
When user enter
number instead of
letters
2.
3.
pass
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
4.
user name
When user enters all
information in the
Update
database
pass
SL.NO.
1.
2.
3.
TEST CONDITION
EXPECTED
TEST RESULT
On load of the
RESULT
No data should be
pass
penalty form
supplied
button without
fields
Should display error
button without
message Select
selecting
registration number
pass
pass
Registration
4.
number
When user enter all
Should display
message Penalty
fine
added
pass
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
SCREEN
SHOTS
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
8. Screenshots
1.Index form: this will display index information where user can search the books.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
2. Admin login from:this page will allow admin to login to the page.
3.Admin Home form: when admin click in to the login button it will move to the home
page.
4.Student form:this page will contain the details of the student and this information
will be store in database and can retrieve for further use.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
5.Staff form: this page will contain the details of the staff and this information will be
store in database and can retrieve for further use.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
6.Book form:the details of the book will be added by admin and stored in database.
7.Search book form:here the user can search for a book on the base of title
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
8.Search book form:When we search for a particular book and the details of that
book will be displayed and if that book is available we can request for the book.
9.Member login page:when user request for book the member login page will be
displayed.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
11.View Request form:in this page all the requested books will be displayed by
admin.if that book is available admin can issue that book.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
13.View issued book: in this form the issued books will displayed and the member can
also return the books.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
14.Add fine form:here the fine will be added if the return date is exceeded.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
16.Add book form:if the user does not enter any fields and clicks Add book error
message will be displayed.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
17.book form:when user enter letters instead of numbers then the error message will
be displayed.
18.Book form: when user enter numbers instead of letters the error message will be
displayed.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
CONCLUSION
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
9. CONCLUSION
This Software is user friendly so there is no confusion for a new user to use this Software.
It is designed to minimize the time and increase the efficiency.
The package intends to provide a way to collect, maintain and analyze data of business
transaction carried out at CAMPCO. The Software will provide a graphical environment in
which the various users of the system will be able to accomplish individual operations that
are essential to the effective functioning of the organization.
SQL Server 2005 is used as the database. The main idea was to develop an Easy to use
simple front end using the concept of forms and reports in Visual Basic. All the possible
user requirements are accomplished using buttons. Up-to-date Reports can be generated
based on the user requests.
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
FUTURE
ENHANCEMENT
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
This project plays a vital role in the development of fund management system as the
fund requests from various branches will be taken up telephonically is faster and hence
it can be used in networking
User friendly screen dialogues for the definition and maintenance of the database
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
BIBLIOGRAPY
www.freestudentprojects.comwww.sourcecodefiles.com
www.studentprojectcode.com
11. BIBLIOGRAPHY
References:
Websites referred:
http://www.templateMo.com
http://www.w3schools.com
http://www.wikipedia.com