10619 Airline Reservation System 160363107020

10619 Airline Reservation System
160363107020,16363107023,160363107015 1
1.0 INTRODUCTION
1.1 PROJECT SUMMARY
The Airline Reservation System is website used for booking air-ticket as well as cancel
booking from anywhere in the world. It allows all types of booking facilities based on
it’s class.
Basic features of this websites are:-
• Web-based fully customizable solution.
• Easy to use.
Allow the formation of individualized relationship with customers, with aim of
improving customer’s satisfaction and maximizing profit’s

1.2 PURPOSE
? It helps a user of a system to have a profit and allows using it’s functionalities of a
system to the user.
? This website allows the admin to insert, update and delete the information of the
website.
? He can manage related information of website.
? Online Air-Ticket book has all the core functionality which a user requires for
managing security and required information.
? But there are some Functionality like a user can’t register him. Non-registered
member can have restricted functionalities to operate.
1.3 SCOPE
? By project, booking and cancellation of flight ticket can be done.
? It also provides 24/7 online reservation facility.

10619 Airline Reservation System
160363107020,16363107023,160363107015 2
1.4 OBJECTIVES
Sometime people are going to take the ticket of airline at airport then because of
human problem it can create the problem of misunderstanding it can be solved by
our project in which no problem of misunderstanding. Sometime People becoming
late then there is a chance of missing the flight where in our project people can
become late then tickets are already reserved for them so no problem if people reach
before the time of departure. At Airport people have to stay in queue and sometime
they are not able to get the ticket and missing flight while in our project there is no
problem of stay in queue. All these issues will be solved by our system.

1.5 FRONT END AND BACKEND
? HTML
? CSS
? PHP
? MySQL

1.6 TECHNOLOGY AND LITERATURE REVIEW
This project will be a web application to be developed in PHP and MySQL.
PHP has features like:-
? It is very simple and easy to use, compare to other scripting language it is very
simple and easy, this is widely used all over the world.
? It is an interpreted language, i.e. there is no need for compilation.
? It is faster than other scripting language e.g. asp and JSP.
? Open source means you no need to pay for use PHP, you can free download and
use.
? PHP code will be run on every platform, Linux, Unix, Mac OS X, Windows.

10619 Airline Reservation System
160363107020,16363107023,160363107015 3
? PHP is case sensitive scripting language at time of variable declaration. In PHP, all
keywords (e.g. if, else, while, echo, etc.), classes, functions, and user-defined
functions are NOT case-sensitive.
? PHP have some predefined error reporting constants to generate a warning or error
notice.
? PHP provides access logging by creating the summary of recent accesses for the
user.
? PHP supports variable usage without declaring its data type. It will be taken at the
time of the execution based on the type of data it has on its value.

1.7 FUNCTIONS AND MAIN MODULES OF NEW SYSTEM
? We are going to implement the best possible algorithm will reduce time complexity
for booking tickets.
? In our website, when user will be logged-in he will be redirected to the home page
where user can view options for booking tickets, flight schedules, etc.
? User can search the flights according to its need. User can also check the seat
availability.

1.8 MODULES
? Search Flight
User can search the flight for booking a ticket.
? My Booking
User can view flight bookings.
? Flight Schedule
User can view the schedule of the flight
? Flight Cancel
Cancellation of flight can be done here.

10619 Airline Reservation System
160363107020,16363107023,160363107015 4
2.0 PROJECT MANAGEMENT
2.1 PROJECT DEVELOPMENT MODEL
The road to the successful project development is the well-planed strategy for the best
and optimal use of resources available. Project management begins with a set of
activities that are collectively called project planning. The project planning is done in
a way to get the maximum utilization of resources and on time completion of the
project. Project planning is concerned with identifying and measuring the activities,
milestones and deliverables produced by a project. Project planning consists of the
following essential activities estimating some basic attributes of the project.
Cost:-How much will it cost to develop the project?
Duration:-How long will it take to complete the development?
Effort:-How much effort would be required?
The effectiveness of the subsequent planning activities is based on the accuracy of these
estimations.
? Scheduling manpower and other resources
? Staff organization and staffing plans
? Risk identification, analysis, and abatement planning
? Miscellaneous plans such as quality assurance plan, configuration management
plan, etc.

2.1.1 Project Development Approach and Justification
The incremental model may be viewed as a modification to the waterfall model. As
software projects increased in size, it was recognized that it is much easier, and
sometimes necessary, to develop the software if the large projects are subdivided into
smaller components, which may thus be developed incrementally and iteratively. In the
early days, each component followed a waterfall process model, passing through each

10619 Airline Reservation System
160363107020,16363107023,160363107015 5
step iteratively. In the incremental model the components were developed in an
overlapping fashion, as shown in Figure (2.1).
The components all had to be integrated and then tested as a whole in a final system test.
The incremental model provided a certain amount of risk containment. If any one
component ran into trouble, the other components were able to still continue to be
developed independently. Unless the problem was a universal one, such as the
underlying technology being faulty, one problem would not hold up the entire
development process. Another perspective in utilizing the incremental model is to first
develop the “core” software that contains most of the required functionality. The first
increment may be delivered to users and customers as Release 1. Additional
functionality and supplemental features are then developed and delivered separately as
they are completed, becoming Release 2, Release 3, and so on. Utilizing the incremental
model in this fashion provides an approach that is more akin to an evolutionary software
product development.

Fig (2.1) Incremental Model

10619 Airline Reservation System
160363107020,16363107023,160363107015 6
When utilized in this development mode, the model in Figure (2.1) would not have the
integration bucket. The incremental model in Figure (2.1) would have individual
releases.
For example, Requirement 1 would be the core functionality release. Other
requirements would each depict different deliveries. Figure (2.1) depicts the
incremental, multiple release scenario where the first release, Release 1, is the core
function, followed by subsequent releases that may include fixes of bugs from previous
releases along with new functional features. The multiple release incremental model
also makes it possible to evolve the first release, which may have flaws, into an ideal
solution through subsequent releases.
Thus it facilitates evolutionary software development and management, a model that
has been advocated by many, especially by Tom Gilb who has written recently about
the “evo” process (2004). The number of releases for a software project will depend on
the nature and goals of the project. Although each release is independently built, there
is a link between releases because the existing design and code of the previous release
is the basis upon which future releases are built. Both incremental models utilize the
“divide and conquer” methodology where a large, complex problem is decomposed
into parts.
Advantages of Incremental model:
? Generates working software quickly and early during the software life cycle.
? This model is more flexible – less costly to change scope and requirements.
? It is easier to test and debug during a smaller iteration.
? In this model customer can respond to each built.
? Easier to manage risk because risky pieces are identified and handled during
it’d iteration.

10619 Airline Reservation System
160363107020,16363107023,160363107015 7
Disadvantage of Incremental model:
? Needs good planning and design.?
? Needs a clear and complete definition of the whole system before it can be broken
down and built incrementally.?
? Total cost is higher than waterfall?
?
2.1.2 Incremental Model
1. Requirement Analysis
2. Design
3. Code Generation(Implementation)
4. Testing(Verification)

?

Fig (2.2) Incremental Model
1. Requirement Analysis
? The system’s services, constraints and goals are established by consultation with
system users. They are then defined in detail and serve as a system specification.?
?

10619 Airline Reservation System
160363107020,16363107023,160363107015 8
2. Design
? Development of a plan. How the requirements can be implemented? This process
heavily depends on the chosen modelling techniques and the programming language
and environment to be used. It establishes overall system architecture. Software Design
involves identifying and describing the fundamental software abstractions and their
relationships.?

3. Implementation
? Development of program text that can be compiled into executable code including
testing on the module level.?
?? Testing?
? Testing the software product against its requirements. The individual program unit or
programs are integrated and tested as a complete system to ensure that the software
requirements have been met. After testing, the software system is delivered to the
customer.?
? Compared with the traditional waterfall process, the iterative waterfall process has
many advantages so we have selected this model:-?
? Continuous, iterative testing enables an objective assessment of the
project’s status.
? Ability to refine requirements and design, and handle changes in both
in the early phases of a product lifecycle
? Focus on getting the highest priority features and the highest risk
features implemented as fast as possible
? Ability to validate pieces of design incrementally, providing continuous
analysis and mitigating the risks
? Inconsistencies among requirements, designs and implementations are
detected early.
? Stockholders in the project can be given concrete evidence of the
project’s status throughout the lifecycle

?

10619 Airline Reservation System
160363107020,16363107023,160363107015 9
2.2 PROJECT PLAN
Project began with gathering user requirements, than diagrammatic representation of
the functionalities is designed. Require database is designed and normalized as
required. The code written in such a way that maximum functionalities is coding and
implementing with minimum lines of code.
No. Milestone Activities Start Date End Date
1 Feasibility Study of
Project
30-6-18 15-7-18
2 Requirement Gathering
And System Analysis
19-7-18 3-9-18
3 System Deesign(UML) 4-9-18 23-9-18
4 Report Generation 24-9-18 4-10-18
5 Development(Coding) 5-10-18 10-10-18
6 Testing 11-10-18 14-10-18
Table (2.1) Schedule Table
2.3 MILESTONES AND DELIVERABLES
Milestone means the, during the project planning, at the particular time
these much work must be completed and all the work information in a
fixed format. For example: at the end of the every week how much work
should be completed by the developer, if the company want to know then
it is a fixed mile stone.
In our project at the end of the every week we have to submit the report
to the collage, how much analysis we have at the end of the every week.
? First Milestone: analysis of the software and the technology which we are used.?

10619 Airline Reservation System
160363107020,16363107023,160363107015 10
? Second Milestone: in this milestone we have done the technology analysis and we
will fixed the software designing approach and which model will be used and what
are the basic functionality will be required for the development and analysis.?
? Third Milestone: in this milestone till decided the project approach and designing
(comparatively) and modules will be there. Which module will be handle by who
can decided here. And finally the database designing will be done here in this
Milestone.?
? Fourth Milestone: in this milestone the database designing is ready so now the
coding and before that how much time is required for the developing the modules
means the time estimation will be done here, before the coding.?
? Fifth Milestone: in this milestone the coding will be done.?
? Sixth Milestone: the testing of the software will done here.?
?
2.4 Role and Responsibilities
Activities Huzaifa Pooja Kinjal
Requirement
Collection
? ? ?
Analysis ? ? ?
Design ? ? ?
Documentation ?
Implementation ? ? ?
Testing ? ? ?
Table (2.2) Role Table

10619 Airline Reservation System
160363107020,16363107023,160363107015 11
2.5 PROJECT SCHEDULING

Software life cycle phase Completion duration in weeks

System Analysis 1 week

Hardware Software requirements 1 week

Constraints/Goals of implementation 1 week

Requirement gathering 1 week

Requirement analysis 2 week

Requirement specification 1 week

System Design: Use case diagram 1 week

User interface design 2 week

Sequence diagram 1 week

Class diagram 1 week

Coding 2 week

Testing and deployment 1 week

Table (2.3) Work Schedule Table

10619 Airline Reservation System
160363107020,16363107023,160363107015 12
3.0 SYSTEM REQUIREMENTS STUDY
3.1 USER CHARACTERISTICS
Admin
? They should be able to add, update delete flight information.
? They view the bookings and can check what number of flights are booked.
Customer
? They can be logged in according to their privileges.
? They can search their flights and book it.

3.2 HARDWARE AND SOFTWARE REQUIREMENT
Hardware Requirements:
? Processor :- Intel i3 and above
? Ram :- 1 GB
? Disk Space:- 250 GB
Software Requirements:
? Operating system: Windows platform.
? Data base: MySQL
Communication Interface:
? Internet

10619 Airline Reservation System
160363107020,16363107023,160363107015 13
3.3 CONSTRAINS
3.3.1 REGULATORY POLICIES
All the access rights to access the project is provided to all the users depending on their
user type that is given by the administrator.

3.3.2 HARDWARE LIMITATIONS
? Processor :- Intel i3 and above
? Ram :- 1 GB
? Disk Space:- 250 GB

3.3.3 PARALLEL OPERATIONS
The site can be used by administrator as well as user at the same time. Administrator
can change the details of the flights or can add or remove the flights. And user can also
access the application at the same time.

10619 Airline Reservation System
160363107020,16363107023,160363107015 14
4.0SYSTEM ANALYSIS
4.1 STUDY OF CURRENT SYSTEM
? Air-Ticket Booking System is a Web-Based Application.
? The Purpose of this application is to book ticket.
? By help of this website, user can search their flights easily and can book their flights
according to its class.
? Sometime people are going to take the ticket of airline at airport then because of human
problem it can create the problem of misunderstanding it can be solved by our project
in which no problem of misunderstanding.
? Sometime People becoming late then there is a chance of missing the flight where in
our project people can become late then tickets are already reserved for them so no
problem if people reach before the time of departure.
? At Airport people have to stay in queue and sometime they are not able to get the ticket
and missing flight while in our project there is no problem of stay in queue.
4.2 PROBLEM AND WEAKNESSES OF CURRENT SYSTEM
It is difficult to calculate that how many people have registered and how many seats on
a particular plane are vacant.
4.3 REQUIREMENTS OF NEW SYSTEM
In this portion we discover the functionality of our system according to customers need
like:-
? Maintain Security for information given by user.
? Allow user to send his Feedbacks for our websites.

10619 Airline Reservation System
160363107020,16363107023,160363107015 15
4.4 FEASIBILITY STUDY
Feasibility study is carried out whenever there is a complex problem or opportunity, it
is a fact a preliminary investigation which emphasizes the “Lock undertaken to
determine the possibility or probability of either improving the existing system or
developing a completely new system. It helps to obtain an overview of the problem
and to get rough assessment of whether feasible solutions exist. There is essential to
avoid committing large resources to a project and the repent on it later. The feasibility
study is needed to
? Answer the question whether a new system is to be installed or not??
? Determine the potential of the existing system.?
? Improve the existing system.?
? Know what should be embedded in the new system.?
? Define the problems and objectives involved in a projects?
? Avoid costly repairs at a later larger stage when the system is implemented.?
? Avoid the “hardware approach?.?
4.4.1 OPERATIONAL FEASIBILITY:
???Performance
Does the system provide adequate throughput and response time?
? Yes, our system is quite capable of good utilization. It will also have good
response time as if any user wants to book or cancel ticket, it can be done
easily.?
Information
Does the system provide end-users and managers with timely, pertinent,
accurate and usefully formatted information?
? Yes, user will get all the guidelines for booking and cancelling tickets.

10619 Airline Reservation System
160363107020,16363107023,160363107015 16
Efficiency:
Does the system make maximum use of available resources including
People, time, and flow of forms?
? Yes, our system will be quick enough to carry out his task in time. ?
Services:
Does the system provide desirable and reliable service to those who need
it?
? Yes, I have provided the services according to the categories of users. So,
the users of one category if require some service which is not applicable to
them then our system will not be desirable to them. But security being
considered it was a must.?
4.4.2 Economic Feasibility:
The cost required for the creation of our system will be less compared to the
benefits provided by our system. Our system will provide both the types of
benefits. Here requirements for the system are very low so it is very economical
to use this system.
4.4.3 Schedule Feasibility:
I will try my best to complete the system within the time limits provided to me.
But according to my view, quality rather than speed is very important.?
?

10619 Airline Reservation System
160363107020,16363107023,160363107015 17
5.1SYSTEM DESIGN?
5.1 DESIGN METHODOLOGY
? Object-oriented programming (OOP) is a programming paradigm using ” objects” data
structures consisting of data fields and methods together with their interactions to
design applications and computer programs. Programming techniques may include
features such as data abstraction, encapsulation, messaging, modularity,
polymorphism, and inheritance.
? Simple, non-OOP programs may be one “long” list of statements (or commands).
More complex programs will often group smaller sections of these statements into
functions or subroutines each of which might perform a particular task. With designs
of this sort, it is common for some of the program’s data to be „global?, i.e. Accessible
from any part of the program.

10619 Airline Reservation System
160363107020,16363107023,160363107015 18
5.2 ACTIVITY DIAGRAM
5.2.1 USER LOGIN

Fig (5.1) User Login

10619 Airline Reservation System
160363107020,16363107023,160363107015 19
5.2.2 USER

Fig (5.2) User

10619 Airline Reservation System
160363107020,16363107023,160363107015 20
5.2.3 ADMIN LOGIN

Fig (5.3) Admin Login

10619 Airline Reservation System
160363107020,16363107023,160363107015 21
5.2.4 ADMIN

Fig (5.4) Admin

10619 Airline Reservation System
160363107020,16363107023,160363107015 22
5.3 SEQUENCE DIAGRAM
5.3.1 ADMIN

Fig (5.5) Admin

10619 Airline Reservation System
160363107020,16363107023,160363107015 23
5.3.2 USER REGISTER

Fig (5.6) User Register

10619 Airline Reservation System
160363107020,16363107023,160363107015 24
5.3.3 USER

Fig (5.7) User

10619 Airline Reservation System
160363107020,16363107023,160363107015 25
5.4 CLASS DIAGRAM

Fig (5.8) Class Diagram

10619 Airline Reservation System
160363107020,16363107023,160363107015 26

5.5 USECASE D IAGRAM
ADMIN

Fig (5.9) Use-case Diagram(Admin)

10619 Airline Reservation System
160363107020,16363107023,160363107015 27

USER

Fig (5.10) Use-case Diagram(User)

10619 Airline Reservation System
160363107020,16363107023,160363107015 28
5.6 DATABASE DICTONARY
Admin And User Login
Description:-This table contains username and password
Srno Field Name Data-Type Constraints Description
1 User-name Varchar(20) Primary Key User’s Name
2 Password Varchar(20) Not Null User’s password
Table:-(5.6.1)
User Registration
Description:-This table contains Customer’s Detail.
Sno Field Name Data-Type Constraints Description
1 First-Name Varchar(50) Not Null First Name Of Customer
2 Last-Name Varchar(50) Not Null Last Name Of Customer
3 Address Varchar(12) Not Null Address Of Customer
4 Mobile-No Bigint(20) Not Null Mobile No Of Customer
5 City Varchar(25) Not Null City of Customer
6 Gender Varchar(5) Not Null Gender of Customer
7 D-O-B Varchar(10) Not Null D-O-B of Customer
8 E-mail Id Varchar(100) Not Null E-Mail Id Of Customer
9 Password Varchar(15) Primary Key Password Of Customer
10 Confirm Password Varchar(15) Primary Key Confirm password
Table:-(5.6.2)

10619 Airline Reservation System
160363107020,16363107023,160363107015 29
Flight Detail
Description:-This table contains detail of flight
Sno Field Name Data-Type Constraints Description
1 Flight Name Vachar(20) Not Null Name Of Flight
2 Flight-Id Varchar(10) Primary Key Id No Of Flight
3 No Of Seats Number(30) Not Null Total No Of Seats
4 Sector Varchar(50) Not Null Sector Of Flight
5 Source Varchar(50) Not Null Starting Point
6 Destination Varchar(50) Not Null Stop Point
7 Departure Time Time Not Null Time Of Departure
8 Arrival Time Time Not Null Time Of Arrival
9 No-Of-Stop Number(50) Not Null Stops
10 Day Varchar(50) Not Null Days Of Flight
11 Price Float(15) Not Null Ticket Price
Table:-(5.6.3)

Feedback
Description:-This table contains feedback given from user.
Sno Field Name Data-Type Constraints Description
1 User Name Vachar(30) Primary Key Name Of User
2 Email Id Varchar(30) Not Null Email Id Of User
3 Mobile Number Bigint(20) Not Null Mobile No. Of User
4 Date Date Not Null Date Of FeedBack
5 Country Varchar(30) Not Null Country Of User
6 City Varchar(50) Not Null City Of User
7 Subject Varchar(25) Not Null Subject For FeedBack
8 FeedBack Varchar(100) Not Null FeedBack Given B User
Table:-(5.6.4)

10619 Airline Reservation System
160363107020,16363107023,160363107015 30
Flight Booking
Description:-This table contains Detail Of Flight Booking.
Sno Field Name Data-Type Constraints Description
1 User Name Varchar(20) Primary Key Name Of User
2 Passenger Name Varchar(50) Not Null Name Of Passenger
3 Select Trip Varchar(20) Not Null Trip Of Passenger
4 Class Type Varchar(20) Not Null Type Of Class
5 Flight Name Varchar(50) Not Null Name Of Flight
6 Flight-Id Varchar(50) Primary Key Id Of Flight
7 Seat No. Number(30) Primary Key Seat Number
8 Sector Varchar(50) Not Null Sector Of Flight
9 Source Varchar(50) Not Null Source Of Flight
10 Destination Varchar(50) Not Null Destination Of Flight
11 Arrival Time Time Not Null Time Of Arrival
12 Departure Time Time Not Null Time Of Departure
13 Number Of Stop Number(50) Not Null Number Of Stops
14 Day Varchar(15) Not Null Days Of Flight
15 Price Float(50) Not Null Price Of Ticket
17 Booking Date Date Not Null Day On Which Ticket Booked
18 Number Of Person Number(5) Not Null Person Number
18 Credit Card
Number
Number(15) Primary Key Credit Card No.
19 Bank Name Varchar(50) Not Null Name Of Bank
20 Ticket Number Number(25) Primary Key Ticket Number
Table:-(5.6.5)

10619 Airline Reservation System
160363107020,16363107023,160363107015 31
5.7 SCREEN LAYOUTS:
Login

Fig (5.11)
User Registration

Fig (5.12)

10619 Airline Reservation System
160363107020,16363107023,160363107015 32
User Forget Password

Fig (5.13)
User Flight Schedule

Fig (5.14)

10619 Airline Reservation System
160363107020,16363107023,160363107015 33
User Search Flight

Fig (5.15)
User Searched Flight

Fig (5.16)

10619 Airline Reservation System
160363107020,16363107023,160363107015 34
User Booking

Fig (5.17)
User Mybooking

Fig (5.18)

10619 Airline Reservation System
160363107020,16363107023,160363107015 35
User Flight Cancel

Fig (5.19)
Admin Show Booking

Fig (5.20)

10619 Airline Reservation System
160363107020,16363107023,160363107015 36
Admin Flight Detail

Fig (5.21)
Admin Add Flight

Fig (5.22)

10619 Airline Reservation System
160363107020,16363107023,160363107015 37
Admin Update Flight

Fig (5.23)
Admin Show Feedback

Fig (5.24)

10619 Airline Reservation System
160363107020,16363107023,160363107015 38
6.0 SOFTWARE DEVELOPMENT
6.1 SECURITY FEATURES
? Security means protecting the data and programs against accidental or intentional
destruction or disclosure to unauthorized person. The data and programs must be
protected from fire, disk corruption and other types of physical destruction.?
? Following steps are taken by us to protect our system.?
? Password system and file security keys are used to bar unauthorized access and unique
id is used for admin of the system.?
? Only admin can change data.?
?
6.2 CODING STANDARDS?
? The coding standard is the well-defined and standard style of coding.?
? A coding standard sets out standard ways of doing several things such as the way
variables are to be named, the code is to be laid out, the comments are to be described,
the work of function are to carried out etc.?
? This section describes the coding standards, which I have used in the program. In the
context of coding standard the tag consists of one to four lower case characters followed
by an underscore and is used to indicate the type of an object, control, or variable.?
? The prefix applies only to variable names and consists of a single lower case character
used to indicate the variable’s scope.?
?
?
?
?
?
?

?
?

10619 Airline Reservation System
160363107020,16363107023,160363107015 39
7.0 TESTING
7.1 Testing Strategy
? Testing is process of executing a program with the intent of finding an error. This
is very useful and important tool after the software is design. It tests the software
is design. It tests the software for quality, result and accuracy. There are many
strategies that can be used to test software.?
? At one extreme team could wait until the system is fully constructed and the then
conduct tests on the overall system in hopes of finding errors? At the other extreme,
a software engineer could conduct tests on a daily basis, whenever any part of the
system is constructed.?
? The testing strategy that is chosen by our software team falls in between the
individual program units, moving to tests designed to facilitate the integration of
the units and culminating with test that exercise the constructed system.?
Testing Objectives
? Testing is a process of executing a program with the intent of finding an error.?
? A good test case is one that has a high probability of finding as yet
undiscovered error.?
? A successful test is one that uncovers yet undiscovered error.?

7.2 Testing Methods
? Black box Testing
The technique of testing without having any knowledge of the interior workings of
the application is Black Box testing. The tester is oblivious to the system architecture
and does not have access to the source code. Typically, when performing a black box
test, a tester will interact with the system’s user interface by providing inputs and
examining outputs without knowing how and where the inputs are worked upon.

10619 Airline Reservation System
160363107020,16363107023,160363107015 40
Advantages
? Well suited and efficient for large code segments.?
? Code Access not required.?
? Clearly separates user’s perspective from the developer’s perspective through
visibly defined roles.?
? Large numbers of moderately skilled testers can test the application with no
knowledge of implementation, programming language or operating systems.?
Disadvantage
? Limited Coverage since only a selected number of test scenarios are actually
performed.?
? Inefficient testing, due to the fact that the tester only has limited knowledge about
an application?
? Blind Coverage, since the tester cannot target specific code segments or error prone
areas.?
? The test cases are difficult to design?
? White box Testing
White box testing is the detailed investigation of internal logic and structure of the
code. White box testing is also called glass testing or open box testing. In order to
perform white box testing on an application, the tester needs to possess knowledge of
the internal working of the code.
The tester needs to have a look inside the source code and find out which unit/chunk of
the code is behaving inappropriately
Advantages
? As the tester has knowledge of the source code, it becomes very easy to find
out which type of data can help in testing the application effectively.?
? It helps in optimizing the code.?
? Extra lines of code can be removed which can bring in hidden defects.?
? Due to the tester’s knowledge about the code, maximum coverage is attained
during test scenario writing?
?

10619 Airline Reservation System
160363107020,16363107023,160363107015 41
Disadvantages
? Due to the fact that a skilled tester is needed to perform white box testing,
the costs are increased.?
? Sometimes it is impossible to look into every nook and corner to find out
hidden errors that may create problems as many paths will go untested.?
? It is difficult to maintain white box testing as the use of specialized tools
like code analyzers and debugging tools are required?
? Grey box Testing
Grey Box testing is a technique to test the application with limited knowledge of the
internal workings of an application. In software testing, the term the more you know
the better carries a lot of weight when testing an application.
Mastering the domain of a system always gives the tester an edge over someone
with limited domain knowledge. Unlike black box testing, where the tester only
tests the application’s user interface, in grey box testing, the tester has access to
design documents and the database. Having this knowledge, the tester is able to
better prepare test data and test scenarios when making the test plan.
Advantages
? Offers combined benefits of black box and white box testing wherever possible.?
? Grey box testers don’t rely on the source code; instead they rely on interface
definition and functional specifications.?
? Based on the limited information available, a grey box tester can design
excellent test scenarios especially around communication protocols and data
type handling.?
? The test is done from the point of view of the user and not the designer.?

10619 Airline Reservation System
160363107020,16363107023,160363107015 42
Disadvantages
? Since the access to source code is not available, the ability to go over the code and
test coverage is limited.
? The tests can be redundant if the software designer has already run a test case.
? Testing every possible input stream is unrealistic because it would take an
unreasonable amount of time; therefore, many program paths will go untested.

10619 Airline Reservation System
160363107020,16363107023,160363107015 43
7.3 Test Cases
Srno Test Case Purpose Required
Input
Expected
Result
1 Login For login into
site user has to
enter username
or password.
Username and
Password
If username and
password matches
user will be
redirected to their
account.
2 Registration User has to fill
all the details
required for
registration
Username,
password, city,
Name. state,
gender
No fields are left
in the form,hence
the registration
process can be
complete.
3 Search
Flight
User can search
the flights for
booking
Source and
destination.
Enter Proper
cities for source
and destination.
4 Booking User can check
or view their
bookings

5 Cancel User can cancel
their booking.
Ticket Number Ticket can be
cancelled

10619 Airline Reservation System
160363107020,16363107023,160363107015 44
8.0 IMPLEMENTATION
8.1 CODING (Booking.php):