Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 24

Travel and Tourism Management

 Introduction:
In today’s fast-paced world travel and tourism industry plays important role in connecting people
and their cultures. As technology continues to evolve, there is a growing need for innovative
solutions to involve the overall travel experience .

-The main objective of our project is to manage the details of Customer, Hotel Bookings,
Cancellations and tourism places.

-This application will help in accessing the information related to the travel to the particular
destination easily.

-Users can track the information related to their tours.

- Purpose of this system is highly automated and makes the travelling activities much easier
and flexible.

-This includes adding and updating the details and it will give real time information or updates.

a) Motivation :
Motivation behind this project is to enhance the travel experience for both tourists and service
providers.

b) Problem Statement:
-The current travel management system is inefficient and time consuming.

-This has resulted in poor customer experience .

-There is a need for a modern , user-friendly and automated Travel and tourism management system
that can handle large volume of data and provide user with an easy and hassle-free booking
experience.

c) Objective & Purpose :


The objective of this project is to develop a system that automates the processes and activities of
travel and the purpose is to design a system using which one can perform all operations related to
travelling.
d) Primary objectives includes:
-User-Friendly Interface.

-Efficient Booking System.

-Real time Information.

-Payment Integration.

 System Analysis:

a) Existing System:
-Currently, travel and tourism systems exhibit various limitations.

-Many are outdated ,lack personalization ,and struggle to adapt to the dynamic needs of users.

-The booking process is not effective and overall user experience may fall short of expections.

b) Limitations of Existing Systems:


-Limited Personalization: Existing systems may not fully understand the users preferences

-Outdated Interfaces: The user interfaces may not be impacting the overall user experience.

-Inefficiencies in Booking : Some system may lack efficiency in handling bookings ,leading to delays
or errors.

-Limited Real-time Information: Access to real-time updates on travel-related information might be


not correct.

c) Features:
-Our project aims to overcome these limitations and provide an enhanced travel experience.

Features such as :-

a) User-Centric Design- Ensuring a easy and personalized user experience.


b) Comprehensive Booking Engine: We will Develop a robust booking system covering
flights, bus, trains, accommodations and other travel services.
c) Real-time Information Integration.

d) Requirements:
These requirements are those that enables the system to operate .These requirements focus mainly
on what the system should do.
-Users have to register themselves by creating accounts to gain access to the system’s services.

-This system will include all the necessary fields which are required during online registration.

-Users who are new to this application will have to make New registration.

-For new registration system will ask register with Email/Mobile Number.

Customer Registration:
In this page ,the user is required to complete the further registration process with Modern coast of
travel Management system.

This form contains following input fields:

 First Name:
The user is required to enter the first name of his/her choice.

 Last Name:
The user enters another name different from the first name as the last name.

 Username:
The user provides a name that he/she would be using when logging into the account.

 Email Address:
User is required to provide valid email address which can be use to communication .

 Password:
This is secret set of values which can be a mixture of integers, alphabets and other special
characters that the user must provide for authentication purpose.

 Functional Requirements:
1. Booking Functionality- Enables users to book travel
services through streamlined processes.
2. Recommendation Engine- Travel recommendations based
on user prefernce.
3. Real-time Updates- Display the real time information.

 Non Functional Requirements:


1. Payment Integration- Provide secure payment gateway
for online transactions.
2. Secure Authentication- Implement secure login
mechanisms to protect user accounts.
 ER Diagram
 DFD -
 SYSTEM DESIGN

 Datase Name :TravelManagementSystem

 1.ACCOUNT:

Field Type Null Key Default


username varchar(30) NO PRI NULL
Name varchar(30) NO PRI NULL
password varchar(30) NO NULL
security varchar(30) NO NULL
Answer varchar(30) NO NULL

 2.CUSTOMER:

Field Type Null Key Default


username varchar(30) NO MUL NULL
id varchar(30) NO PRI NULL
id_number varchar(30) NO NULL
name varchar(30) NO NULL
gender varchar(30) NO NULL
country varchar(30) NO NULL
address varchar(30) NO NULL
phone varchar(30) NO NULL
email varchar(30) NO NULL

 3.BOOKPACKAGE:

Field Type Null Key Default


username varchar(30) NO MUL NULL
package varchar(30) NO NULL
persons int(10) NO NULL
id varchar(30) NO MUL NULL
id_number varchar(30) NO NULL
phone varchar(30) NO PRI NULL
price varchar(30) NO NULL
 BOOK HOTEL:

Field Type Null Key Default Extra

username varchar(30) NO MUL NULL


hotel varchar(30) NO MUL NULL
persons int(10) NO NULL
days int(10) NO NULL
Ac varchar(30) NO NULL
food varchar(30) NO NULL
Id varchar(30) NO MUL NULL
id_number varchar(30) NO NULL
phone varchar(30) NO MUL NULL
price varchar(30) NO NULL

 5.HOTEL:

Field Type Null Key Default Extra

hotel varchar(30) NO PRI NULL


cost_per_day int(10) NO NULL
food_charges int(10) NO NULL
ac_charges Int(10) NO NULL
 4.Implementation details:

 Software Requirements:

 Operating System – Windows 10.


 Netbeans.
 Programming Languages:
 Java and PostgreSQL.

Hardware Requirements:

 System type :- 64-bit Operating System,x64-based processor.


 RAM:-8.00 GB
 Total size of Hard disk:-1 TB
 Testing

 White box testing:

 It is also called as STRUCTURAL TESTING or GLASS BOX TESTING.


 Testers use the knowledge of internal logic of the system.
 Mostly verification techniques are used.
 It does not ensure that the user requirement had been met.
 The test may not mimic the real world situations.
 Cost is very high since expert testers are required.
 Example: feasibility review, designer review, code inspection and code walk
through.

 Black box testing:

 It is also called as FUNCTIONAL TESTING. These tests are conducted at


interface.
 Testers do not have information about the internal functionality of the
system.
 Mostly validation techniques are used.
 It stimulates the actual system usage.
 They have potential of not detecting the logical errors.
 The possibility that efforts are duplicated is high.
Example: unit testing, integration testing, system testing, and acceptance
 Test Cases Design

 1.Login & Signup Page:

Sr.no Test case name Description Step Execute Test Expected result
data
input
1. User interface Check all the Check page N/A All the textboxes
login buttons,textboxes,pages buttons are at
proper position
2. username Check the textbox Enter the text pass
username
3. password Check the textbox Enter password Text or Paaword is entered
pass in encrypted form
4. login button Click login button Click login N/A Open the loading
button page and open main
frame
5. Sign up Click signup button Enter the info Text,no Create new account
6. Wrong username Click the textbox Enter wrong N/A failed
username
7. Wrong password Click the textbox Enter wrong N/A failed
password
8. Empty textfield Click the empty text No data entered N/a Text should be not
field empty

 PERSONAL DETAILS:

Sr.no Test case name description Step execute Test data Expected result
input
1. User interface Check all textboxes Check page N/A All the buttons
datails button textboxes are at
proper position
2. username Check the textbox Enter text pass
username
3. ID Check the textbox Enter Text/pass Password is entered
password in encrypted form
4. ID number Check the textbox Enter id no. number pass
5. Name Check the textbox Enter name text pass
6. gender Check the readi Ckick on N/A pass
button proper
button
7. country Check the textbox Enter the text pass
country name
8. adddress Check the textbox Enter address text pass
9. phone Check the textbox Enter phone number pass
no.
10. Email Check the textbox Enter e-mail Text/number pass
11. Add button Click add button Clicked add N/A Customers
button information add
12. Back button Click back button Clicked back N/A Back to filled any
button empty data or
correct to data

 UPDATE CUSTOMER DAETAILS:

Sr.no Test case ame description Step execute Test data Expected result
input
1. Update button Click update button Clicked N/A Customers details is
uodate updated
button
2. Back button Click back button Clicked back N/A Back to filled any empty
button data or correct to data

 VIEW CUSTOMER DETAILS:

Sr.no Test case name description Step execute Test data Expected result
input
1. Delete button Click delete button Clicked delete N/A Customers details are
button deleted
2. Back button Click back button Clicked back N/A Back to update frame
button

 BOOK PACKAGE:

SR.NO Test case name Description Step execution Text data Expected result
input
1. User interface login Check all Check pages N/A All
buttons,textboxes textboxes,buttons
are at proper
position
2. username Check the textbox Enter the usename text pass
3. Select package Check the textbox Select the package N/A pass
4. Total persons Check the textbox Enter the number number pass
5. Check price Clicked button Clicked button N/A Display all package
price
6. Book package Clicked book Clicked book N/A Package book
button package button package button successfully
7. Back Clicked back Clicked back button N/A Back to select any
button other package

 BOOK HOTEL:

SR.NO Test case name Description Step Text data Expected result
execution input
1. User interface login Check all Check N/A All textboxes,buttons are at
buttons,textboxes pages proper position
2. Select hotel Select hotel Select N/A pass
hotel
3. Total persons Check the textbox Enter the number Pass
number
4. No.of days check the textbox Enter the number pass
no.of days
5. AC/Non-Ac Select button Clicked N/A pass
button
6. Food included Select the button Clicked N/A pass
button
7. Check price Select button Clicked N/A Display all price package
button
8. book Clicked button Clicked N/A Package booked successfully
button
9. Back button Clicked back Clicked N/A Back for any changes
button back
button

 DELETE ALL THE DEATAILS

SR.NO Test case Description Step Text data Expected result


name execution input
1. User Check all Check N/A All
interface buttons,textboxes pages textboxes,buttons
login are at proper
position
2. DELETE Clicked delet Clicked N/A Delete all details
button delete
button
 Outputs and Report Testing

 LOGIN PAGE:

 SIGNUP PAGE
 LOADING PAGE:

 MAIN FRAME:
 PERSONAL DETAILS:

 UPDATE CUSTOMER PAGE:


 VIEW CUSTOMER PAGE:

 PACKAGE PAGE:
 BOOK PACKAGE:

 VIEW PACKAGE:
 HOTEL PAGE:

 BOOK HOTEL:
 VIEW HOTEL:

 DESTINATION PAGE:
 PAYMENT:

 DELETE ALL:
 Conclusion and Recommendatations Future Scope
Bibliogragphy and References

 Conclusion.

 The main aim of this project is to help the tourists to manage their trip.
 It makes all operation of the tour company easy and accurate.
 The standalone platform makes tourism management easy by handling requests and
providing servers for the customers located at different parts of the various
cities.
 Different modules have been incorporated in this project to handle different parts and
sector of the tour management field.

 REFERENCES

Websites:

• https://www.w3schools.com
• https://www.javatpoint.com
• https://www.codecademy.com
• https://www.stackoverflow.com
 Assignment

Write a program which checks for validation of input any page of your saystem.
If user enter wrong input system should prompt an error.

import javax.swing.*;
import java.awt.*;
import javax.swing.border.*;
import java.awt.event.*;
import java.sql.*;

public class Login extends JFrame implements ActionListener{

JButton login, signup, password;


JTextField tfpassword, tfusername;
Login(){
setSize(900, 400);
setLocation(400, 200);
setLayout(null);

getContentPane().setBackground(Color.WHITE);

JPanel p1=new JPanel();


p1.setBackground(new Color(131,193,233));
p1.setBounds(0, 0, 400, 400);
p1.setLayout(null);
add(p1);

ImageIcon i1 = new ImageIcon(ClassLoader.getSystemResource("login.png"));


Image i2 = i1.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);
ImageIcon i3 = new ImageIcon(i2);
JLabel image = new JLabel(i3);
image.setBounds(100, 120, 200, 200);
p1.add(image);

JPanel p2 = new JPanel();


p2.setLayout(null);
p2.setBounds(400, 30, 450, 300);
add(p2);

JLabel lblusername = new JLabel("Username");


lblusername.setBounds(60, 20, 100, 25);
lblusername.setFont(new Font("SAN SERIF",Font.PLAIN,20));
p2.add(lblusername);

tfusername = new JTextField();


tfusername.setBounds(60, 60, 300, 30);
tfusername.setBorder(BorderFactory.createEmptyBorder());
p2.add(tfusername);

JLabel lblpassword = new JLabel("Password");


lblpassword.setBounds(60, 110, 100, 25);
lblpassword.setFont(new Font("SAN SERIF",Font.PLAIN,20));
p2.add(lblpassword);

tfpassword = new JTextField();


tfpassword.setBounds(60, 150, 300, 30);
tfpassword.setBorder(BorderFactory.createEmptyBorder());
p2.add(tfpassword);

login = new JButton("Login");


login.setBounds(60, 200, 130, 30);
login.setBackground(new Color(133, 193, 233));
login.setForeground(Color.WHITE);
login.setBorder(new LineBorder(new Color(133, 193, 233)));
login.addActionListener(this);
p2.add(login);

signup = new JButton("Signup");


signup.setBounds(230, 200, 130, 30);
signup.setBackground(new Color(133, 193, 233));
signup.setForeground(Color.WHITE);
signup.setBorder(new LineBorder(new Color(133, 193, 233)));
signup.addActionListener(this);
p2.add(signup);

password = new JButton("Forget Password");


password.setBounds(130, 250, 130, 30);
password.setBackground(new Color(133, 193, 233));
password.setForeground(Color.WHITE);
password.setBorder(new LineBorder(new Color(133, 193, 233)));
password.addActionListener(this);
p2.add(password);

JLabel text = new JLabel("Trouble in login...");


text.setBounds(300, 250, 150, 20);
text.setForeground(Color.RED);
p2.add(text);

setVisible(true);
}

public void actionPerformed(ActionEvent ae) {


if (ae.getSource() == login) {
try {
String username = tfusername.getText();
String pass = tfpassword.getText();

String query = "select * from account where username = '"+username+"' AND password =
'"+pass+"'";
Conn c = new Conn();
ResultSet rs = c.s.executeQuery(query);
if(rs.next()) {
setVisible(false);
new Loading(username);

}else {
JOptionPane.showMessageDialog(null, "Incorrect username and password");
}

}catch(Exception e) {
e.printStackTrace();
}
} else if (ae.getSource() == signup) {
setVisible(false);
new Signup();

}else {
setVisible(false);
new ForgetPassword();
}
}

public static void main(String[] args) {


new Login();
}

You might also like