0% found this document useful (0 votes)
64 views

Mini Project Report

This document provides an overview of an event management system project. It describes the existing manual system and proposes developing a new computerized system to better manage events and event information. The new system would allow users to securely register, view profiles, access help online, and track activities. It would also store event data in a centralized database for easier maintenance. The project aims to analyze requirements and feasibility, design system workflows, implement it using Java, and test the system.

Uploaded by

Nimra Ahmer
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

Mini Project Report

This document provides an overview of an event management system project. It describes the existing manual system and proposes developing a new computerized system to better manage events and event information. The new system would allow users to securely register, view profiles, access help online, and track activities. It would also store event data in a centralized database for easier maintenance. The project aims to analyze requirements and feasibility, design system workflows, implement it using Java, and test the system.

Uploaded by

Nimra Ahmer
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 69

Event Management System

Mini Project Report

On

EVENT MANAGEMENT
SYSTEM

Submitted by:

Namra Ahmar

Faraz Ali

Daniyal Qureshi

Salman Siddiqui

In partial fulfillment for the award of the degree of

BACHELORS IN COMPUTER SCIENCE

1|Page
Event Management System

CERTIFICATE 
This is to certify that, the project assigned on ‘Event Management’ has been successfully completed by

Namrah Ahmar, Daniyal Qureshi, Faraz Ali and Salman Siddiqui of Bahria University Karachi

Campus.

The project is being completed as a part of the syllabus .

2|Page
Event Management System

DECLARATION

Namrah, Faraz, Daniyal and Salman students of CS-2A Bahria University Karachi Campus

have completed the Project on Event Management System for the Academic Year 2019-20.The

information given in this project is true to the best of my knowledge.

_________________

Date :_______________

Miss Salas Akbar

3|Page
Event Management System

Abstract
Event management system is used to manage all the activity related to event. In any event
many service providers work simultaneously and it is very hard to manage these providers.
It is also important for event organizer that he has all the contacts details of these service
providers so that he can contact them any time to plan an event at given time. To manage
all these activity we have developed this software. To get success in the event management
business, user should have strong network contacts of service provider. These contacts are
essentially providers of specific services who can be mobilized quickly to participate in any
given event. To make an event successful event manager needs different service provider
like Sound systems services, Lighting providers, Canteen services, stage construction and so
on. In any event many service providers work simultaneously and it is very hard to manage
these providers. It is also important for event organizer that he has all the contacts details
of these service providers so that he can contact them any time to plan an event at given
time. . In present system Event Company has to do all management work manually. They
keep all payment information on papers. There is no system to check the past expenses on
any event. To do this they have to check payment register and this task is very time
consuming and tiresome.

4|Page
Event Management System
TABLE OF CONTENTS

1. CHAPTER 1(INTRODUCTION)
1.1 Scope of the Project.
1.2 Existing System.
1.3 Proposed System

2. CHAPTER 2(SYSTEM ANALYSIS)


2.1 Feasibility Study
2.1.1 Operational Feasibility
2.1.2 Technical Feasibility
2.1.3 Economical Feasibility
2.2 Functional Requirements
2.3 Non-Functional Requirements
2.4 Hardware Requirements
2.5 Software Requirements

3. CHAPETR 3(SYSTEM DESIGN)


3.1 Admin Flowchart
3.2 Customer Flowchart
3.3 Cancellation Flowchart
3.4 UML Diagram

4. CHAPTER 4(SYSTEM IMPLEMENTATION)


4.1 Technologies Used
4.1.1 About Java
4.2 Snapshots
4.3 Coding

5. CHAPTER 5(SYSTEM TESTING)


6. CHAPTER 6(CONCLUSION)
7. CHAPTER 7(REFRENCES)

5|Page
Event Management System

1. INTRODUCTION
1.1. Scope of the Project
The objective of this application is to develop a system that effectively manages all the data related to the
various events that take place in an organization. The purpose is to maintain a centralized database of all
event related information. The goal is to support various functions and processes necessary to manage the
data efficiently.

1.2. Existing System


This existing system is not providing secure registration and profile management of all the users
properly .This system is not providing on-line help. This system doesn’t provide tracking of users activities
and their progress .This manual system gives us very less security for saving data and some data may be
lost due to mismanagement. This system is not providing event management through internet. This system
is not providing proper events information. The system is giving manual information through the event
management executer.

1.3. Proposed System


The development of this new system contains the following activities, which try to automate the entire
process keeping in the view of database integration approach. This system maintains employee’s personal,
address, and contact details. This system will provide on line help and search capabilities. User friendliness
is provided in the application with various controls provided by system rich user interface. Authentication
is provided for this application only registered users can access. Event information files can be stored in
centralized database which can be maintained by the system. This system provides the employees to
manage the events systematically.

6|Page
Event Management System

2.SYSTEM ANALYSIS

2.1 FEASIBILITY STUDY

A feasibility study is a high-level capsule version of the entire System


analysis and Design Process. The study begins by classifying the problem
definition. Feasibility is to determine if it’s worth doing. Once an acceptance
problem definition has been generated, the analyst develops a logical model
of the system. A search for alternatives is analyzed carefully. There are 3
parts in feasibility study.

2.1.1 Operational Feasibility


Question that going to be asked are
 Will the system be used if it developed and implemented.
 If there was sufficient support for the project from the management and
from the users.
 Have the users been involved in planning and
development of the Project.

2.1.2 Technical feasibility

 Does the necessary technology exist to do what is been suggested


 Does the proposed equipment have the technical capacity for using the
new system?
 Are there technical guarantees of accuracy, reliability and data security?
 The project is developed on Pentium III with 128 MB RAM.
 The environment required in the development of system is any windows
platform.
 The observer pattern along with factory pattern will update the results
eventually.

 The language used in the development is JAVA.

7|Page
Event Management System
2.1.3 Economical Feasibility

To decide whether a project is economically feasible, to consider


various factors as cost benefit analysis, long-term returns and maintenance
costs.

2.2 FUNCTIONAL REQUIREMENTS

Functional requirement defines a function of a software system or its component.


A function is described as a set of inputs, the behavior, and outputs.
Functional requirements may be calculations, technical details, data
manipulation and processing and other specific functionality that define
what a system is supposed to accomplish.

Behavioral requirements describing all the cases where the system uses the
functional requirements are captured in use cases.

NUMBERS OF MODULES:

The system after careful analysis has been identified to be presented


with the following modules:

The Modules involved are

EVENT MANAGEMENT MODULE:


The employees who can use the application their personal
information, contact information and other information etc…

This module consist of events information. All the information like type of
the event, incharge of the event. These all information is maintained here.

Here in this module application is maintaining the total information of the


event and the resources. Like type of the resource, resource details and
resource management.

8|Page
Event Management System

EVENT TASK MANAGER MODULE:

The module is having the information of the events and their task
manager details. Events task are maintained here, the total details of the
events and incharge details maintained. In this module the information of the
event and their details like, what are the events are there and from which
event and to which event the movement is going on, which date , status of the
event etc.

SCHEDULING:

This module consists of events information. All the information like


type of the event, in charge of the event. These all information is maintained
here.

SECURITY AND AUTHENTICATION MODULE:

Security & Authentication module is main module which can provide


security for entire processing of the system by using username, password,
login, password modifications etc.

REPORTS MODULE:
In this module system can generate different type of the reports.

PAYMENT MODULE:
In this module user can pay the amount.

2.3 NON-FUNCTIONAL REQUIREMENTS

PERFORMANCE REQUIREMENTS:

Performance is measured in terms of the output provided by the


application. Requirement specification plays an important part in the analysis

9|Page
Event Management System
of a system. Only when the requirement specifications are properly given, it
is possible to design a system, which will fit into required environment. It
rests largely with the users of the existing system to give the requirement
specifications because they are the people who finally use the system. This is
because the requirements have to be known during the initial stages so that
the system can be designed according to those requirements. It is very
difficult to change the system once it has been designed and on the other
hand designing a system, which does not cater to the requirements of the
user, is of no use.

The requirement specification for any system can be broadly stated as given below:
 The system should be able to interface with the existing system
 The system should be accurate
 The system should be better than the existing system
Reliability:

In this system reliability means the mail which is send by the source
must reach the target user with any modification and accurate.

Security:

The web server and database server should be protected from hacking, virus etc

Portability:

The application will be developed using standard open source


software (Except Oracle) like Java, tomcat web server, Internet Explorer
Browser etc these software will work both on Windows and Linux o/s.
Hence portability problems will not arise.

10 | P a g e
Event Management System

Availability:
This software will be available always.

Maintainability:
In this system the presentation layer is clearly separated from the
service layer. So any modification in future will be done with less efforts.
The database will be running at the server. Users access these forms by using
the user-ids and the passwords.

2.4 HARDWARE REQUIREMENTS:

Processor : Intel P-IV based system

Processor Speed : 2.0. GHz

RAM : 1GB

Hard Disk : 40GB to 80GB

2.5 SOFTWARE REQUIREMENTS:

Database : Oracle 10g

Server : Apache Tomcat 4 or higher


11 | P a g e
Event Management System

Frontend : GUI

Scripting language : Java Script

Web Technologies : Servlets, Jsp

IDE : NET BEANS

Technology : JAVA

12 | P a g e
Event Management System

3.SYSTEM DESIGN

13 | P a g e
Event Management System

3.1 Admin Flowchart:

14 | P a g e
Event Management System

3.3 Cancellation Flowchart

START

DATA
ENTER(NUMBER
AND MAIL)

NUMBER AND MAIL IS


EQUAL TO STORE DATA

FALSE

TRUE

INVALID CANCELLATION IS
CANCELLATION DONE

16 | P a g e
Event Management System

3.4 UML DIAGRAM:

17 | P a g e
Event Management System

4. SYSTEM
IMPLEMENTATION

INTRODUCTION:

Implementation is the stage of the project when the theoretical design is turned
out into a working system. Thus it can be considered to be the most critical stage in
achieving a successful new system and in giving the user, confidence that the new
system will work and be effective. The implementation stage involves careful
planning, investigation of the existing system and it’s constraints on
implementation, designing of methods to achieve changeover and evaluation of
changeover methods.

4.1 TECHNOLOGIES USED


18 | P a g e
Event Management System
4.1.1 About JAVA:
Initially the language was called as “oak” but it was renamed as “java” in
1995.The primary motivation of this language was the need for a platform-
independent(i.e. architecture neutral)language that could be used to create software
to be embedded in various consumer electronic devices.

 Java is a programmer’s language


 Java is cohesive and consistent
 Except for those constraint imposed by the Internet environment. Java
gives the programmer, full control
Finally Java is to Internet Programming where c was to System Programming.

Importance of Java to the Internet:

Java has had a profound effect on the Internet. This is because; java expands
the Universe of objects that can move about freely in Cyberspace. In a network,
two categories of objects are transmitted between the server and the personal
computer. They are passive information and Dynamic active programs. In the areas
of Security and probability. But Java addresses these concerns and by doing so, has
opened the door to an exciting new form of program called the Applet.

Applications and applets:

An application is a program that runs on our Computer under the operating


system of that computer. It is more or less like one creating using C or C++ .Java’s
ability to create Applets makes it important. An Applet I san application, designed to
be transmitted over the Internet and executed by a Java-compatible web browser. An
applet I actually a tiny Java program, dynamically downloaded across the network,

19 | P a g e
Event Management System
just like an image. But the difference is, it is an intelligent program, not just a media
file. It can be react to the user input and dynamically change.

Java Architecture:
Java architecture provides a portable, robust, high performing environment
for development. Java provides portability by compiling the byte codes for the Java
Virtual Machine, which is then interpreted on each platform by the run-time
environment. Java is a dynamic system, able to load code when needed from a
machine in the same room or across the planet.

Compilation of code:

When you compile the code, the Java compiler creates machine code (called byte
code) for a hypothetical machine called Java Virtual Machine (JVM). The JVM is
supposed t executed the byte code. The JVM is created for the overcoming the issue
of probability. The code is written and compiled for one machine and interpreted on
all machines .This machine is called Java Virtual Machine.

Compiling and interpreting java source code.

4.2 SNAPSHOTS:
WELCOME:

20 | P a g e
Event Management System

ABOUT:

21 | P a g e
Event Management System

ADMIN:

ADMIN LOGGED In:


22 | P a g e
Event Management System

CONTACT US:

SERVICES:

23 | P a g e
Event Management System

CUSTOMER DATA:

24 | P a g e
Event Management System
CUSTOMER DETAILS:

BOOKING DETAILS:

25 | P a g e
Event Management System
PAYMENT:

CHANGE PASSWORD:

26 | P a g e
Event Management System

BOOKING DETAILS:

27 | P a g e
Event Management System
ALL DETAILS:

VENUES:

28 | P a g e
Event Management System
BOOKING (ACCESS):

CUSTOMER DETAILS (ACCESS):

CUSTOMER QUERY:

DELETE QUERY:

29 | P a g e
Event Management System

4.3 Coding:

 Classes:

Connectivity:
package eventmanagemant_system.classes;

import java.sql.*;

/**
*
@author namra
*/
public class connectivity {

Connection con=null;
public Connection establishConnecion()
{
try
{
Class.forName("net.ucanaccess.jdbc.UcanaccessDriver");
con= DriverManager.getConnection("jdbc:ucanaccess://F:\\eventmanagement_system.accdb");
System.out.println("Done");
}catch(Exception e)
{
System.out.println(""+e);
}
return con;
}

30 | P a g e
Event Management System
Customer details:
package eventmanagemant_system.classes;

import eventmanagemant_system.classes.venue_class;

/**
*
@author namra
*/
public class customer_entry {

private String fname;


private String lname;
private String email;
private String number;
venue_class venue = new venue_class();
private String event;
int noofpeople;

public venue_class getVenue() {


return venue;
}

public void setVenue(venue_class venue) {


this.venue = venue;
}

public int getNoofpeople() {


return noofpeople;
}

public void setNoofpeople(int noofpeople) {


this.noofpeople = noofpeople;
}

public customer_entry(String fname, String lname, String email, String number,venue_class ven, String
event,int noofpeople) {
this.fname = fname;
this.lname = lname;
this.email = email;
this.number = number;
this.venue=ven;
this.event = event;
this.noofpeople = noofpeople;
}

31 | P a g e
Event Management System

public String getFname() {


return fname;
}

public void setFname(String fname) {


this.fname = fname;
}

public String getLname() {


return lname;
}

public void setLname(String lname) {


this.lname = lname;
}

public String getEmail() {


return email;
}

public void setEmail(String email) {


this.email = email;
}

public String getNumber() {


return number;
}

public void setNumber(String number) {


this.number = number;
}

@Override
public String toString() {
return fname + " " + lname + " " + email + " " + number; //To change body of generated methods, choose
Tools | Templates.
}

}
Venue:

32 | P a g e
Event Management System
package eventmanagemant_system.classes;

import java.util.Date;

/**
*
@author namra
*/
public class venue_class extends time_class
{
private String name;
private int amount;

public venue_class() {
super(null, null);
}

public venue_class(String name, int amount, String time, Date d) {


super(time, d);
this.name = name;
this.amount = amount;
}

public String getName() {


return name;
}

public void setName(String name) {


this.name = name;
}

public int getAmount() {


return amount;
}

public void setAmount(int amount) {


this.amount = amount;
}
}
Time:
package eventmanagemant_system.classes;

import java.util.Date;

33 | P a g e
Event Management System

/**
*
@author namra
*/
public abstract class time_class
{
Date dt=null;
String time;

public time_class(String time,Date d) {


this.time = time;
this.dt=d;
}

public String getTime() {


return time;
}

public void setTime(String time) {


this.time = time;
}

public Date getDt() {


return dt;
}

public void setDt(Date dt) {


this.dt = dt;
}

}
Connectivity_login:
package eventmanagemant_system.classes;

import java.sql.Connection;

import java.sql.PreparedStatement;

import java.sql.ResultSet;

import javax.swing.JOptionPane;
34 | P a g e
Event Management System

/**

@author namra

*/

public class connection_login

connectivity co=new connectivity();

Connection con=co.establishConnecion();

PreparedStatement pre=null;

ResultSet rst=null;

public boolean initiate_login(String name, String pass)

boolean b=true;

try

pre=con.prepareStatement("select * from Login where username='"+name+"' and


password='"+pass+"'");

rst=pre.executeQuery();

b=rst.next();

JOptionPane.showConfirmDialog(null, "accepted");

}catch(Exception ex)

JOptionPane.showConfirmDialog(null, ex);

35 | P a g e
Event Management System
}

return b;

Delete:
package eventmanagemant_system.classes;

import eventmanagemant_system.classes.connectivity;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.swing.JOptionPane;

/**
*
@author namra
*/
public class delete_entry
{
connectivity co=new connectivity();
Connection con=co.establishConnecion();
PreparedStatement pre;
ResultSet rst=null;

public boolean initiate_login(String mail, String num)


{
boolean b=true;
try
{
pre=con.prepareStatement("Delete from delete where Mail=? and Number=?");
pre.setString(1, mail);
pre.setString(2, num);
pre.executeUpdate();

//JOptionPane.showConfirmDialog(null, "accepted");
}catch(Exception ex)
{
JOptionPane.showConfirmDialog(null, ex);

36 | P a g e
Event Management System
}
return b;
}

}
Print printable:
package eventmanagemant_system.classes;
import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;

/**
*
@author namra
*/
public class PrintablePrintable implements Printable
{
public int print(Graphics argo,PageFormat arg1,int arg2) throws PrinterException
{
throw new UnsupportedOperationException("Not Supported yet");
}
}

Forms:

Customer_entry:
package eventmanagemant_system.customer;

import eventmanagemant_system.customer.printoutlaout;
import eventmanagemant_system.customer.paymentmethod;
import eventmanagemant_system.classes.connectivity;
import eventmanagemant_system.classes.customer_entry;
import eventmanagemant_system.classes.venue_class;
import eventmanagemant_system.home;
//import java.util.Date;
import java.sql.Date;
import javax.swing.JOptionPane;
import java.sql.*;

/**

37 | P a g e
Event Management System
*
@author namra
*/
public class customerentry extends javax.swing.JFrame {
connectivity connection=new connectivity();
Connection co=connection.establishConnecion();
PreparedStatement pre=null;
Statement st=null;
ResultSet rst=null;

/**
Creates new form customerentry
*/
public customerentry() {
initComponents();
}

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")

private void txtnumberofpeopleMouseClicked(java.awt.event.MouseEvent evt) {


// TODO add your handling code here:
if(txtnumberofpeople.getText().equals("maximum number 500"))txtnumberofpeople.setText(null);
}

private void txtnumberofpeopleActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
String fname=jfname.getText();
String lname=jlname.getText();
String mail=jmail.getText();
String num=jnumber.getText();
String v = String.valueOf(jComboBox1.getSelectedItem());
String time=String.valueOf(jComboBox2.getSelectedItem());
int noofpeople=Integer.parseInt(txtnumberofpeople.getText());
String credit=jcreditcard.getText();
String event=String.valueOf(jComboBox3.getSelectedItem());
38 | P a g e
Event Management System
Date dt= new Date(jDateChooser1.getDate().getTime()) ;

int am;int total;


if(v.equals("Avari Tower"))
{
am=1250;
total=am*noofpeople;
jtotal.setText(String.valueOf(total));
}
else if(v.equals("Marriot Hotel"))
{
am=1200;
total=noofpeople*am;
jtotal.setText(String.valueOf(total));
}
else if(v.equals("Venue"))
{
am=1000;
total=noofpeople*am;
jtotal.setText(String.valueOf(total));
}
else if(v.equals("4seasons "))
{
am=850;
total=noofpeople*am;
jtotal.setText(String.valueOf(total));
}
else
{
am=0;
total=noofpeople*am;
jtotal.setText(String.valueOf(total));
}
try{
venue_class ven=new venue_class(v, am, time, dt);
customer_entry entry=new customer_entry(fname, lname, mail, num, ven, event,noofpeople);
co=connection.establishConnecion();
event();
pre=co.prepareStatement("INSERT INTO
customer_details(FirstName,LastName,Mail,Number,Date,Venue,Time,Event,NoOFPeople,TotalAmount,C
reditCard) VALUES(?,?,?,?,?,?,?,?,?,?,?)");
pre.setString(1, fname);
pre.setString(2, lname);
pre.setString(3, mail);
pre.setString(4, num);
pre.setDate(5, dt);
39 | P a g e
Event Management System
pre.setString(6, v);
pre.setString(7,time);
pre.setString(8, event);
pre.setString(9,String.valueOf(noofpeople));
pre.setString(10, String.valueOf(total));
pre.setString(11,String.valueOf(credit));
int ok=JOptionPane.showConfirmDialog(rootPane, "ARE U SURE...","ARE U CONFIRMED?
",JOptionPane.YES_NO_OPTION);

if(ok==0)
{
event();
//st.executeUpdate("INSERT INTO
customer_details(FirstName,LastName,Mail,Number,Date,Venue,Event,NoOFPeople,TotalAmount)
VALUES('"+fname+"','"+lname+"','"+mail+"','"+num+"','"+dt+"','"++"','"++"','"++"','"++"')")
System.out.println("Executing!");
pre.execute();
System.out.println("Executed!");
//pre.executeUpdate();
//JOptionPane.showConfirmDialog(rootPane, "DATA STORED", "SUCCESSFULLY",0111+1 );
JOptionPane.showMessageDialog(jmail, "Successfully inserted");

printoutlaout pin=new printoutlaout(fname, num, time,String.valueOf(dt), v, event, total,credit);


pin.setVisible(true);
this.setVisible(false);
pin.show();

Date newDate = new Date(Long.parseLong(rst.getString("Date")));


//
}
//this.setVisible(false);

}catch(Exception ex)
{
//JOptionPane.showConfirmDialog(null, ex);
JOptionPane.showMessageDialog(jmail, ex + " Error!");
}

private void jmailActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jclearActionPerformed(java.awt.event.ActionEvent evt) {


40 | P a g e
Event Management System
// TODO add your handling code here:
jfname.setText(null);
jlname.setText(null);
jmail.setText(null);
jnumber.setText(null);
jDateChooser1.getDate();
txtnumberofpeople.setText(null);
jComboBox1.setSelectedItem(null);
jComboBox2.setSelectedItem(null);
jComboBox3.setSelectedItem(null);
jcreditcard.setText(null);
}

private void jupdateActionPerformed(java.awt.event.ActionEvent evt) {


try{

PreparedStatement pst;
pst=co.prepareStatement("Select * customer_details from");
ResultSet rst;
rst=pst.executeQuery();
while(rst.next())
{
//rst=pre.executeQuery("update into customer_details FirstName='"+jfname.getText()+"'
LastName='"+jlname.getText()+"' Number='"+jnumber.getText()+"'Mail='"+jmail.getText()+"'
Date='"+jDateChooser1.getDate()+"' Venue='"+jComboBox1.getSelectedItem()+"'
Time'"+jComboBox2.getSelectedItem()+"'Event='"+jComboBox3.getSelectedItem()+"'and
NoOfPeople='"+txtnumberofpeople.getText()+"'");
pst = co.prepareStatement("update customer_details set LastName='"+jlname.getText()+"'
Number='"+jnumber.getText()+"'Mail='"+jmail.getText()+"' Date='"+jDateChooser1.getDate()+"'
Venue='"+jComboBox1.getSelectedItem()+"' Time'"+jComboBox2.getSelectedItem()
+"'Event='"+jComboBox3.getSelectedItem()+"'and NoOfPeople='"+txtnumberofpeople.getText()+"'where
FirstName='"+jfname.getText()+"'");
pst.executeUpdate();
JOptionPane.showMessageDialog(null, "Updated");

}
}catch(Exception ex)
{
System.out.println(""+ex);
}
}

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
home hm=new home();
hm.setVisible(true);
this.setVisible(false);
41 | P a g e
Event Management System
}

private void jComboBox3ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jcreditcardActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new customerentry().setVisible(true);
}
});
}
public void event()
{

String v = String.valueOf(jComboBox1.getSelectedItem());
String time=String.valueOf(jComboBox2.getSelectedItem());
Date dt= new Date(jDateChooser1.getDate().getTime()) ;

try{
rst=st.executeQuery("select * from customer_entry Date='"+dt+"' Venue='"+v+"' and Time='"+time+"'");
while (rst.next())
{
if (rst.getString("Venue").equals(v) && rst.getString("Date").equals(dt) &&
rst.getString("Time").equals(time))

{
JOptionPane.showConfirmDialog(null, "Already Reserved");

}
}
}catch(Exception ex)
{
System.out.println(""+ex);
}
42 | P a g e
Event Management System

// Variables declaration - do not modify


private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JComboBox<String> jComboBox1;
private javax.swing.JComboBox<String> jComboBox2;
private javax.swing.JComboBox<String> jComboBox3;
private com.toedter.calendar.JDateChooser jDateChooser1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel14;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JButton jclear;
private javax.swing.JTextField jcreditcard;
private javax.swing.JTextField jfname;
private javax.swing.JTextField jlname;
private javax.swing.JTextField jmail;
private javax.swing.JTextField jnumber;
private javax.swing.JLabel jtotal;
private javax.swing.JButton jupdate;
private javax.swing.JTextField txtnumberofpeople;
// End of variables declaration
}

Admin_login:
package eventmanagemant_system.admin;

import eventmanagemant_system.admin.admin_home;
import eventmanagemant_system.classes.connection_login;
import eventmanagemant_system.classes.connectivity;
import eventmanagemant_system.home;
import javax.swing.JOptionPane;

43 | P a g e
Event Management System

/**
*
@author namra
*/
public class admin_login extends javax.swing.JFrame {

/**
Creates new form admin_login
*/
public admin_login() {
initComponents();
}

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")

private void LoginActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
eventmanagemant_system.classes.connectivity con=new connectivity();
con.establishConnecion();
String user=juser.getText();
String pas=String.valueOf(jPasswordField1.getPassword());

eventmanagemant_system.classes.connection_login log=new connection_login();


if(log.initiate_login(user, pas))
{
JOptionPane.showConfirmDialog(null, "LOGGED IN...SUCCESSFULLY");
admin_home hm=new admin_home();
hm.setUser((String)juser.getText());
hm.show();
hm.setVisible(true);
this.setVisible(false);
}
else
{
JOptionPane.showConfirmDialog(null, "LOG IN FAILED");
}
}

private void jLabel4MouseClicked(java.awt.event.MouseEvent evt) {


// TODO add your handling code here:
44 | P a g e
Event Management System
changePassword ch=new changePassword();
ch.setVisible(true);
this.setVisible(false);

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
home hm=new home();
hm.setVisible(true);
this.setVisible(false);

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new admin_login().setVisible(true);
}
});
}

// Variables declaration - do not modify


private javax.swing.JButton Login;
private javax.swing.JButton jButton1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JPasswordField jPasswordField1;
private javax.swing.JTextField juser;
// End of variables declaration
}

Admin_home:
package eventmanagemant_system.admin;

import eventmanagemant_system.alldetails;

45 | P a g e
Event Management System
import eventmanagemant_system.Bookings;
import eventmanagemant_system.customerentry;
import eventmanagemant_system.home;
import java.sql.SQLException;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
*
@author namra
*/
public class admin_home extends javax.swing.JFrame {

/**
Creates new form admin_home
*/
public admin_home() {
initComponents();
Date dt=new Date();
jLabel2.setText(""+dt);
}

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
alldetails details;
try {
details = new alldetails();
details.setVisible(true);
this.setVisible(false);
} catch (SQLException ex) {
Logger.getLogger(admin_home.class.getName()).log(Level.SEVERE, null, ex);
}

private void jcusyomersActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
customerentry cus=new customerentry();
cus.setVisible(true);
this.setVisible(false);
46 | P a g e
Event Management System
}

private void jbookingActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
Bookings book=new Bookings();
book.setVisible(true);
this.setVisible(false);
}

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
home hm=new home();
hm.setVisible(true);
this.setVisible(false);
}

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new admin_home().setVisible(true);
}
});

}
public void setUser(String User)
{
user.setText((String)User);
}

// Variables declaration - do not modify


private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JButton jbooking;
private javax.swing.JButton jcusyomers;
private javax.swing.JLabel user;
// End of variables declaration
}
47 | P a g e
Event Management System
Alldetails:
package eventmanagemant_system;

import eventmanagemant_system.admin.admin_home;
import eventmanagemant_system.classes.connectivity;

import java.net.URL;

import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.PreparedStatement;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.SQLXML;
import java.sql.Statement;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import net.proteanit.sql.DbUtils;

/**
*
@author namra
*/
public class alldetails extends javax.swing.JFrame {

/**
Creates new form alldetails
*/
connectivity con=new connectivity();

48 | P a g e
Event Management System
Connection co=con.establishConnecion();

Statement st=null;

ResultSet rst=null;
public alldetails() throws SQLException {
initComponents();

}
public void showdata()
{
try {

Class.forName("net.ucanaccess.jdbc.UcanaccessDriver");
Connection
con=DriverManager.getConnection("jdbc:ucanaccess://F:\\eventmanagement_system.accdb");
PreparedStatement pst=con.prepareStatement("select * from customer_details");
ResultSet rs=pst.executeQuery();
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
} catch (Exception e) {
}
}

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")

private void formWindowOpened(java.awt.event.WindowEvent evt) {


// TODO add your handling code here:
showdata();
}

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
admin_home hm=new admin_home();
hm.setVisible(true);
this.setVisible(false);
}

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
49 | P a g e
Event Management System

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
try {
new alldetails().setVisible(true);
} catch (SQLException ex) {
Logger.getLogger(alldetails.class.getName()).log(Level.SEVERE, null, ex);
}
}
});
}

// Variables declaration - do not modify


private javax.swing.JButton jButton1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
// End of variables declaration
}
Booking:
package eventmanagemant_system;

import eventmanagemant_system.admin.admin_home;
import eventmanagemant_system.admin.admin_home;
import eventmanagemant_system.classes.connectivity;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.JOptionPane;
import net.proteanit.sql.DbUtils;

/**
*
@author Faraz Ali
*/
public class Bookings extends javax.swing.JFrame {

/**
Creates new form Bookings

50 | P a g e
Event Management System
*/
connectivity con = new connectivity();
Connection co = con.establishConnecion();

Statement st = null;

ResultSet rst = null;


public Bookings() {
initComponents();
}

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")

private void backAdminActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:

private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
admin_home am=new admin_home();
am.setVisible(true);
this.setVisible(false);
}

private void jhayeeActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void formWindowOpened(java.awt.event.WindowEvent evt) {


// TODO add your handling code here:
try {

Class.forName("net.ucanaccess.jdbc.UcanaccessDriver");
Connection
con=DriverManager.getConnection("jdbc:ucanaccess://F:\\eventmanagement_system.accdb");
PreparedStatement pst=con.prepareStatement("select * from booking");
ResultSet rs=pst.executeQuery();
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
} catch (Exception e) {
}
51 | P a g e
Event Management System

private void jhayeeKeyReleased(java.awt.event.KeyEvent evt) {


// TODO add your handling code here:
String nam=jhayee.getText();
String stst="select * from booking where FirstName='"+nam+"'";
PreparedStatement pst;

try
{
pst=co.prepareStatement(stst);
rst=pst.executeQuery();
jTable1.setModel(DbUtils.resultSetToTableModel(rst));
}catch(Exception ex)
{
JOptionPane.showConfirmDialog(null, "ERROR");
}

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Bookings().setVisible(true);
}
});
}

// Variables declaration - do not modify


private javax.swing.JButton backAdmin;
private javax.swing.JButton jButton7;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
private javax.swing.JTextField jhayee;
// End of variables declaration
52 | P a g e
Event Management System
}

Customerdetails:
package eventmanagemant_system;

import eventmanagemant_system.admin.admin_home;
import eventmanagemant_system.classes.connectivity;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.JOptionPane;
import net.proteanit.sql.DbUtils;

/**
*
@author namra
*/
public class customerentry extends javax.swing.JFrame {

/**
Creates new form customerentry
*/
connectivity con=new connectivity();
Connection co=con.establishConnecion();

Statement st=null;

ResultSet rst=null;
public customerentry() {
initComponents();
}

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")

private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:

53 | P a g e
Event Management System
}

private void formWindowOpened(java.awt.event.WindowEvent evt) {


// TODO add your handling code here:
try {

Class.forName("net.ucanaccess.jdbc.UcanaccessDriver");
Connection
con=DriverManager.getConnection("jdbc:ucanaccess://F:\\eventmanagement_system.accdb");
PreparedStatement pst=con.prepareStatement("select * from customer_entry");
ResultSet rs=pst.executeQuery();
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
} catch (Exception e) {
}

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
admin_home hm=new admin_home();
hm.setVisible(true);
this.setVisible(false);
}

private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) {


// TODO add your handling code here:
String th=jTextField1.getText();
String stst="select * from customer_entry where FirstName='"+th+"'";
PreparedStatement pst;

try
{
pst=co.prepareStatement(stst);
rst=pst.executeQuery();
jTable1.setModel(DbUtils.resultSetToTableModel(rst));
}catch(Exception ex)
{
JOptionPane.showConfirmDialog(null, "ERROR");
}
}

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */

54 | P a g e
Event Management System

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new customerentry().setVisible(true);
}
});
}

// Variables declaration - do not modify


private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
private javax.swing.JTextField jTextField1;
// End of variables declaration
}

Change password:
package eventmanagemant_system.admin;

import eventmanagemant_system.classes.connectivity;
import eventmanagemant_system.home;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JOptionPane;

/**
*
@author namra
*/
public class changePassword extends javax.swing.JFrame {

/**
Creates new form changePassword
*/
public changePassword() {
initComponents();
}
55 | P a g e
Event Management System

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")

private void jnewpassActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
home hm=new home();
hm.setVisible(true);
this.setVisible(false);
}

private void joldActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}
//update the password of the user
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
// TODO add your handling code here:
connectivity co=new connectivity();
Connection con;
Statement st;
PreparedStatement pre;
ResultSet rst;
con=co.establishConnecion();
try{
String user=jusername.getText();
String old=jold.getText();
String pass=jnewpass.getText();
String confrim=jconfrim.getText();
pre = con.prepareStatement("Select * from Login ");//select the date from the database
rst = pre.executeQuery();
while(rst.next())
{
56 | P a g e
Event Management System
String usrname = rst.getString("Username");
String passwd = rst.getString("Password");
if(user.equals(usrname) && old.equals(passwd))
{

if(pass.equals(confrim))
{
//st=con.createStatement();
pre = con.prepareStatement("Update Login set Password='"+pass+"' where
Username='"+user+"'");//update command
//ResultSet i = pre.executeQuery("UPDATE Login SET password='"+pass+"' where
username='"+user+"'");//query i am using to update the password
pre.executeUpdate();
JOptionPane.showMessageDialog(null, "PASSWORD UPDATE SUCCESSFUL");
home hm=new home();
hm.setVisible(true);
this.setVisible(false);

else
{
JOptionPane.showMessageDialog(null, "PLEASE CONFIRM PASSWORD");
}}
else if(user.equals("") && old.equals("") && pass.equals(""))
{
JOptionPane.showMessageDialog(null, "PLEASE ENTER ALL INFORMATION");
}
else
{
JOptionPane.showMessageDialog(null, "USERNAME NOT FOUND");
}

}
catch(SQLException e)
{
System.out.println("PLSS MAR JAY JAKAR KAHI"+e);;
}
}

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
57 | P a g e
Event Management System

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new changePassword().setVisible(true);
}
});
}

// Variables declaration - do not modify


private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JTextField jconfrim;
private javax.swing.JTextField jnewpass;
private javax.swing.JTextField jold;
private javax.swing.JLabel jpass;
private javax.swing.JTextField jusername;
// End of variables declaration
}
Printlayout:
package eventmanagemant_system.customer;

import eventmanagemant_system.classes.PrintablePrintable;
import eventmanagemant_system.customer.paymentmethod;
import eventmanagemant_system.home;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.HeadlessException;
import java.awt.print.PageFormat;
import java.awt.print.Pageable;
import java.awt.print.Printable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
import javax.swing.JPanel;

/**
*
@author namra
*/
public class printoutlaout extends javax.swing.JFrame {

58 | P a g e
Event Management System

/**
Creates new form printoutlaout
*/

public printoutlaout() {
initComponents();
}
public printoutlaout(String fname,String num,String Date,String Venue,String Time,String Event,int
total,String credit) {
initComponents();
jfname.setText(fname);
jnum.setText(num);
jdate.setText(Date);
jvenue.setText(Venue);
jtime.setText(Event);
jtotalamount.setText(String.valueOf(total));
jLabel13.setText(credit);

/**
This method is called from within the constructor to initialize the form.
WARNING: Do NOT modify this code. The content of this method is always
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
PrinterJob job=PrinterJob.getPrinterJob();
job.setJobName("Print Receipt");
job.setPrintable(new PrintablePrintable(){
public int print(Graphics pg,PageFormat pf, int pageNum){
pf.setOrientation(PageFormat.LANDSCAPE);
if(pageNum>0){
return Printable.NO_SUCH_PAGE;
}

Graphics2D g2 = (Graphics2D)pg;
g2.translate(pf.getImageableX(), pf.getImageableY());
g2.scale(0.24,0.24);

jPanel1.paint(g2);
//
59 | P a g e
Event Management System

return Printable.PAGE_EXISTS;

}
});

boolean ok = job.printDialog();
if(ok){
try{

job.print();
}
catch (PrinterException ex){}
}
home hm=new home();
hm.setVisible(true);
this.setVisible(false);

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
home hm=new home();
hm.setVisible(true);
this.setVisible(false);
}

/**
@param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new printoutlaout().setVisible(true);
}
});
}
public void setcredit(String Credit)
{
jLabel1.setText(Credit);
}

60 | P a g e
Event Management System
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JPanel jPanel1;
private javax.swing.JLabel jcreditcard;
private javax.swing.JLabel jdate;
private javax.swing.JLabel jevent;
private javax.swing.JLabel jfname;
private javax.swing.JLabel jnum;
private javax.swing.JLabel jtime;
private javax.swing.JLabel jtotalamount;
private javax.swing.JLabel jvenue;
// End of variables declaration
}

5. SYSTEM TESTING

Introduction
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 functionalities of components, sub-assemblies, and/or a
finished product it is the process of exercising software with the intent of
ensuring that the software system meets its requirements and user expectations
and does not fail in an unacceptable manner. There are various types of tests.
Each test type addresses a specific testing requirement.
61 | P a g e
Event Management System

5.1 Types of Testing


5.1.1 Unit Testing
Unit testing focuses verification effort on the smallest unit of software
design, the module. The unit testing we have is white box oriented and some
modules the steps are conducted in parallel.

5.1.2. Integration Testing


Testing is done for each module. After testing all the modules, the modules are integrated and testing of the
final system is done with the test data, specially designed to show that the system will operate successfully in all its
aspects conditions. Thus the system testing is a confirmation that all is correct and an opportunity to show the user
that the system works. The purpose of integration testing is to verify functional, performance and reliability
requirements placed on major design items. These "design items", i.e. assemblages (or groups of units), are
exercised through their interfaces using black box testing, success and error cases being simulated via appropriate
parameter and data inputs. Simulated usage of shared data areas and inter-process communication is tested and
individual subsystems are exercised through their input interface.

Test cases are constructed to test that all components within assemblages interact correctly, for example
across procedure calls or process activations, and this is done after testing individual modules, i.e. unit testing.

5.1.3 System Testing

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.

White Box Testing

62 | P a g e
Event Management System
This type of testing ensures that

 All independent paths have been exercised at least once


 All logical decisions have been exercised on their true and false sides
 All loops are executed at their boundaries and within their operational bounds
 All internal data structures have been exercised to assure their validity.

To follow the concept of white box testing we have tested each form .we have
created independently to verify that Data flow is correct, All conditions are
exercised to check their validity, All loops are executed on their boundaries.

Basic Path Testing

Established technique of flow graph with Cyclometer complexity was used


to derive test cases for all the functions. The main steps in deriving test cases were:

Use the design of the code and draw correspondent flow graph.

Conditional Testing

In this part of the testing each of the conditions were tested to both true and
false aspects. And all the resulting paths were tested. So that each path that may be
generate on particular condition is traced to uncover any possible errors.

Data Flow Testing

This type of testing selects the path of the program according to the location of
63 | P a g e
Event Management System
Definition and use of variables. This kind of testing was used only when some local
variable were declared. The definition-use chain method was used in this type of
testing. These were particularly useful in nested statements.

Loop Testing

In this type of testing all the loops are tested to all the limits possible. The
following exercise was adopted for all loops:All the loops were tested at their limits,
just above them and just below them.All the loops were skipped at least once.For
nested loops test the inner most loop first and then work outwards.For concatenated
loops the values of dependent loops were set with the help of connected
loop.Unstructured loops were resolved into nested loops or concatenated loops and
tested as above.Each unit has been separately tested by the development team itself
and all the input have been validated.

5.3 Unit Testing Reports:


5.3.1 Test Case 1 (Login)

Sl No. of test case : 1

Name of test : login test

Sample Input : Click on login that runs admin.jsp

Expected output : login GUI should display

Actual output : login GUI displayed as expected

Remarks : Test Successful

64 | P a g e
Event Management System

6. CONCLUSION

65 | P a g e
Event Management System
The “Event Management” was successfully designed and is tested for
accuracy and quality. During this project we have accomplished all the objectives
and this project meets the needs of the organization. The developed will be used in
searching, retrieving and generating information for the concerned requests.

GOALS ACHIVIED
 Reduced entry work
 Easy retrieval of information
 Reduced errors due to human intervention
 User friendly screens to enter the data
 Portable and flexible for further enhancement
 Web enabled.
 Fast finding of information request

66 | P a g e
Event Management System

67 | P a g e
Event Management System

Department Of Computer Science Page 68

You might also like