Airline Reservation System
Airline Reservation System
Airline Reservation System
BECHELOR OF TECHNOLOGY
(COMPUTER SCIENCE & ENGINEERING)
SUBMITTED BY
(2211208)
YEAR: 2012
ABSTRACT
The objective of the project is to design an Airline Reservation System application which
enables the customers to search and book flights.
The project has been designed in C#.NET technology and consists of a SQL server
which acts as the database for the project.
My motivation for the project came from my enthusiasm and strong urge to learn C# and
.NET which is one of the fastest growing technologies in todays world.
The Airline Reservation System project mainly consists of two types of users. The
customers who access the information provided by the website and the administrator who
modifies and updates the information.
All the data needed for the application is stored in the form of tables in the SQL server
2012.
The report contains the details of all the tasks carried out during the entire software
development life cycle of the Airline Reservation Project. This document depicts all the
details of the project .
unsubscribing. Only the administrator will have the sole rights to modify the
database accordingly.
Add/Modify Flight Information: The Administrator also has the sole rights to
add, delete or modify the flight information. Sometimes any flight information
has to be modified or if any new flights need to be added to the database, these
operations are performed by the administrator.
3. SPECIFIC REQUIREMENTS
3.1 EXTERNAL INTERFACES
The different types of interfaces that we would come across while developing the Airline
Reservation System application are as follows:
User Interface
Hardware Interface
Software Interface
3.1.1 USER INTERFACE
There are two types of users for the Airline Reservation System project. One is the
customer and the other is the administrator. Both the customer and administrator user
interface would be a graphical user interface. The graphical user interface for the
customer home page would be as follows:
The Graphical User Interface would mainly consist of Hyperlinks push down buttons like
the Login button etc.
3.1.2 ADMINISTRATOR INTERFACE
The administrator of the website would also have a similar Graphical User Interface.
6
After an administrator logs onto the system, the home page for the administrator would
be as follows:
10
PRESENTATION TIER
The presentation tier is the top most layer of the Airline-Reservation system application.
The presentation tier is mainly responsible for the user interface of the application which
deals with the presentation of data to the user. The presentation tier of the Airline
Reservation System is mainly formed by the C#.NET forms. In the case of the Airline
Reservation system project, I have used the Visual Studio 2012.NET to create the forms.
Each form will have the extension .cs and there are several forms created for the user and
the administrator.
BUSINESS LOGIC TIER
The Business Logic Tier is the middle tier of the three-tier architecture. The business
logic for the Airline Reservation System would be present here. In the case of my project,
the C# classes would be performing the duty of the business logic. This is the layer which
is responsible for the information exchange between the user interface and the database.
The Airline Reservation system mainly consists of the Users, which can be further
classified into the customer and administrator of the Airline Reservation System.
The class diagram for the Airline Reservation System would be as follows:
4.1) CLASS DIAGRAM
11
DATABASE TIER
The database tier is the final and last tier of the three-tier architecture. All the data related
to the Airline Reservation System project is stored and retrieved from here. For this
project I have used the Microsoft SQL server to create the database. To be specific,
Microsoft SQL server 2012 is being used. It is very easy to work with and makes creation
and maintaining of tables very easy.
12
13
2.1.2 COMPANY
2.1.3 FLIGHTS
Login- the Administrator can login with the email id and password
Register the Administrator would be able to register new flights depending upon the
respective company.
Flight status id- It depicts whether the flight is of domestic or international type.
The attributes for the flight fare are Flight fare id which is unique,
Flight class status id (referring table tblflightclass status),customer status id (referring
tblcustomerstatus table) ,fare id (referring table tblfare) and flight id(referring table
tblfllights).
The functions that the Administrator would be able to perform are :
Login- the Administrator can login with the email id and password
Add the Administrator would be able to add flight fare depending upon the respective
company and its class i.e. business or economy and customer status i.e. whether the
customer is infant, child, adult or senior citizen.
2.1.5 FLIGHT SEATS
The attributes for the flight seats are Flight seat id which is unique,
Flight class status id (referring table tblflightclass status),flight route id (referring table
tblroutes) ,seat no.
The functions that the Administrator would be able to perform are :
15
Login- the Administrator can login with the email id and password
Add the Administrator would be able to add flight seats depending upon the respective
company and its class i.e. business or economy accordingly to Source and Destination.
2.1.6 FLIGHT ROUTES
The attributes for the flight route are Flight route id which is unique, Departure time,
Arrival time, Flight Days, route id (referring table tblroutes) and Flight id (referring
table tblflights).
The functions that the Administrator would be able to perform are :
Login- the Administrator can login with the email id and password
Add the Administrator would be able to add flight routes depending upon the
respective company flights and accordingly to Source and Destination along with their
departure and arrival time.
2.1.7
FLIGHT BOOKING
The attributes for the flight route are PNR status id which is unique, customer id
(referring table tblcustomers), flight seats id (referring table tblflightseats) , flight fare id
16
(referring table tblflightfare), flight route id (referring table tblflightroutes) and Date of
Booking of flight.
The functions that the Customer would be able to perform are :
Login- the Customer can login with the email id and password
Book the Customer would be able to book flight depending upon the respective
company flights available and accordingly to Source and Destination along with their
departure and arrival time and accordingly to class type i.e. business or economy and
availability of flight on that booking date.
17
18
4. APPROACH
This section of the test plan describes the overall approach for testing the Airline
Reservation System project. The approach followed for testing the Airline Reservation
System ensures that the major features of the project are adequately tested. The testing
would be carried out on the Airline Reservation System while logging into the system as
a customer or a normal user of the system.
4.1 UNIT TESTING
The Unit Testing is a test that tests each single module of the software to check for errors.
This is mainly done to discover errors in the code of the Airline Reservation System. The
main
goal of the unit testing would be to isolate each part of the program and to check the
correctness of the code. In the case of the Airline Reservation System, all the forms and
the C# classes will be tested. There are many benefits for this unit testing:
The unit testing facilitates change in the code.
It allows testing to be done in a bottom up fashion.
At the same time, unit testing has some disadvantages such as, it might not identify each
and every error in the system.
4.2 INTEGRATION TESTING
In Integration Testing, the individual software modules are combined and tested as a
whole unit. The integration testing generally follows unit testing where each module is
tested as a separate unit. The main purpose of the integration testing is to test the
functional and performance requirements on the major items of the project.
All the modules of the project developed individually would be combined together and
tested as a whole system in the integration testing.
4.3 REGRESSION TESTING
The Regression Testing is generally done whenever modifications are made to the source
code of a project. The Regression Testing can also be defined as the process of testing
changes made to the computer program and also makes sure that the older programming
still works with the new changes.
So, before any new version of a software product is released, the old test cases for the
project will be run against the software with the changes made, to make sure that the old
functionalities of the project still work.
4.4 ACCEPTANCE TESTING
This testing is generally performed when the project is nearing its end. This test mainly
qualifies the project and decides if it will be accepted by the users of the system. The
users or the
customers of the project are responsible for the test.
19
20
Correct Input: A correct input would be entering the data into the data entry fields in a
correct format.
Pass Criteria: The pass criteria for this test case would be that the search would return
valid results and then when the customer made the booking, the system has to generate a
confirmation to the customer by displaying the message.
6. PASS OR FAIL CRITERIA
The test cases executed on the Airline Reservation System will pass if they meet the
specific requirements mentioned in the Vision document of the project. A test case is said
to fail, if the desired functionality is not satisfied by the system.
7. SUSPENSION CRITERIA AND RESUMPTION REQUIREMENTS
7.1 SUSPENSION CRITERIA
Testing for all the dependant features will be suspended if a test case fails. The failed test
case will be logged onto the test log which contains the description for the error.
7.2 RESUMPTION REQUIREMENT
The test cases which are not dependant on the case where the bug is reported will be
executed in parallel with the bug fixing. Once the failed test case has been taken note of
and has been identified and fixed then the testing for the failed test case will resume.
8. TEST DELIVERABLES
The following documents will be produced after the testing phase for the Airline
Reservation System has been completed.
Test Plan
Test Cases
Test Log
21
The below table represents the summary of results of testing on the Administrator pages.
The results have been explained in detail later in the document.
22
23
24
Thus, the Administrator forms have also passed the manual testing phase and thus
the above results have been produced
25
26
27
28
29
30
31
32
REFERENCES
The following references have been used by me, during all the phases of the MSE
project:
1. http://www.tutorialspoint.com/csharp/index.htm
2. http://msdn.microsoft.com/en-us/library/kx37x362(v=vs.80).aspx
3. SQL Server 2012 download - http://www.microsoft.com/en-in/download/details.aspx?
id=35575
4. http://www.c-sharpcorner.com/
5. http://en.wikibooks.org/wiki/C_Sharp_Programming
33