Professional Documents
Culture Documents
CHAPTER-1
INTRODUCTION
1
HOTEL RESERVATION MANAGEMENT
ABSTRACT
Systematic management of records allow organization to know what records they have, and
locate them easily, increase efficiency and effectiveness, make savings in administrations costs
both in staff time and storage, support decision making, be accountable, achieve business
objectives and targets, provide continuity in the event of a disaster, meet legislative and
regulatory requirements, protect the interests of employees and clients.
Records are valuable because of the information they contain and that information is only useable
if it is correctly and legibly recorded in the first place, is then kept up to date, and is easily
accessible when needed.
Records in hotels are not commonly found in archives but when such records survive and find
their way to an archives the information contained in the records are beneficial to a variety of
researchers, including students, genealogists, and academics.
Due to their manual recording system, the hotel is experiencing a little bit of delay in their
transactions, much time also is wasted in preparing forms and retrieving files. Because of these
difficulties mentioned a while ago, the proponent would like to have an Automated Hotel Room
Reservation and Billing System in replacement for the old system its currently employing.
The purpose of this study is to assess the Hotel Pension House Booking System. It seeks the
answers of the following questions:
What are the difficulties encountered by the employees of the said Hotel Pension House in
their present booking system?
What is the performance of the Manual Booking System of Hotel Pension House in terms of:
Security;
Accuracy;
Speed;
Record keeping?
What is the extent of preference of Hotel Pension House to adopt an Automated Booking
Record System?
OBJECTIVES
General Objectives
This study aims to provide the staffs, managers and especially the owner of Hotel an effective,
fast, and convenient way of recording the (Check-in-Check-out) of their customers. This will
lead to the improvement of the current system they are using and for the betterment of the
establishment. It must have a better program for the keeping and retrieving of their records. It
will contribute to the success of the business and to gain the trust of their customer.
2
HOTEL RESERVATION MANAGEMENT
SPECIFIC OBJECTIVES
To enable the staff and employees of the hotel to have a fast processing of their booking
system;
To have a convenient way of entering customers data without any delay;
To save their time and effort in listing manually the needed data;
To retrieve data anytime;
To have a more secure and private records or files;
To have accurate details of data needed.
MODULAR DESCRIPTION
This study is made to give benefits to the owner, manager, staff, researchers, and customers of
Hotel and Pension House in our proposed Hotel Room Reservation and Billing System
Master
This module is designed to add, update and refresh the guest and room data entry and also
view the guest and room rate entry.
Transaction
Report
This module is designed to show the information about the hotel such as Rate card, Guest
information, Room Status and also the Billing report.
Help
This module is designed in order to help the user in all means at anytime if any problem
occurs.
Login
3
HOTEL RESERVATION MANAGEMENT
This study is intended only for the Hotel Room Reservation and Billing System. The proposed
program focuses only to the check-in and check-out process and reservation of the customers.
Room reservations are also included in this study. Activities involved are entry of data, accessing
results and reports, retrieving of data, billing and printing. Persons involved for the
implementation of this study are the manager, staff members and customers
SYSTEM REQUIREMENT
SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENTS
Ram Size 1 GB
4
HOTEL RESERVATION MANAGEMENT
CHAPTER-2
LITERATURE SURVEY
5
HOTEL RESERVATION MANAGEMENT
The application of the Internet in the business world has become a major trend in practice and
generated a hot stream ofresearch in the recent literature. The Internet, as a collection of
interconnected computer networks, provides free exchanging of information. Over 400
millions of computers or more than 400,000 networks worldwide today arecommunicating
with each other (Napier, Judd, Rivers, and Wagner, 2001). As such, the Internet has been
becoming a powerful channel for business marketing and communication (Palmer, 1999), and
for new business opportunities - as it is often called as "e-business" or "e-commerce" today
(Schneider & Perry, 2001). This new e-business or e-commercevirtual marketplace allows
small companies competing with business giants by just having a better web presentation of
their products/services. Under the same wave, online customers can enjoy a wider choice of
products or services, more competitive prices, and being able to buy their favorite
items/services from the sellers located thousands miles away. It provides communication
between consumers and companies and throughelectronic data interchange (EDI), buyers and
sellers can exchange standard business transactions such as invoices or purchase orders with
remarkable ease.
The hotel industry is certainly full aware of this trend and fully willing to contribute its share in
this effort. In fact, the industry has realized that during those early forays into cyberspace, the
industry didnt view e-booking strategically (many hotels simply considered online room
bookings at the time as a way to pick up additional business by selling distressed inventory
through those online travel agencies), and handed over too much control of inventory and
pricing to those third party online travel agencies.Now the industry is in the unenviable
position of trying to take back the reins after early shopping patterns have been established.
While the pressure to sell their inventory rooms online will be continuing, the industry has
developed its new online strategy striving to get a better grip on this emerging marketing
channel.
Online system has evolved to be a cornerstone in support of computer software users of all
kinds. It is an electronicinteractive system that delivers information to users via telephone lines
to personal computers (PCs) or via cables to terminals. Such a service provides information,
usually in text form, about news, education, business, entertainment, shopping, and more.
Some also provide message services and graphic and audio information.
Online hotel reservations are becoming a very popular method for booking hotel rooms.
Travelers can book rooms from home by using online security to protect their privacy and
financial information and by using several online travel agents to compare prices and facilities
at different hotels. People can book directly on an individual hotels website. An increasing
number of hotels are building their own websites to allow them to market their hotels directly
to consumers. Non-franchise chain hotels require a booking engine application to be attached
to their website to permit people to book rooms in real time. One advantage of booking with
6
HOTEL RESERVATION MANAGEMENT
the hotel directly is the use of the hotels full cancellation policy as well as not needing a
deposit in most situations.
Online Hotel Reservation Software (OHRS) is an easy to use arrangement that enables agents
and guests to reserve rooms directly via the internet once they have confirmed availability of
rooms in accordance with the itinerary.
OHRS is an efficient and brilliant software, yet it is easy and uncomplicated to use. OHRS
grants complete authority and power on hotel or motel room booking over the internet. This
entails that one can accumulate all guest payments; enter own room descriptions, facilities,
rates and allocations into the Reservation System. OHRS also allows to confirm
accommodation in real-time at hotels web site and close the sale without more ado.
There are several benefits of OHRS. It makes the reservation process computerized and thus
helps one to undertake a large amount of transactions at a low cost. It lets the hotel in charge of
over margins and pricing strategy. It enables one to check available inventory and complete an
online booking form making the reservation process more efficient and less time consuming.
The clients can settle the room rates and special offers at no extra cost.
OHRS assists hotels guests and agents with different payment options such as credit/debit
cards. The system can track hotels performance on a regular basis as all information
concerning payments is updated online and sent to the reservation manager by means of e-mail
or mobile messages.
Gatesix Hospitality offers online hotel reservation system development services for lodging
industry including Inns, motels and resorts. Gatesix provides its hotel clients with the highest
quality Internet presence as well as a seamless, embedded online reservation engine that allows
for easy navigation for the consumer and greater flexibility for the hotelier. Their online hotel
reservation system, "gRes" was crafted from strategic knowledge of the hotel business and a
passionate commitment to excellence in hospitality services.
BugHotel Reservation System was designed to simplify the task of online booking. It provides
users a unique, intuitive and easy to use interface that improves the way people use the web
today. Through personalization and rich features, BugHotel Reservation System enhances the
entire Web experience. BugHotel Reservation System offers an online web based reservation
system for hotels, properties, motels and b&bs at affordable prices.
Online hotel reservations are also helpful for making last minute travel arrangements. Hotels
may drop the price of a room if some rooms are still available. Large hotel chains typically
have direct connections to the airline national distribution systems. These in turn provide hotel
information directly to the hundreds of thousands of travel agents that align themselves with
one of these systems. Individual hotels and small hotel chains often cannot afford the expense
of these direct connections and turn to other companies to provide the connections.
7
HOTEL RESERVATION MANAGEMENT
Several large online travel sites are, in effect, travel agencies. These sites send the hotels'
information and rates downstream to literally thousands of online travel sites, most of which
act as travel agents. They can then receive commission payments from the hotels for any
business booked on their websites.
Lastly, people can book directly on an individual hotel's website. An increasing number of
hotels are building their own websites to allow them to market their hotels directly to
consumers. Non-franchise chain hotels require a "booking engine" application to be attached to
their website to permit people to book rooms in real time. One advantage of booking with the
hotel directly is the use of the hotel's full cancellation policy as well as not needing a deposit in
most situations.
To improve the likelihood of filling rooms, hotels tend to use several of the above systems. The
content on many hotel reservation systems is becoming increasingly similar as more hotels sign
up to all the sites. Companies thus have to either rely on specially negotiated rates with the
hotels and hotel chains or trust in the influence of search engine rankings to draw in customers.
The ultimate service provided by these companies to the hotels and the online consumer is that
they provide a single database from which all reservation sources draw immediate room
availability and rates. It is very important that hotels integrate with all the supply channels so
that their guests are able to make accurate online bookings.
There are many ways of making the online reservation, most of the online reservation systems
use the centralized system for making the reservation with the hotel directly. The online hotel
reservation through the centralized system is just the tentative reservation, means that a client
do not need to pay at the time of reservation and instead pay at the time of check in or check
out.
Stuart (1995) in a study entitled International Reservations Systems - Their Strategic and
Operational Implications for the UK Hotel Industry, presented details of the method and
results of an investigation of the role and influence of international reservations systems within
the UK hotel industry. The research comprised three questionnaire surveys of the use of
computer reservations systems and distribution services by UK hotels. These were analysed
and produced an indication of general use of systems and the contribution which these
currently make to hotel groups and consortia. The work also included a study of developments
in access methods and changes in buyer behavior as observed by representatives of computer
reservation and distribution system, travel agency, hotel representation and intermediary
companies.
The case study made by Jiaqin Yang, Jan Flynn and Krista Anderson of Georgia College and
State University (2005) aimed to describe some recent development of e-business application
in the hospitality industry ( e.g. travel industry, and recreational entities) and illustrate with two
case studies. One is about a local hotel industrys effort to use the Internet to boost its local
market. Another describes the operations and its competitive strategy of an emerging online
travel agency.
8
HOTEL RESERVATION MANAGEMENT
The research objective is to investigate the trends and level of prevalence of application of the
Internet in the hospitality
industry focusing on some emerging issues and challenges.
Casa Intramuros Reservation System was used by CITHM students as a front desk operation
simulation only. It has 6 modules which consist of reservation, registration, checking
reservation, room orders, billing system, housekeeping, main panel, reports and users module.
The system provided hands-on training for the students to explore and know the step by step
procedure in dealing with hotel reservation system. This system is similar with the system
developed by the authors in a way that it provided a hotel reservation and management system.
OPERA System is the MICROS property management system used in many large hotel chains,
such as Travelodge Hotels UK, Hyatt Hotels and Resorts, Rydges Hotels and Resorts, Marriott
Hotels, Resorts and Suites, Radisson Hotels and Resorts (subsidiary of Carlson Companies),
the InterContinental Hotels Group and the Thistle Hotels.Designed to meet the varied
requirements of any size hotel or hotel chain, OPERA PMS provides all the
tools a hotel staff needs for doing their day-to-day jobs handling reservations, checking
guests in and out, assigning rooms and managing room inventory, accommodating in-house
guest needs, and handling accounting and billing.
Opera can essentially be the only management software a hotel needs, as it can handle
Reservations, Customer Profiles, Housekeeping Management, Maintenance logs, Cashiering,
Accounts Receivable, Agent commissions and third party interfaces such as Minibar systems
or Guest TV. Arrivals and in-house guests are served using the Front Desk features of the
property management software. This module handles individual guests, groups, and walk-ins,
and has features for room blocking, managing guest messages and wakeup calls, and creating
and following up on inter-department memos.
9
HOTEL RESERVATION MANAGEMENT
CHAPTER-3
DESIGN
10
HOTEL RESERVATION MANAGEMENT
The software development life cycle (SDLC) is a conceptual model used in projects.
System is the basic and very critical requirement for the existence of software in any entity. So
if the system is not in place, the system should be engineered and put in place.
In some cases, to extract the maximum output, the system should be re-engineered and spruced
up. Once the ideal system is engineered, the development team studies the software
requirement for the system.
It also includes the personnel assignments, costs, project schedule, target dates, etc. The
requirement gathering process is intensified and focused specially on software. To understand
the nature of the program(s) to be
built, the system engineer or "Analyst" must understand the information domain of the software,
as well as required function, behavior, performance and interfacing. The essential purpose
of this phase is to find the need and to define the problem that needs to be solved.
In this phase, the software development process, the software's overall structure is defined. In
terms of the client/server technology, the number of tiers needed for the package architecture,
the database design, the structure design etc.... are all defined in this phase.
6
5
11
HOTEL RESERVATION MANAGEMENT
4. Code Generation
The design must be translated into a machine-readable form. The code generation step
performs this task. If the design id performed in a detailed manner, code generation can be
accomplished without much compilation. Programming tools like compilers, interpreters,
debuggers etc. are used to generate the code.
Different high level programming languages like C, C++, Pascal and Java are used for
coding. With respect to the type of application, the right programming language is chosen.
5. Testing
Once the code is generated, the software program testing begins. Different testing
methodologies are available to unravel the bugs that were committed during the previous
phases. Different testing tools and methodologies are already available. Some companies build
their own testing tools that are made for their own development operations.
6. Maintenance
The software will definitely undergo change once it is delivered to the customer. There can be
many reasons for this change to occur. Change could happen because of some unexpected
input values into the system. In addition, the changes in the system could directly affect the
software operations the software should be developed to accommodate changes that could
happen during the post implementation period.
Waterfall Model
The Waterfall Model was first Process Model to be introduced. It is also referred to as a linear-
sequential life cycle model. It is very simple to understand and use.
In a waterfall model, each phase must be completed fully before the next phase can begin.
This type of software development is basically used for the for the project which is small and
there are no uncertain requirements. At the end of each phase, a review takes place to
determine if the project is on the right path and whether or not to continue or discard the
project.
In this model software testing starts only after the development is complete. In waterfall
model phases do not overlap.
12
HOTEL RESERVATION MANAGEMENT
System requirements: The first phase deals with requirements that are not related to the
digital product itself but rather with business-relevant aspects such as price and availability.
Documentation and safety aspects are also specified here. In general, non-functional
requirements are mentioned here.
Software requirements: The functional requirements for the software are defined in the
second phase. The question of what the software must be able to do is answered here and
clarified in specifications, which also includes the results of the first phase.
Requirements analysis: In the requirements analysis phase, the functions of the software are
dissected and structured so that individual functional elements and functional units can be
separated from each other. The requirements analysis is intended to examine the functions for
their feasibility and importance. The results of this phase are the specifications containing the
requirements that need to be developed.
Program design: The technical design is now implemented with the help of these requirement
specifications. Components of this phase also include decisions about information
architecture and applied technologies such as programming languages, class libraries, and
program sequences. The result of the program design is usually recorded in diagrams
describing the theoretical behavior of the software.
13
HOTEL RESERVATION MANAGEMENT
Testing: The implementation phase is followed by the testing of all software components,
modules, and the entire system. Integration into specific operating systems is also checked. If
errors and conflicts occur, they must be repaired immediately. Such could lead to an increase in
overall costs since possible errors can be attributed to different phases and are not always
caused in the previous phase.
Launch: The software is implemented after acceptance by the client. Updates and maintenance
may be necessary before the product enters a store or is delivered to the customer.
Various teams and experts work at these stages. Contractors, project management, and senior
developers are usually involved up to the implementation phase. After implementation,
developers do the work, whereby testing of the software is frequently handled separately, for
example by independent test labs. Marketing and service experts are partly involved with its
launch. In large companies and corporations, the modified, more precisely structured SDLC
method (system development lifecycle) is used, which is based on the waterfall
model.[3] There are also other versions of this model which, for example, introduce iterative
elements in the form of loops in order to detect and correct errors and bugs in preceding
phases.
Once an application is in the testing stage, it is very difficult to go back and change
something that was not well-thought out in the concept stage.
No working software is produced until late during the life cycle.
High amounts of risk and uncertainty.
Not a good model for complex and object-oriented projects.
Poor model for long and ongoing projects.
Not suitable for the projects where requirements are at a moderate to high risk of
changing.
This model is used only when the requirements are very well known, clear and fixed.
14
HOTEL RESERVATION MANAGEMENT
Very less customer interaction is involved during the development of the product. Once the
product is ready then only it can be demoed to the end users. Once the product is developed
and if any failure occurs then the cost of fixing such issues are very high, because we need to
update everywhere from document till the logic.
A DFD shows what kind of information will be input to and output from the system, how the
data will advance through the system, and where the data will be stored. It does not show
information about process timing or whether processes will operate in sequence or in parallel,
unlike a traditional structured flowchart which focuses on control flow, or a UML activity
workflow diagram, which presents both control and data flows as a unified model.
15
HOTEL RESERVATION MANAGEMENT
Yourdon and Coad type data flow diagrams are usually used for system analysis and design,
while Gane and Sarson type DFDs are more common for visualizing information systems.
Visually, the biggest difference between the two ways of drawing data flow diagrams is how
processes look. In the Yourdon and Coad way, processes are depicted as circles, while in the
Gane and Sarson diagram the processes are squares with rounded corners.
Process Notations. A process transforms incoming data flow into outgoing data flow.
Datastore Notations. Datastores are repositories of data in the system. They are sometimes
also referred to as files.
Dataflow Notations. Dataflows are pipelines through which packets of information flow.
Label the arrows with the name of the data that moves through it.
External Entity Notations. External entities are objects outside the system, with which the
system communicates. External entities are sources and destinations of the system's inputs and
outputs.
16
HOTEL RESERVATION MANAGEMENT
Context Diagram. A context diagram is a top level (also known as "Level 0") data flow
diagram. It only contains one process node ("Process 0") that generalizes the function of the
entire system in relationship to external entities.
DFD Layers. Draw data flow diagrams can be made in several nested layers. A single process
node on a high level diagram can be expanded to show a more detailed data flow diagram.
Draw the context diagram first, followed by various layers of data flow diagrams.
DFD Levels. The first level DFD shows the main processes within the system. Each of these
processes can be broken into further processes until you reach pseudo code.
17
HOTEL RESERVATION MANAGEMENT
LEVEL 1 DSD
18
HOTEL RESERVATION MANAGEMENT
LEVEL-2 DSD
19
HOTEL RESERVATION MANAGEMENT
ENTITY-RELATIONSHIP DIAGRAM
LOGIN Password
20
HOTEL RESERVATION MANAGEMENT
SYSTEM TESTING
Testing is vital to the success of the System. Testing makes a logical assumption that if all the
parts of the system are correct, the goal will be successfully achieved. Inadequate testing or non-
testing leads to errors that may not appear until months later. This creates two problems:
1. The time lag between the cause and the appearance of the problem.
2. The effect of the system errors on the files and records within the system.
Unit Testing
Unit testing is a software design and development method where the programmer gains
confidence that individual units of source code are fit for use. A unit is the smallest testable part
of an application.
The primary goal of unit testing is to take the smallest piece of testable software in the application,
isolate it from the remainder of the code and determine whether it behaves exactly as you expect.
If user tries to register with an already existing user details an error message already exists,
please register with a different usemame will pop up.
If user tries to enter characters in the Phone number field an error message Enter only
numbers will pop up.
If the user enters a mobile number of more than 10 digits an error message Mobile number
should have only 10 digits will pop up.
21
HOTEL RESERVATION MANAGEMENT
TYPES OF REQUIREMENTS
Requirements are categorized in several ways. The following are common categories of
requirements that relate to technical management.
Functional Requirements:
Functional requirements explain what has to be done by identifying the necessary task; action or
activity will be used as the top level functions for functional analysis.
Non-functional Requirements:
Non-functional requirements are requirements that specify criteria that can be used to judge
the operation of a system, rather than specific behaviors.
22
HOTEL RESERVATION MANAGEMENT
DATABASE DESIGN
TABLE 1
NAME: LOGIN1
USERNAME VARCHAR
PASSWORD VARCHAR
23
HOTEL RESERVATION MANAGEMENT
TABLE 2 _-,
GUEST ID NUMBER
NAME VARCHAR
GENDER VARCHAR
ADDRESS VARCHAR
CITY VARCHAR
COUNTRY VARCHAR
CNT_NO VARCHAR
EMAIL VARCHAR
I TYPE VARCHAR
I NUMBER VARCHAR
CH_DATE DATE
CH_BY VARCHAR
TABLE 3
NAME: MRRATE
COLUMN NAME DATA TYPE
R_TYPE VARCHAR
R ID VARCHAR
RATE NUMBER
CH_DATE DATE
CH_BY VARCHAR
24
HOTEL RESERVATION MANAGEMENT
TABLE 4
NAME: TRBOOK ING
COLUMN NAME DATA TYPE
BK NO NUMBER
GUEST_ID NUMBER
R TYPE VARCHAR
R ID VARCHAR
RATE NUMBER
DISC_AMT NUMBER
TAX_AMT NUMBER
TOT AMT NUMBER
TOT_DAYS NUMBER
CHK_IN_DT DATE
CHK_OUT_DT DATE
BK DT DATE
CH IN VARCHAR
REMARK VARCHAR
25
HOTEL RESERVATION MANAGEMENT
CHAPTER-4
CODING
26
HOTEL RESERVATION MANAGEMENT
Login!:
Exit Do
Else
rs.MoveNext
End If
Loop
If flag Then
MsgBox ("invalid login!")
Else
End If
End Sub
27
HOTEL RESERVATION MANAGEMENT
Dim i As Integer
End Sub
i = probar.Value
probar.Value = i + 1
lblCompanyProduct.Caption = i
Unload Me
login.Show
End If
End Sub
28
HOTEL RESERVATION MANAGEMENT
MDIForml:
End Sub
End Sub
End Sub
End Sub
29
HOTEL RESERVATION MANAGEMENT
End Sub
DataReport_Room_Availability.Show
End Sub
30
HOTEL RESERVATION MANAGEMENT
frmM GUEST:
End Sub
End Sub
'This will display the current record position for this recordset
31
HOTEL RESERVATION MANAGEMENT
Case adRsnDelete
adRsnUndoDelete Case
adRsnUndoUpdate Case
adRsnUpdate
End Select
datPrimaryRS.Recordset.AddNew
Exit Sub
AddErr:
32
HOTEL RESERVATION MANAGEMENT
datPrimaryRS.Refresh
Exit Sub
RefreshErr:
MsgBox Err.Description
End Sub
UpdateErr:
MsgBox Err.Description
End Sub
End Sub
33
HOTEL RESERVATION MANAGEMENT
frmM GUEST!:
datPrimaryRS.Visible = False
With MSHFIexGridl
.Redraw = False
.ColWidth(0) = -1
.ColWidth(1)= -1
.ColWidth(2) = -1
34
HOTEL RESERVATION MANAGEMENT
.ColWidth(3) = -1
.ColWidth(4) = -1
.ColWidth(5) = -1
.ColWidth(6) = -1
.ColWidth(7) = -1
.ColWidth(8) = -1
.ColWidth(9) = -1
.ColWidth(1 0) = -1
.ColWidth(1 1) = -1
.Row = 0
.Col = 0
.CellFontBold = True
.Col = .FixedCols
.ColSel = .Cols() - .FixedCols - 1
.CellBackColor = &HCOCOCO ' light grey Next i
35
HOTEL RESERVATION MANAGEMENT
End With
End Sub
' code in grid's DragDrop, MouseDown, MouseMove, and MouseUp events enables column
dragging
With MSHFlexGrid I
.Redraw = False
End With
End Sub
Private Sub MSHFlexGridl MouseDown(Button As Integer, shift As Integer, X As Single, Y
As Single)
36
HOTEL RESERVATION MANAGEMENT
' code in grid's DragDrop, MouseDown, MouseMove, and MouseUp events enables column
dragging
m_bDragOK = True
End Sub
' code in grid's DragDrop, MouseDown, MouseMove, and MouseUp events enables column
dragging
37
HOTEL RESERVATION MANAGEMENT
End Sub
' code in grid's DragDrop, MouseDown, MouseMove, and MouseUp events enables column
dragging
m_bDragOK = False
End Sub
Dim i As Integer
38
HOTEL RESERVATION MANAGEMENT
m_iSortType = m_iSortType + 1
If m_iSortType = 3 Then m_iSortType = 1 End If
DoColumnSort
End Sub
Sub DoColumnSort()
With MSHFlexGridl
.Redraw = False
.Row = 1
.RowSel = .Rows - 1 .Col = m
iSortCol .Sort = m_iSortType
FillStyle = flexFillRepeat
.Col = 0
.Row = .FixedRows
.RowSel = .Rows - 1 .ColSel
= .Cols - 1
.CellBackColor = &HFFFFFF
39
HOTEL RESERVATION MANAGEMENT
' grey every other row Dim iLoop As Integer For iLoop =
.FixedRows + 1 To .Rows - 1 Step 2
.Row = iLoop
.Col = .FixedCols
sngScaleWidth = .ScaleWidth
sngScaleHeight = .ScaleHeight
.cmdClose
40
HOTEL RESERVATION MANAGEMENT
With
End With
Exit Sub
Resume Next
End Sub
Private Sub cmdClose Click()
Unload ME
End Sub
41
HOTEL RESERVATION MANAGEMENT
frmM R RATE:
Screen.MousePointer = vbDefault
End Sub
End Sub
42
HOTEL RESERVATION MANAGEMENT
'This will display the current record position for this recordset
datPrimaryRS.Caption = "Record: " &
CStr(datPrimaryRS.Recordset.AbsolutePosition)
End Sub
Case adRsnAddNew
Case adRsnClose
Case adRsnDelete
Case adRsnUndoAddNew
Case adRsnUndoDelete Case
adRsnUndoUpdate Case
adRsnUpdate
End Select
43
HOTEL RESERVATION MANAGEMENT
datPrimaryRS.Recordset.AddNew
Exit Sub
AddErr:
datPrimaryRS. Refresh
Exit Sub
RefreshErr:
MsgBox Err.Description
End Sub
UpdateErr:
MsgBox Err.Description
End Sub
44
HOTEL RESERVATION MANAGEMENT
End Sub
45
HOTEL RESERVATION MANAGEMENT
frm M R RATE!:
End Sub
End Sub
'If you want to ignore errors, comment out the next line 'If you want to
trap them, add code here to handle them MsgBox "Data error event hit
err:" & Description
End Sub
46
HOTEL RESERVATION MANAGEMENT
'This will display the current record position for this recordset
'This event gets called when the following actions occur Dim bCancel As
Boolean
Case adRsnAddNew
Case adRsnClose
Case adRsnDelete
End Select
47
HOTEL RESERVATION MANAGEMENT
datPrimaryRS. Refresh
Set grdDataGrid.DataSource =
datPrimaryRS.Recordset("ChildCMD").UnderlyingValue Exit Sub
RefreshErr:
MsgBox Err.Description
End Sub
End Sub
48
HOTEL RESERVATION MANAGEMENT
tr booking:
Screen.MousePointer = vbDefault
End Sub
End Sub
'This will display the current record position for this recordset
49
HOTEL RESERVATION MANAGEMENT
Case adRsnDelete
adRsnUndoDelete Case
adRsnUndoUpdate Case
adRsnUpdate
50
HOTEL RESERVATION MANAGEMENT
End Select
datPrimaryRS.Recordset.AddNew
Exit Sub
AddErr:
datPrimaryRS.Refresh
Exit Sub
RefreshErr:
MsgBox Err.Description
End Sub
datPrimaryRS.Recordset.UpdateBatch adAffectAll
51
HOTEL RESERVATION MANAGEMENT
Exit Sub
UpdateErr:
MsgBox Err.Description
End Sub
Unload Me
End Sub
End Sub
52
HOTEL RESERVATION MANAGEMENT
CHAPTER-5
TESTING
53
HOTEL RESERVATION MANAGEMENT
When you work in software testing company, learning comes naturally as you come across so
many different kinds of projects and assignments. From health to travel, testing department
has to deal with hundreds of different categories of applications. Their core job responsibility
is to ensure that the app must be according to the technical as well as the user requirement.
Once upon a time, my team was working on testing the hotel management software, which
facilitates the hotel management in the room booking and reservation process. The hotel
management software revolves around the owner and the agent and gives them the ease to
view the activities scheduled on a particular day, number of rooms available in a specific
category and last but not least helps in the billing calculation of the customer. The software
also offers a calendar view that colors the booked rooms with green, reserved with yellow
and blocked with red to aware the management about the current statuses and the number of
rooms available at a particular time period.
I think thats enough with the software overview. Lets move to the testing scope now. Black
box testing is conducted by creating the necessary test scenarios and cases. After the
execution, we identified a list of issues, which are as follows
From functional to usability flaws, software contains major issues related to design, function
and accessibility. Some of the design issues include splitting the large name into two parts,
cosmetic and table alignment issues. Consequently, the software also contains major usability
issues. It doesnt display any message after changing the password or no window is popped
up when user enters an invalid user name or password. So, it has real problems with the
password verification and change password test cases.
Functional issues include errors in the booking, billing and room category issues. Agent
permission and user restriction parameters are not defined clearly and there exist some
critical errors. Agent can amend and calculate the price according to their own will and there
is no check installed to bar agents from doing it. Similarly, the user can also book the blocked
and the reserved rooms. Such kinds of issues are also present in the room categories, not
updating the management about the actual status of the rooms. Furthermore, overbooking was
another major hitch. For example, if 10 rooms are available in a VIP room category, user can
book more than 10 rooms, which are not available in a particular category. So, most of the
test cases and scenarios are negative and my team was startled by such kind of apathy from
the side of developers.
The software was tested on the windows 7 platform using the latest versions of Firefox and
Google chrome. Everything went well as we performed cross platform testing and the
response was stable on both browsers.
Although, the project had the lot of bugs, which motivates the tester on one hand, on the other
hand, it certainly means more time and work for developers to fix it, the project offered us an
enriching learning experience. Let us take a glance at what we learnt from the project.
54
HOTEL RESERVATION MANAGEMENT
Integration Testing:
Integration testing is one of the new aspect of testing for us. It includes different modules of
software, tested together by combining them in a group.
Negative Testing:
It involves the testing the software to determine its behavior by entering unexpected values.
It is also known as against the rule testing
Billing Models:
We also came across different types of hotel management billing models. These include
different methods of calculation of taxes, category wise billing and addition of other services.
55