Software Engg Manual
Software Engg Manual
Lab Manual
Prepared By
Dr.P.DHAVAKUMAR
LIST OF EXPERIMENTS
10. Generate and Implementation of skeleton code for the above application
FEASIBILITY STUDY
Feasibility study is to check the viability of the project under consideration. Theoretically
various types of feasibilities are conducted, but we have conducted three type of feasibilities
explained as under.
ECONOMIC FEASIBILITY
With the manual system the operating cost of the system is about 60 Lacks P.A... This cost
comprises salary of 25 people, stationary, building rent, electricity, water, telephone etc. But with the
new system this reoccurring cost comes out to be about 20 lacks P.A. Hence the new system is
economically feasible.
TECHNICAL FEASIBILITY
The new application requires only 6 trained people to work with the system and in
overall 10 people per office is sufficient. So we will identify 6 best people from existing system and
train them. As our existing system is purely manual, so we need a onetime investment of Rs 4 Lacks
for the purchase of 7 computers, 5 Ticket printers, a laser printer, AC and networking etc. It requires
20 Lacks PA as a operating cost. With the above details our system is technically feasible as after
investing 24 lacks in a year, the company is still saving Rs 25 Lacks PA.
OPERATIONAL FEASIBILITY
The new solution is feasible in all sence but operationally it is not. The new system
demands the expulsion of at least 15 people from the company. It creates an environment of
joblessness and fear among the employees. It can lead to an indefinite strike in the company also. So
the management must take corrective actions prior in advance in order to start the further
proceedings.
Result : Thus the feasibility study report prepared.
Project Planning
Ex.No. 2
Date :
Aim : To prepare Gantt chart (project planning) for Airline reservation systems.
Project Planning:
Computer hardware and software project planning within an enterprise is often done using a
project planning guide that describes the process that the enterprise feels has been successful in the
past.
Procedure :
Result :
Thus we developed project plan successfully.
Requirement Analysis
Ex.No. 3
Date :
Aim : To analyze software and hardware analysis in the airline reservation systems.
Hardware requirement :
1. Windows.
2. A browser which supports CGI, HTML & Javascript.
Software requirement :
Software Interfaces :
Following are the software used for the flight management online application. <<Include the
software details as per the project >>
Software used Description
Result :
Thus, the software and hardware requirements are analyzed.
Date :
Aim : To design the software requirement specification for Airline Reservation System.
1. INTRODUCTION
1.1. PURPOSE
The main purpose of this software is to reduce the manual errors involved in the airline
reservation process and make it convenient for the customers to book the flights as when they
require such that they can utilize this software to make reservations, modify reservations or cancel a
particular reservation.
1.2 SCOPE
The name of the software is “AIRLINE RESERVATION SYSTEM”. This software provides
options for viewing different flights available with different timings for a particular date and
provides customers with the facility to book a ticket, modify or cancel a particular reservation but it
does not provide the customers with details of cost of the ticket and it does not allow the customer to
modify a particular part of his reservation and he/she can modify all his details.
1.4 REFERENCES
The books and materials referred during the pre-development stages of the project include
1. Software Engineering-A Practitioner’s Approach by Roger S. Pressman
2. Software Engineering-By James Peters
1.5 OVERVIEW
The rest of the document deals about all the main features of this software each will its
purpose and its main functions. It also gives details about the interface with other products and
related functionality of each product.
2. OVERALL DESCRIPTION
2.1.7 Operation
The users can first make a reservation in a particular flight for a particular date and
time. The system provides the customer with a pin code which gives him access to either make any
changes in his reservation or cancel a reservation. These must also be back up of data to enable any
easy recovery from any features.
2.1.8 Site Adaptive Requirements
The “ARS” software is an independent and self-contained product and no modification
are required to adapt to a particular installation.
2.4 CONSTRAINTS
Regulatory policies: It is a mandatory that no text book must be left empty or contains
insufficient data.
Hardware limitations: There must be a 64 MB on board memory
Control functions: The software must be very user-friendly and display appropriate error
messages.
Interfaces to other applications: Not applicable.
Parallel operations: It must support many users simultaneously.
Reliability requirements: Data redundancy and use of special/blank characters must be
avoided.
Safety/security considerations: The application must be exited always normally.
Higher order language requirements: VB
3. SPECIFIC REQUIREMENTS
3.1 EXTERNAL INTERFACE REQUIREMENTS
3.1.1 User Interfaces
The interface must be easy to understand. The user interface includes
SCREEN FORMATS/ORGANIZATION: The introductory screen will be the first to be
displayed which will allow the users to choose either of the two options, viewing flight detail
or booking a ticket.
WINDOW FORMAT/ORGANIZATION: When the user chooses some other option, then
the information pertaining to that choice will be displayed in a new window which ensures
multiple windows to be visible on the screen and the users can switch between them.
DATA FORMAT: The data entered by the users will be alpha numeric.
END MESSAGES: When there are some exceptions raising error like entering invalid
details, then error messages will be displayed prompting the users to re-enter the details.
3.2.1.1 Purpose
The purpose of this is to enable the users to view the different flights available so as to
make it convenient for him to make a reservation.
3.2.1.2 Stimulus/Response
Once the user chooses the particular option, the web pages corresponding to that
are to be displayed on the screen i.e., it will display the different flights available to their respective
destinations and allow the customer to book a ticket.
3.2.1.3.1.1 Introduction
The user must be provided with the required information within 10 seconds.
3.2.1.3.1.2 Inputs
The user must enter the destination with date and timings and must make reservation by
giving his personal details like name, address, age, gender, nationality.
3.2.1.3.1.3 Processing
Recognizing the correct details are entered that a message is displayed confirming his
reservation and displays the pin code.
3.2.2 FEATURE 2
The software allows the user to modify an already existing reservation made by the
customer if in case there are any changes that are to be modified in the reservations of the ticket.
3.2.2.1 Purpose
The purpose is to allow the customer to make any changes in his personal details or flight
booking details.
3.2.2.2 Stimulus/Response
Once the user requests for changing his reservation, it must be displayed on the screen
prompting the customer to enter his pin code.
3.2.2.3 Associated Functionality Requirements
3.2.2.3.1.1 Introduction
The system will allow the customer to modify his reservation provided correct pin code has
been entered by him.
3.2.2.3.1.2 Input
The user should enter his pin code which gives him access to modify his reservation.
3.2.2.3.1.3 Processing
The pin code is processed and checked for his validity. If it is correct then the user can
modify his reservation else an error message will be displayed asking the user to enter the correct pin
code number.
3.2.2.3.1.4 Output
Given the correct pin code, the user can now modify his reservation. A new pin code will be
generated for the customers.
3.2.3 FEATURE 3
The software allows the user to cancel an already existing reservation made by the
customer who has booked the ticket.
3.2.3.1 Purpose
The purpose is to allow the customer to cancel his reservation if not required.
3.2.3.1 Stimulus/Response
Once the user requests for canceling his reservation, it must be displayed on the screen
prompting the customer to enter his pin code.
3.2.3.3.1.1 Introduction
The system will allow the customer to cancel his reservation provided correct pin code has
been entered by the customer.
3.2.3.3.1.2 Input
The user should enter his pin code which gives him access to cancel his reservation.
3.2.3.3.1.3 Processing
The pin code is processed and checked for its validity. If it is correct, then the user can
cancel his reservation else an error message will be displayed asking the user to enter the correct pin
code number.
3.2.3.3.1.4 Output
Given the correct pin code, the user can now cancel his reservation.
3.2.4 FEATURE 4
The software must also give a report on the number of reservations made for a particular flight.
3.2.4.1 Purpose
The purpose is to enable the administrator to view the number of people in a particular flight.
3.2.4.2 Stimulus/Response
Once the user requests for this option, all the details of the customers who have made
reservation will be displayed.
3.2.4.3.1.1 Introduction
The system will allow the administrator to view all the details of the customer who have
made reservations.
3.2.4.3.1.2 Input
The administrator must enter the password so that access is given only to him to view the
details of all the customers.
3.2.4.3.1.3 Processing
The password is processed and checked for its validity. If it is not correct, then the
administrator is asked to enter the correct password.
3.2.4.3.1.4 Output
Given the correct password, the administrator can view all the details of customers with
date and time of their bookings made.
3.3.4 Reliability
The factors needed to establish the software expected reliability are
The user inputs should be valid and within the given range.
Normal termination of the program.
3.3.5 Availability
The factors guarantee the software’s availability includes proper termination and correct
input details. Also the resources used for the project development are Microsoft Certified which
speaks of its high quality standards.
3.3.5 Security
It must be ensured that access will be provided to the authorized persons through user ID and
password.
Network security will be provided by the use of firewalls.
Checks can be performed at regular intervals to ensure data integrity.
3.5.4 Maintainability
The software will be developed by implementing the concept of modularity which in
turn reduces the complexity involved in maintaining it. The administrator should have a sound
technical knowledge about maintaining the software and further enhancements will be undertaken by
the developer.
3.5.5 Portability
The application is portable which ensures its adaptability for use on different computer
terminals with different operating systems and standards.
4. FUTURE REQUIREMENTS
Support for waiting list functionality and ARS shall be made more flexible in ticket
reservation handling, and shall accept waiting list for reservation. The waiting list handling
capability of ARS shall be made more advanced, by enabling it to send requests to the Flight
Scheduler to schedule extra flights, depending on the demand in a particular corridor, and providing
the wait listed passengers with a new flight. The telephonic interface of the ARS shall be improved
to support more functionality like allowing the customers to cancel a ticket etc., by incorporating
security measures.
ARS shall be made more dynamic and helpful to the users by enabling it to send instant
messages to the passengers, of a cancelled or rescheduled flight, through email, phone, fax etc.,
informing them about the change, and providing them with other feasible alternatives. Information
about the kind of meals served in a flight and the type of detrainment offered on a flight should be
incorporated into the system.
Interface for the travel agents shall be provided in the future versions with additional features
like informing them of any availability of seats on a flight which was earlier booked to capacity.
Choices like aisle or window seats shall be provided to the users. The ARS shall be able to handle
the situation where flight services are available to multiple airports in a single city.
Ex.No. 5
Date :
Aim: To create and clear traceability relationship from a matrix view.
Steps:
Step 4: In third sheet fill needed requirements with a parent node and is respective child.
Date :
Aim : To identify the use-case and actor and to draw class diagram for Airline Reservation System.
Date
Enquiry
Print Ticket
Data Base
Logout
CLASS DIAGRAM:
The class diagram is a graphical representation of all the classes used in the system and their
operations, attributes and relationships.
Flight no
Flight Status
flight name : string
Flight capacity : integer
Flight company : string
available seats : integer
add()
view()
delete()
Availability
Flight Details flight name : string
Ticket System flight name : string flight no : integer
flight company : string available seats : integer
user name : string
Flight cost : integer class : string
Password : string
flight Capacity : integer cost : integer
login() date : date
add()
logout()
view() add()
delete() view()
Ticket
ticket no : integer
passenger name : string reservation cancellation
flight no : integer Passenger Details
from : string name : string Flight no : integer flight no : integer
to : string gender : string date : date date : date
date : date address : string from : string from : string
departure time : integer contact no : integer to : string to : string
arrival time : integer email id : string
cost : integer view() view()
get data() book ticket() cancel ticket()
add() view()
view()
delete()
print()
Result :
Thus the use-cases are identified and class diagram generated successfully.
SEQUENCE & COLLABORATION DIAGRAM:
Ex.No. 7
Date :
Login(Enter ID or pwd)
check availability
view flight details
acknowledgement report
Ticket
3: Login success or error System
6: view flightdetails acknowledgement
4: check availability
Result :
Thus the class diagram designed and collaboration diagram generated.
ACTIVITY & STATE CHART DIAGRAM:
Ex.No. 8
Date :
Activity Diagram :
ACTIVITY DIAGRAM:
Login
NO check
yes valid user
Enquiry about
Login Flight Details
Failure
State diagram is an illustration of the states an object can attain as well as the transitions
between those states in the Unified Modeling Language (UML)
Login
Enquiry
Request
Ticket
Enter Passenger
Details
Ticket
issuse
Logout
Result :
Aim : To draw Component, package and deployment diagram for Airline Reservation System.
Component Diagram :
COMPONENT DIAGRAM:
Passenger
Data Access Enquiry Access ctrl Security
Enquiry Encryption
Data Access
Resevation and
Cancellation
Package Diagram :
Package diagrams are used to reflect the organization of packages and their elements. When
used to represent class elements, package diagrams provide a visualization of the namespaces.
PACKAGE DIAGRAM:
AIR LINE
RESERVATION
SYSTEM
Plane Depends on Air Craft
Depends on TrackingSystem Maintenance
Accounting Personel
Depends on system
Deployment Diagram
Deployment diagrams are a kind of structure diagram used in modeling the physical aspects
of an object-oriented system. They are often be used to model the static deployment view of a
system.
DEPLOYMENT DIAGRAM:
Data
BaseServer
Administrator
Result :
Thus the component, package and deployment diagram are drawn successfully.
IMPLEMENTATION
Ex.No. 10
Date :
Aim :
To Implement the Airline Reservation System using any specified language.
Result :
Thus the online Airline Reservations System was implemented using the specified front end and
back end using visual basic.
Testing
Ex.No. 11
Date :
Test cases : A Test Case is a set of actions executed to verify a particular feature or functionality of
Airline Reservation software
4. Click Submit
4.Click Submit
Result :
Thus, the Airline Reservation System, test cases written sucessfully.
Testing Process
Ex. No. 12
Date :
Aim : To learn the testing process of winrunner and also learn how to use winrunner.
Procedure:
6. Report Defects: If a particular test run fails due to the defect in the application being
tested, defects can be directly reported through the test results window.
Two types of recording modes :
Context Sensitive Mode
Analog Recording Mode
Context Sensitive Mode: Win runner captures and records the GUI objects, windows, keyboards
inputs and mouse click activities through context sensitive recording.
Analog Recording Mode: It captures and records the keywords inputs, mouse movement. It does
not capture the GUI object and windows. GUI map files the stored information, it learns about the
GUI objects and windows. A checkpoint enables you to check your application by comparing its
expected results of application to actual results.
By default Win Runner starts recording in context sensitive mode. If we want to change
it into analog mode we can follow below navigations.
Click Start recording
twice or Create
Menu->record-
analog or
F2 is the short key to change from one mode to another mode.
To start WinRunner:
Choose Programs > WinRunner > WinRunner on the Start menu.
The first time you start WinRunner, the Welcome to WinRunner window opens. From the welcome
window you can create a new test, open an existing test, or View an overview of WinRunner in your
default browser.
The first time you select one of these options, the WinRunner main screen opens with the
“What’s New in WinRunner” section of the help file on top. If you do not want the welcome
window to appear the next time you start WinRunner, clear the show on start-up check box.
Each test you create or run is displayed by WinRunner in a test window. You can open many
tests at one time.
1. The Win Runner window displays all open tests.
2. Each test appears in its own test window. You use this window to record, program,
and edit test scripts.
3. Buttons on the Standard toolbar help you quickly open, run, and save tests.
4. The User toolbar (right side) provides easy access to test creation tools.
5. The status bar (Run Name) displays information about selected commands and
the current.
The Standard toolbar provides easy access to frequently performed tasks, such as opening,
executing, and saving tests, and viewing test results.
1. New Test
2. Open
3. Save
4. Run mode
5. Context sensitive mode
6. Run from top
7. Stop
8. Pause
9. Step
10. Step into
11. Toggle breakpoint
12. Break in function
13. Add watch
14. Test results
15. Help
The User toolbar displays the tools you frequently use to create test scripts. By default, the
User toolbar is hidden.
To display the User toolbar choose Window > User Toolbar. When you create Tests, you can
minimize the WinRunner window and work exclusively from the Toolbar.
1. Record - Context Sensitive
2. Stop
3. GUI Checkpoint for Single Property
4. GUI Checkpoint for Object/Window
5. GUI Checkpoint for Multiple Objects
6. Bitmap Checkpoint for Object/Window
7. Bitmap Checkpoint for Screen Area
8. Default Database Checkpoint
9. Custom Database Checkpoint
10. Synchronization Point for Object/Window Property
11. Synchronization Point for Object/Window Bitmap
12. Synchronization Point for Screen Area Bitmap
13. Edit GUI Checklist
14. Edit Database Checklist
15. Get Text from Object/Window
16. Get Text from Screen Area
17. Insert Function from object window
18. Insert Function from Function generator
The User toolbar is customizable. You choose to add or remove buttons using the Settings
> Customize User Toolbar menu option. When you re-open Win Runner, the User toolbar appears
as it was when you last closed it.
Note that you can also execute many commands using soft keys. Soft keys are Key board
shortcuts for carrying out menu commands. You can configure the Soft key combinations for your
keyboard using the Soft key Configuration utility in Your WinRunner program group. For more
information, see the “WinRunner at a Glance” chapter in your WinRunner User’s Guide.
How Does Win Runner Identify GUI Objects?
GUI applications are made up of GUI objects such as windows, buttons, lists, and Menus.
When Win Runner learns the description of a GUI object, it looks at the object’s Physical properties.
Each GUI object has many physical properties such as “Class,” “label,” “width,” “height”,
“handle,” and “enabled” to name a few. Win Runner, however, only learns the properties that
uniquely distinguish an Object from all other objects in the application. For more information
regarding Properties, refer to the “Configuring the GUI Map” chapter in the WinRunner User’s
Guide.
Before you start teaching Win Runner the GUI of an application, you should consider
whether you want to organize your GUI map files in the GUI Map File per Test mode or the
Global GUI Map File mode
2)If you choose to work in the Global GUI Map File mode, proceed to the section below on
Using the Rapid Test Script Wizard.
Note: The Rapid Test Script Wizard is not available when you work in
GUI Map File per Test mode.
The Rapid Test Script Wizard systematically opens the windows in your application and learns
the description of every GUI object. The wizard stores this information in a GUI map file. To
observe Win Runner’s learning process, use the Rapid Test Script Wizard on the Flight
Reservation application.
Note: The Rapid Test Script Wizard is not available when the Terminal Emulator, the Web
Test or the Java add-in is loaded.
Result :
Thus the testing process and testing procedure for winrunner software testing tool
sucessfully.
Ex.No. 13
Date :
Aim : To check verification and validation of Airline Reservation System using Winrunner software
testing tool.
Procedure :
Use Verify mode when running a test to check the behavior of your application, and
when you want to save the test results.
UseDebug mode when you want to check that the test script runs smoothly without errors
in syntax.
Use Update mode when you want to create new expected results for a GUI checkpoint or
checkpoint.
2. Make sure that the test window is active in WinRunner. Click the title bar of the
lesson3 test window. If the test is not already open, choose File > Open and select the
test.
3. Make sure the main window of the Flight Reservation application is active.
If any dialog boxes are open, close them.
4. Make sure that Verify mode is selected in
the toolbar. 5 Choose Run from Top.
5. Choose Run > Run from Top or click the Run from Top button. The Run Test
dialog box opens
Note the Display Test Results at end of run check box at the bottom of the dialog box. When
this check box is selected, WinRunner automatically displays the test results when the test run is
completed. Make sure that this check box is selected.
5. The test log section lists the major events that occurred during the test run. It
also lists the test script line at which each event occurred
Result :