CHAPTER 1 INTRODUCTION 1 INTRODUCTION1

CHAPTER 1 INTRODUCTION 1 INTRODUCTION1

CHAPTER 1
INTRODUCTION
1 INTRODUCTION1.1 INTRODUCTION
Millions of peoples travel daily. There may be different reasons to travel of all these peoples, whether it is for entertainment or for any kind of job. There are different ways to travel e.g. via air, via road, via water and via train. As a specific case we consider railway. Most of the time, people go to railway stations and wait in queues to get the tickets. People find it difficult to get travelling information due to hassle and ticket windows. Despite the problems faced by the public due to this manual system, the concerning management also suffer due to the case of dishonesty by staff and passengers.

In our project we will be developing a website that has various kinds of information that helps regarding booking of tickets via railways.

User will be able to search the train availability, the arrival and departure time of the train and they can also book the ticket.

In our website we will create a central database to collect information. The database is connected with the website that will provide real time information about the availability of tickets and their prices.

By using our system peoples have many of the benefits for example passenger don’t have to wait for a long time and reserve their ticket at any time
Our website also provide information of hotels of selected city/station.

1.2 OBJECTIVE
The objective of the online railway ticket reservation system project is to design software fully automate the process of issuing a railway ticket, that is
To create a database of the trains
To reserve the tickets
To cancel the tickets if necessary
To check the availability of the ticket
To search the trains it’s arrival and departure time
Our website also provide information of hotels of selected city/station.

Destination.

1.3 BENEFITS
Having a web based reservation system allows you to do your work from anywhere. Regardless if you are at the office, on a train or sitting on a beach (as long as Wi-Fi to be had, you can connect and work with no impairments.

A web based reservation system needs nothing to be installed or saved on to your device for it to function. From the users point of view, everything is on the web and you only need a computer (or mobile phone) and internet access. Your software vendors take care of everything else. Just punch in the web address and ready to go.

There is no window version, Linux version or any other you need to worry about it.use your preferred web browser and the application will adjust to you
It offers completely hassle-free reservation and no limit for time urgency. The people have enough time to make their reservation in their own practices times.

Another greater advantage is that the availability of tickets can be checked easily. If the ticket is not available in the desired train and other trains can check and verify the availability.

Our website also provide information of hotels of selected city/station.

CHAPTER 2
LITERATURE REVIEW
2 LITERATURE REVIEW2.1 LITERATURE REVIEW
Pakistan railway reservation system are the part of literature survey, this is include the some existing research work. Its concept already done by the researcher apart from that we are also find the some limitation in the same field .Railway reservation system is the principal mode of transport in the country .Different transactions are involved in the online railway reservation system. It will manage all the details about the transactions .It can store, retrieve and change the data transactions of an organization .Tools must support which help to the ease of automate the application programming’s , administrations and the execution process .It helps a network of device that submit the different queries and update to the application. All the work on the different transactions are based on these inputs, the web-based application will maintain a database that is representing a real world state. Web-based Application will response and output must be create that control and change the different states. Administrator, passenger and the web-based application database are interact to each other.

We are discussed the problem background and proposed solution on the online railway reservation system
.

2.2 Existing System
In the Existing System Reservation is done manually by the passengers at the railway reservation counter. Passengers has to wait for a long time in the queue to get the reservation tickets. Wastage the time for a passengers and wasting a lot of man power and lot of paper work is required.

2.3 Proposed System
In the proposed system of ‘Railway Reservation system’ all the manual work convert through online. This system saves the money, time and the man power. It provide the security as compared to the existing system.

Basic functions being performed by our system is reservation, cancellation and the status.

These functions are handle by the sub functions e.g. admin, passenger and the system database.

It reserves and cancels seats of passenger.

It contain all the information about the stations.

It contain all the information about the trains
It contain all the information about the passengers.

It contains the details about the reservation fares.

It make entries for reservation and the cancellation tickets.

It will update the details about the reservation and the cancellation
Passenger could search for train from a particular source to destination.

The record of train status include total number of seats available ,number of seats reserved and waiting slot, date for which train can be booked etc.

Railway Reservation System is to eliminate the heavy load paper work by converting it to web–based Application computer process.

CHAPTER 3
REQUIREMENTS SPECIFICATION
REQUIRMENT SPECIFICATION 3.1 FUNCTIONAL REQUIREMENTA description of the feature required. Functional requirement deals with the system should do or provide for users. They include description of the required functions, outlines of associated reports or online queries, and details of data to be held in the system.
For Admin3.1.1.1 Add
The transport management system shall allow the admin to add new users, route, and train/vehicle and repair cost to the system database.

3.1.1.2 Delete
The transport management system shall allow the admin to delete route, driver, and trains/vehicle to the system database.

3.1.1.3 Update
The transport management system shall allow the admin to update route, driver, and trains/vehicle to the system database.

3.1.1.4 View
The transport management system shall allow the admin to view route, driver, and trains/vehicle to the system database.

3.1.1.5 Admin Search
The transport management system shall allow the admin to search by user ID, train/vehicle no and route id.

3.1.1.6 Admin Profile
The transport management system contain admin id and password.

3.1.1.7 User Profile
The transport management system shall generate the user profile containing the following information like email, name, designation and route id.

3.1.2 For Passenger3.1.2.1 Book Ticket
The transport management system shall allow the user to reserve their tickets Book Ticket online.

3.1.2.2 Cancel Ticket
The transport management system shall allow the user to cancel the ticket if user wants to do this.

3.1.2.3 View Reservation Status
The transport management system shall allow the user to view the status of the reserved seats.

3.1.2.4 View Availability
The transport management system shall allow the user to check the availability of seats and trains.

3.1.2.5 View Route
Transport system will allow the user to view the route
3.2 NON-FUNCTIONAL REQUIREMENTIn requirements engineering a non-functional requirements is a requirements that specifies that can be used to judge the operation of a system, rather than specific behaviors. They are contrasted with functional requirements is detailed in the system design
3.2.1 Availability
The transport management system is web based application which be available every time for use. The transport management system will be uploaded on every server so that every can use any time
3.2.2 Efficiency
The transport management system is being developed in Php and my sql3.2.3 Flexibility
The transport management system allows to add trains, routes, fares and other necessary material easily
3.2.4 Portability
Portability specifies the case with which the software can be installed on all necessary platform, and the platform on which it is expected to run
3.2.5 Integrity
Integrity requirements define the security attributes of the system, restricting access to featuresor data to certain users and protecting the privacy of data entered into the software
3.2.6 Performance
The transport management system shall efficient enough to order to inserting and getting information
3.2.7 Reliability
The transport management system shall more effective and efficient. Reliability specifies the capability of the transport management system to maintain its performance over time. Unreliable software failed frequently and certain tasks are more sensitive to failure
3.2.8 Usability
Ease-of-use-requirements address the factors that constitute the capacity of the software to be understood, learned and used by its intended users.

CHAPTER 4
PROJECT DESIGN

4 PROJECT DESIGN4.1 USECASE DIAGRAMUse case diagram are used to describe the different action perform the passenger in it. Passenger
Must follow these actions .Admin and railway website must be interact with itUse case Diagram for Passenger
Fig: 1 Use case diagram for Passenger
Use case Diagram for Admin
Figure : 2 Use case diagram for Admin
Activity Diagrams
Activity diagram is an operation of a system and Activity Diagrams is to represent these operations. Activity diagram represent the flow of data but where activity is perform by user and system. Activity diagram is to explain the flow of one activity towards another activity with the help of different elements which are used to draw a said diagram.

4.2.1 Activity diagram for Booking Ticket Railway Reservation

Figure :3 Activity Diagram for Booking Ticket Railway
4.2.2 Activity Diagram for Cancel Ticket Railway Reservation
Figure :4 Activity Diagram for Cancel Ticket Railway Reservation
4.3 Sequence Diagrams
Sequence diagram show that how objects operate with each other and in what order.It is basically a message chart.

4.3.1 Sequence Diagram for Cancel Ticket Reservation System

Figure :5 Sequence Diagram for Cancel Ticket Railway Reservation
4.3.2 Sequence Diagram for Book Ticket Reservation System

Figure: 6 Sequence Diagram for Login and Reservation Ticket Railway Reservation
4.4 ERD DIAGRAM
4.4.1 ERD Diagram for Railway Reservation

Figure: 7 ERD Diagram For Railway Reservation
4.5 Data Flow Diagram4.5.1 Data Flow Diagram Level 0

Figure: 8 Data Flow Diagram (Level 0)
4.5.2 User Level 1

Figure: 9 Data Flow Diagram for Railway Reservation (User Level 1)
4.5.3 Admin Level 1

Figure: 10 Data Flow Diagram for Railway Reservation (Admin Level 1)
4.5.4 Admin Level 2

Figure:11 Data Flow Diagram For Railway Reservation(Admin Level 2)

CHAPTER 5
IMPLEMENTATION
5 IMPLEMENTATION5.1 ImplementationImplementation is an important phase where the developer gives physical existence to thought and ideas. The result of a successful implementation is our desired website application. Developers make source code in this phase. Implement the database at least using a centralized database management system. Software is used to develop the Transport Management system in PHP and PhpMyAdmin as database.Implementation of Proposed Solution is important task when all the conceptual, logical design of both end are converted into physical system. Before Deployment of Solution it should be tested module by module. Users should be involved during testing of solution so they provide to the point feedback after deep observation of solution. Physical design is to translate the logical design model, a set of SQL statements or in a visual programming language that define the database or visual interface for users. As concern to the relational database system, logical design will be converted into database files which contain attributes and entities.

5.2 Software and Hardware Requirements
5.2.1 Software Requirements
FRONT END
HTML
CSS
PHP
BACK END
MySQL Database Management System
5.2.2 Software Tools
XAMPP
DreamweaverCs5
5.2.3 Hardware Requirements
Hardware Interfaces
Server Side:
1. Processor minimum: Pentium 4.0 GHz or higher
2. RAM minimum: 256 Mb or more
3. Hard Drive: 10 GB or more
Client side:
1. Operating System: Windows7, windows10, UNIX.

2. Processor: Pentium III or 2.0 GHz or higher.
3. RAM: 256 Mb or more
Some software description are as follows:
5.2.4 PhpMyAdminThe database management tool used in this project was phpmyadmin. It is an open source tool written in PHP It realized web database management instead of the traditional system implementation.

5.2.5 Dreamweaver Cs5
After compiling the PHP website, Dreamweaver Cs5 was used to design the layout of website. After Dreamweaver was realized content management system (CMS) was 7 supported and PHP received better support, not only the programmer could used code hints in the document to search a custom function, but could also use this features to design better CMS templates. In addition to those features, Dreamweaver Cs5 had some other new features such as its integrated Browser Lab network that allows the developer to link to a web browser in the laboratory and to using a different browser to check the layout at the same time.

5.2.6 MySQL
MySQL is a Relational Database Management System (RDBMS) that runs as a server providing multi-user access to a number of database.

MySQL was designed for three principles which are performance, reliability and usability. A cheap, distinctive, fast and efficient RDBMS was created by following those principles. MySQL becomes a perfect tool for developers and administrators to established, maintain and configure complex applications.

5.2.7 PHP
PHP (hypertext pre-processor) is a widely used open source general purpose scripting language that is especially suited for web development and HTML can be embedded into it. The developer could use PHP and HTML to generate the home page. Once a visitor accesses the index page, the server will execute the php command and send the outcomes of the implementation to the visitor’s browser, however, the difference is that php is open source and support most of the popular platforms and it can be run on Windows platform and multiple versions of UNIX.

5.3 Database Implementation
MySQL Data base server used SQL language to perform operation with database on the database ,server, SQL queries are written for CRUD operation for example to create database files , tables , fields, relations, or to insert data, delete, select for reading and update the data in the database files.

These queries are written with predefined clauses and function of Structural Queries Language. User environment will also send these quries from user end for required operation.

5.3.1 Database Tables
5.3.1.1 Admin table

Figure : 5.3.1.1
The figure shows design view of the admin in which column name is id, name ,password, gender, email, address, status and shows data type, length, attributes and primary key.

5.3.1.2 User table

Figure : 5.3.1.2
The figure shows design view of the user in which column name is id, name ,password, gender, email, address, status and shows data type, length, attributes and primary key.

5.3.1.3 Train Schedule Table

Figure: 5.3.1.3
The figure shows design view of the train schedule in which column name is schedule_ id, train_id,startcity_id ,endcity_id, startDate, endDate, train_status and shows data type, length, attributes and primary key.

5.3.1.4 Train

Figure: 5.3.1.4
The figure shows design view of the train in which column name is train_ id, train_name, engine_id ,train_status and shows data type, length, attributes and primary key.

5.4 Interfaces
5.4.1 User Registration Form
Coding of Reg User
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<link rel=”stylesheet” type=”text/css” href=”style.css”/>
<title>Untitled Document</title>
</head>
<link rel=”stylesheet” type=”text/css” href=”style.css”/>
<body>
<?php include(“include/header.php”);
include(“include/nav.php”);

?>

<div id=”cont”>
<div id=”myform”>
<form action=”query.php” method=”post”>
<?php include(“include/dbcon.php”);
?>
<ul>
UserName:
<br />
<input type=”text” name=”user_name” />
</ul>
<ul>
UserPassword:
<br />
<input type=”password” name=”user_password” />
</ul>
<ul>
Gender:
<br />
<select name=”user_gender”>
<option value=”MALE”>MALE</option>
<option value=”FEMALE”>FEMALE</option>
</select>
</ul>
<ul>
E-Mail Address:
</br>
<input type=”text” name=”user_email” />
</ul>
<ul>
Address:
</br>
<input type=”text” name=”user_address” />
</ul>
<ul>
<input type=”submit” name=”regUser” value=”addNewUser” />
</ul>
</form>

</div>
</div>
<?php
include(“include/footer.php”);
?>
</body>
</html>

Figure: 5.4.1
In this figure shows that the user must fill the registration form before login. Admin can view all the information about the user in registration form.

5.4.2 Admin Registration Form
Coding of Reg Admin
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<link rel=”stylesheet” type=”text/css” href=”style.css”/>
<title>Untitled Document</title>
</head>
<link rel=”stylesheet” type=”text/css” href=”style.css”/>
<body>
<?php include(“include/header.php”);
include(“include/nav.php”);

?>

<div id=”cont”>
<div id=”myform”>
<form action=”query.php” method=”post”>
<?php include(“include/dbCon.php”);
?>
<ul>
AdminName:
<br />
<input type=”text” name=”admin_name” />
</ul>
<ul>
AdminPassword:
<br />
<input type=”password” name=”admin_password” />
</ul>
<ul>
Gender:
<br />
<select name=”admin_gender”>
<option value=”MALE”>MALE</option>
<option value=”FEMALE”>FEMALE</option>
</select>
</ul>
<ul>
E-Mail Address:
</br>
<input type=”text” name=”admin_email” />
</ul>
<ul>
Address:
</br>
<input type=”text” name=”admin_address” />
</ul>
<ul>
<input type=”submit” name=”regadmin” value=”AddNewAdmin” />
</ul>
</form>
</div>
</div>
<?php
include(“include/footer.php”);
?>

</body>

</html>

Figure: 5.4.2
In this figure shows that new admin must fill the registration form before login .After registration, admin see all information about the Online Railway reservation system and user.

5.4.3 Login Form
5.4.3.1 User and Admin Login
Coding of Login
<?php include(“include/header.php”);
include(“include/nav.php”);
?>
<div id=”cont”>
<div id=”myform”>
<form action=”loginProcess.php” method=”post”>
<ul>
Email:
<input type=”text” name=”user_email” />
</ul>
<ul>
Password:
<input type=”password” name=”user_password” />
</ul>
<ul>
Select User Type:
<select name=”user_type”>

<option value=”USER”> USER </option>
<option value=”ADMIN”> ADMIN </option>

</select>
</ul>
<ul>
<input type=”submit” name=”login” value=”Login” />
</ul>
</form>

</div>
<?php
include(“include/footer.php”);
?>
</body>
</html>

Figure: 5.4.3.1
This is the first web page when user open the web application. User must login the web page before going to the next page. Users and administrators must register first before login.

5.4.4 Logout Form
Coding of Logout
<?php session_start();
session_unset();
session_destroy();
header(“Location:index.php”);
?>

Figure: 5.4.4
In this figure shows that the passenger logout the form
5.4.5 Train Schedule
Coding of Train Schedule
<?php include(“include/header.php”);
include(“include/nav.php”);

?>
<div id=”cont”>
<div id=”myform”>
<form action=”query.php” method=”post”>
<?php include(“include/dbCon.php”);
?>
<ul>
Train:
<select name=”train_id”>
<?php$trainQur = “SELECT * FROM `train`”;
$trainRow = mysqli_query($dbConnection,$trainQur);
while ($trainRec = mysqli_fetch_assoc($trainRow)){

?>
<option value=”<?php echo $trainRec’train_id’?>”><?php echo $trainRec’train_name’?></option>
<?php } ?>
</select>
<ul>
Start City:
<br />
<select name=”sCity_id”>
<?php $citysQur = “SELECT * FROM `addcity`”;
$citysRow = mysqli_query($dbConnection,$citysQur);
while ($citysRec = mysqli_fetch_assoc($citysRow)){

?>
<option value=”<?php echo $citysRec’city_id’?>”><?php echo $citysRec’city_name’?></option>
<?php } ?>
</select>
</ul>
<ul>
End City:
<br />
<select name=”eCity_id”>
<?php $cityeQur = “SELECT * FROM `addcity`”;
$cityeRow = mysqli_query($dbConnection,$cityeQur);
while ($cityeRec = mysqli_fetch_assoc($cityeRow)){

?>
<option value=”<?php echo $cityeRec’city_id’?>”><?php echo $cityeRec’city_name’?></option>
<?php } ?>
</select>
</ul>
<ul>
Start DATE:
</br>
<select name=”sYear”>
<?php
for($y = 2017; $y<=date(‘Y’); $y++){
?>
<option value=”<?php echo $y ?>”><?php echo $y ?></option>
<?php}
?>
</select>
<select name=”sMonth”>
<?php
for($m = 1; $m<=12; $m++){
?>
<option value=”<?php echo $m ?>”><?php echo $m ?></option>
<?php}
?>
</select>
<select name=”sDay”>
<?php
for($d = 1; $d<=31; $d++){
?>
<option value=”<?php echo $d ?>”><?php echo $d ?></option>
<?php}
?>
</select>
</ul>
<ul>
End DATE:
</br>
<select name=”eYear”>
<?php
for($y = 2017; $y<=date(‘Y’); $y++){
?>
<option value=”<?php echo $y ?>”><?php echo $y ?></option>
<?php}
?>
</select>
<select name=”eMonth”>
<?php
for($m = 1; $m<=12; $m++){
?>
<option value=”<?php echo $m ?>”><?php echo $m ?></option>
<?php}
?>
</select>
<select name=”eDay”>
<?php
for($d = 1; $d<=31; $d++){
?>
<option value=”<?php echo $d ?>”><?php echo $d ?></option>
<?php}
?>
</select>

</ul>
<ul>
<input type=”submit” name=”trainSch” value=”Train Schedule” />
</ul>
</form>

</div>
<?php
include(“include/footer.php”);
?>
</body>
</html>

Figure: 5.4.5
This web page a very important role because admin see the train schedule e.g. train name, start city,end city,start date ,end date etc admin can update the data of tain schedule.

Chapter 6Evaluation
6 EVALUATION
6.1 System Testing It is an experimental examination that is directed to give backer’s data about the nature of the item below test. Procedure of testing is used to identify errors in the software that is built. Testing plays a basic role in assuring quality and reliability of programming.
The consequences of testing are used later on amidst support too.6.2 Testing Phycology
The enthusiasm behind testing is to show that a project is working properly without any error. The main aim of testing is to find errors that might be available in the system. Hence one has to not initiate testing with the plan of demonstrating that a system works, yet the goal is to demonstrate that a project does not work. The procedure of testing is used for executing a project with the aim of finding errors.
6.3 Objectives of Testing The main goal of testing is to expose a large group of errors, intentionally and with least effort and time.
Testing is technique for executing a system with the aim of finding a mistake.
A great testing is one that has a high probability of finding errors, on the off chance that it exists.
6.4 Basics of software testing There are two basics of software testing.

black box testing
white box testing
6.4.1 Black box Testing It is a testing strategy for a software in which ability of the software program is examined without looking at its internal code structure, understanding of internal paths and internal information of the software program. This type of testing is totally based on the software requirement. We simply focus on the inputs and outputs of the software program gadget without bothering the external information of the software program.

Following Steps are in the black box testing.

Specifications and requirements are examined first.

For all inputs the tester determines the expected output.

Test cases are constructed by the software tester with the selected inputs.

The test cases are executed by the software tester.

Actual outputs are compared with the expected outputs by the tester.

If there is any defect in the software than it is fixed by developer and re-tested by tester.

6.4.2 White box Testing White box testing is also known as clear box testing or glass box testing. In white box texting the internal structure or working of an application is tested. The name clear box or glass box indicates that the tester has full visibility of the internal working and structure of the code. Programming skills are required to build test cases. To exercise paths through the code tester chooses input and determine the appropriated output.

6.5 Testing’s type There are many types of testing. These types are given as follow.
6.5.1 Unit Testing In unit testing individual unit or gathering of related units is tested. Unit testing falls under the category of white box testing which means that code is visible to the tester. Unit testing is done by the developer frequently. Developer check each unit by executing the code that either it is giving the expected result or not.
6.5.2 Link Testing It does not test programming yet somewhat the mixture of every module in framework. The important concern is the resemblance of every module. The maker tests where units are planned with several parameters, length, sort etc.
6.5.3 Integration Testing There is a need to perform integration testing after unit testing. In this type of testing an assembly of sections is merged to create yield. Integration testing might fall under both white box and black box testing. The purpose of integration testing is to check whether units can be synchronized properly.
6.5.4 Acceptance Testing Acceptance test is performed with realistic information of the client to check that the product is working acceptably. Testing here is placed on outer conduct of the framework. It is the way of finding mistakes and missing functions of the product and also to figure out that the goals are met and the client requirements are fulfilled.
6.5.5 Performance Testing This type of testing is performed to estimate the pace and capability of the framework and to guarantee that it is creating results inside a predefined time as in execution prerequisites.
6.5.6 Usability Testing This testing is performed to check the point of view of customers. To evaluate the following
How the Graphical user interface is user?friendly?
How efficiently the customer can learn?
How skillfully the customer can perform?
How sufficient is it to utilize its framework?
6.5.7 Regression Testing After adjustment of a segment or framework regression testing is performed to ensure that the modification is working precisely and is not spoiling or forcing different segments to deliver astonishing results.
6.6 Test Cases 6.6.1 FOR USERS
The tests cases are performed during the project development which is verified successfully as follows. 6.6.1.1 Test Case 1 : Register User
Test Name: User Registration
Test Created by: Nayab Ali
Shumaila NazDescription: How to Register New Admin
Primary Actor :< Admin>
Pre-condition: System must be in working condition

Name: User Registration Test No. Test Condition Expected Result Actual Output Status
Test 1. Click On Registration Toast is displayed Please Enter Required Info Toast is displayed
Please Enter Required
Info Pass
Test 2. Enter Invalid Email and click on Add New User button. Toast is displayed Invalid Email Toast is displayed Invalid Email Pass
6.6.1.2 Test Case 2 : Login Test Name: Login
Test Created by: Nayab Ali
Shumaila NazDescription: How to login
Primary Actor :< Admin><User>
Pre-condition: System must be in working condition
Name: Login Test No. Test Condition Expected Result Actual Output Status
Select type and Click on login button without entering email and password. Login successful Login successful Pass
Test 2. Enter Invalid Email and click on Login Toast is displayed Invalid Email Toast is displayed Invalid Email Pass
Test 3. Enter Valid Email and password and click on Login Logged in successful Logged in successful. Pass
6.6.1.3 Test Case 3 : Reservation Test Name: Reservation
Test Created by: Nayab Ali
Shumaila NazDescription: How to reserve seats/ticket
Primary Actor :< User>
Pre-condition: System must be in working condition
Name:ReservationTest No. Test Condition Expected Result Actual Output Status
Test 1.

Click on search train Select desired train and click the button. Select desired train by entering start and destination and click on search train button Pass
Test 2. Click on select button Enter required info Enter required info no of seats etc. and click on Reserve Button Pass
Test 3.
6.6.1.4 Test Case 4 : View Reservation
Test Name: View Reservation
Test Created by: Nayab Ali
Shumaila NazDescription: How to view the resrvationsPrimary Actor :< User>
Pre-condition: System must be in working condition
Name :ViewReservationTest No. Test Condition Expected Result Actual Output Status
Test 1.

Click on My Reservations Display all reservations Display all reservations Pass
6.6.1.5 Test Case 5 : Cancel Reservation
Test Name: Cancel Reservation
Test Created by: Nayab Ali
Shumaila NazDescription: How to Cancel seats/ticket
Primary Actor :< User>
Pre-condition: System must be in working condition
Name:Cancel Reservation Test No. Test Condition Expected Result Actual Output Status
Test 1.

After performing View Reservation click on Cancel reservation Cancel successful Cancelation of reservation id successful Pass
Test 2. Click on select button Enter required info Enter required info no of seats etc. and click on Reserve Button Pass
6.6.1.6 Test Case 6 : View Hotels
Test Name: View Hotels
Test Created by: Nayab Ali
Shumaila NazDescription: View the hotels and restaurant off the selected city or station
Primary Actor :< User>
Pre-condition: System must be in working condition
Name:View Hotels Test No. Test Condition Expected Result Actual Output Status
Test 1.

Click on view Hotels and select the desired city/station List of hotels of selected city List of hotels of selected city or station Pass
6.6.2 FOR ADMIN
6.6.2.1 Test Case 1: View Register Users
Test Name: View Register Users
Test Created by: Nayab Ali
Shumaila NazDescription: How to view the list of all register users
Primary Actor :< Admin>
Pre-condition: System must be in working condition
Name: View Register Users Test No. Test Condition Expected Result Actual Output Status
Test 1. Click on View Reg User. Toast is displayed list of all register users. Toast is displayed list of all register users. Pass

6.6.2.2 Test Case 2: Add New Admin
Test Name: Add New Admin
Test Created by: Nayab Ali
Shumaila NazDescription: register new admin with the system
Primary Actor :< admin>
Pre-condition: System must be in working condition
Name:Reg New Admin Test No. Test Condition Expected Result Actual Output Status
Test 1.

Click on NewAdmin and select Reg Admin Enter required info Enter required info Pass
Test 2. 6.6.2.3 Test Case 3 : Add/View Coaches Test Name: Add Coaches
Test Created by: Nayab Ali
Shumaila NazDescription: How to add new coaches and view all coaches
Primary Actor :< Admin>
Pre-condition: System must be in working condition

Name: Add/View Coaches Test No. Test Condition Expected Result Actual Output Status
Test 1. Click on Coaches and select Add New CoacheToast is displayed Please Enter Required Info Toast is displayed Please Enter Required Info Pass
Test 2. Click on coaches and select view coaches. List displayed List of all the coaches pass
6.6.2.4 Test Case 4: Add/View Engine
Test Name: Add/View Engine
Test Created by: Nayab Ali
Shumaila NazDescription: How to add New engine and view the list of engines
Primary Actor :< Admin>
Pre-condition: System must be in working condition

Name: Add Engine Test No. Test Condition Expected Result Actual Output Status
Test 1. Click on Engine. Toast is displayed Please Enter Required Info and click on Add Engine button. Toast is displayed Please Enter Required Info and click on Add Engine button. Pass
Test 2. Click on Engine and select View Engine Display the list all engines List displayed pass
6.6.2.5 Test Case 5.Make and View Train
Test Name: Make and View Train
Test Created by: Nayab Ali
Shumaila NazDescription: make and view the in track trains
Primary Actor :< Admin>
Pre-condition: System must be in working condition
Name: View Register Users Test No. Test Condition Expected Result Actual Output Status
Test 1.

Click on train and select make train Provide details Fill form and click on AddNewTrain Button. Pass
Click on train and select View Train Display list List of all on track trains pass
6.6.2.6 Test Case 6: Add and view City/Station
Test Name: Add and view City/Station
Test Created by: Nayab Ali
Shumaila NazDescription: How to add New city or station and view all the cities
Primary Actor :< Admin>
Pre-condition: System must be in working condition
Name: Add City Test No. Test Condition Expected Result Actual Output Status
Test 1. Click on City and select Add New city. Toast is displayed Please Enter Required Toast is displayed Please Enter Required Info and click on Add City button. Pass
Test 2. Click on city and select View City. Display list List of all the cities pass
6.6.2.6 Test Case 6: Train Schedule And view train Schedule
Test Name: Train Schedule and view train schedule
Test Created by: Nayab Ali
Shumaila NazDescription: set the new train and view the on track trains
Primary Actor :< Admin>
Pre-condition: System must be in working condition

Name: Train Schedule Test No. Test Condition Expected Result Actual Output Status
Test 1. Click on Train Schedule. Toast is displayed Please Enter Required Info. Toast is displayed Please Enter Required Info and click on Train Schedule. Pass
Test 2. Click on train schedule and select view Train Schedule. Display list List displayed 6.6.2.7 Test Case 7. Attach Coaches
Test Name: Train Schedule
Test Created by: Nayab Ali
Shumaila NazDescription: how to attach coaches
Primary Actor :< Admin>
Pre-condition: System must be in working condition

Name: Attach Coach Test No. Test Condition Expected Result Actual Output Status
Test 1. Click on attach coach Enter required information Fill all the details Pass
Click on attach coach and select view attach coaches List of all attach coaches List of all attach coaches pass

6.6.2.8 Test Case 8: Make and View Train
Test Name: Make and View Train
Test Created by: Nayab Ali
Shumaila NazDescription: make and view the in track trains
Primary Actor :< Admin>
Pre-condition: System must be in working condition
Name: View Register Users Test No. Test Condition Expected Result Actual Output Status
Test 1.

Click on train and select make train Provide details Fill form and click on AddNewTrain Button. Pass
Click on train and select View Train Display list List of all on track trains pass
Chapter 7Conclusion7 Conclusion
Our project is to design “Transport Reservation System”. This system can be used for any transport system but as a specific case we consider railway. By using our project user can do the reservation of railway ticket at any time from anywhere.it also provide the complete information about the source and destination of the train. . For this application, visitor must register to avail the services. In this system, train records are maintained and retrieved.

User can search his required train by entering his station and he/she can get the arrival and departure time of the train. In case of emergency or when required user can cancel his own reservation by entering his/her data.

Through our website user can get complete information about hotels and restaurant of the selected city/station.
Administrators monitor all user and their reservations. Administrator has complete access to database and can add train and cancel train or add station for particular train or skip a station for train. It provides attractive and familiar interface with inserting and reporting capabilities
This is for the purpose of reserving train seats at any time and from anywhere. This application provides us complete information about a train between specified source and destination. This application gives current status of reservation of particular train, fares for different classes of train and also waiting status
In our project we do not add the functionality of online payment.

x

Hi!
I'm Alfred!

We can help in obtaining an essay which suits your individual requirements. What do you think?

Check it out