SE
SE
1.1 INTRODUCTION.....................................................................................................................2
1.2 Objectives..............................................................................................................................2
2.1 Methodology..............................................................................................................................3
2.1.1 System Analysis..................................................................................................................3
2.2 Requirement Analysis................................................................................................................4
2.2.1. Functional Requirements...................................................................................................4
2.2.1.1 Use Case Diagram...........................................................................................................5
2.2.2 Non-Functional Requirements............................................................................................6
3.1 Diagrams....................................................................................................................................7
3.1.1 Data Modelling (ER-Diagram)...........................................................................................7
3.1.2 Class Diagram.....................................................................................................................8
3.1.3 Sequence Diagram..............................................................................................................9
3.1.4 Activity Diagram..............................................................................................................10
4.1 Testing.....................................................................................................................................12
4.1.1 Cases for Unit Testing......................................................................................................12
4.1.2. Cases for System Testing................................................................................................18
1.1 INTRODUCTION
The project Online Hotel Reservation System is a web-based application that allows the hotel
administration to handle all hotel reservation activities online. Interactive GUI and the ability to
manage bookings of various rooms make this system very flexible and convenient. It is hard to
sit and manage the entire activities manually on paper or on desktop applications. This
application gives the power and flexibility to manage the entire system from a single online
system. Hotel Reservation project provides room booking, room managing and other necessary
hotel management features. The system allows to add rooms in the system online easily with
proper details of rooms. Customers can view and book room online. Admin has the power of
either approving or disapproving the customer’s booking request. Other hotel services can also
be viewed by the customers and they can send their feedback too. The system is hence useful for
both customers and hotel administration for portable management of the hotel activities.
1.2 Objectives
The main objectives of designing this system are:
Develop a system that will surely satisfy the customers.
Provide people seeking hotel with accurate information about available accommodations.
To provide an automated system in which customers will have lots of advantages, better
management of data and improved security.
Customers can easily register at any point of time sitting at home and login for their
purpose.
Present the hotel as an excellent, or the best choice to its target market
To simplify the work of hotel employees in a simplistic manner without any issue.
Provide fast and accurate services to the customers.
Taking feedback from customer so that the we can improve our system.
2.1 Methodology
2.1.1 System Analysis
Systems analysis is the process of examining a situation for the purpose of developing a system
solution to a problem or troubleshooting when a problem arises. It refers to the analysing of the
various system components to determine whether the final system will provide the expected
result immediately or over the course of time by using specific logic and functions.
This chapter discusses the overall study design and data analysis for the proposed hotel
reservation management System, for development and understanding covering whole activities
of the project. The design and methodology probably needed in any application or system as it
serves as a basis for the development of the project. It also serves as a guide in following the
step-by-step procedure. This could also help the users understand about the proposed system.
There are different model of System Development Life cycle; one of it is incremental model that
helped in step-by-step procedure of this system. I’ve chosen incremental model because we can
develop an initial build with known requirements and can add other modules easily in another
build.
Here are the some common functional requirement of hotel reservation system:
User Registration and Authencation.
User Should be able to create account
User should be to log in securely.
User profile:
Users should be able to update their profile information, including contact details and payment
methods.
Users should be able to view their reservation history.
Room Management:
Hotel staff should be able to add, edit, or delete rooms and room details (e.g., room type, price,
description).
Hotel staff should be able to set and update room availability and pricing.
Reservation Manage:
Hotel staff should be able to view and manage reservations, including checking guests in and out.
The system should send confirmation emails to guests upon booking and provide booking details
to hotel staff.
Security: In terms of security, only basic data security measures are followed, data is bound to
ensure that there is no SQL injection. Only admin has access to backend so it is safe from
unauthorized user access.
Scalability: This is an alpha version of the project; it is tested by developers themselves so there
is potential to make a beta version and make it available to actual user.
Maintenance: The system is not to use as it is developed keeping both technical and
nontechnical users in mind so maintaining the system is not complicated.
3.1 Diagrams
3.1.1 Data Modelling (ER-Diagram)
An Entity-Relationship (ER) diagram is a graphical representation of the data model that defines
the structure and relationships of entities (objects or concepts) within a database. ER diagrams
are commonly used in database design and serve as a visual tool to depict the logical structure of
a database.
Figure 3: ER-Diagram
Test Test case Test steps Test data Expected Result Actual Pass/
case id scenario result Fail
Password:
password
Table 1: Test case for login
Test case Test case Test steps Test data Expected Result Actual result Pass/
id scenario Fail
Test Test case Test steps Test data Expected Result Actual Pass
case id scenario result /Fail
button
Table 9: Test case for delete user
Test Test case Test steps Test data Expected Result Actual Pass/
case id scenario result Fail
button
Table 10: Test case for user feedback
`Test Test case Test steps Test data Expected Result Actual Pass/
case id scenario result Fail
Test Test case Test steps Test data Expected Result Actual Pass/
case id scenario result Fail
T08 Edit room Navigate toRoom type, Room details should As Pass
Test Test case Test steps Test data Expected Result Actual Pass/
case id scenario result Fail