Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Flight Reservation System: Software Requirements Specification (SRS)

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 37

Flight Reservation System

Software Requirements Specification (SRS)

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Table of Contents
Table of Contents...............................................................................................................II
Revision History................................................................................................................IV
1. Introduction..........................................................................................................1
1.1 Purpose...........................................................................................................1
1.2 Document Conventions..................................................................................1
1.2.1 Abbreviations...............................................................................................1
1.2.2 Symbols........................................................................................................2
1.3 Intended Audience.........................................................................................2
1.4 Project Scope..................................................................................................2
1.5 References......................................................................................................2
2. Overall Description..............................................................................................2
2.1 Product Features............................................................................................3
2.1.1 Secured Login...............................................................................................3
2.1.2 Inserting new reservations..........................................................................3
2.1.3 Confirmations..............................................................................................3
2.1.4 Updating existing reservations....................................................................3
2.1.5 Removing existing reservations...................................................................3
2.1.6 Search capabilities.......................................................................................3
2.1.7 Reporting.....................................................................................................3
2.1.8 Database......................................................................................................3
2.2 Known Bugs....................................................................................................4
2.3 Operating Environment..................................................................................4
2.4 User Documentation.......................................................................................4
2.5 Assumptions and Dependencies.....................................................................4
3. Requirements.......................................................................................................4
3.1 Login................................................................................................................4
3.1.1 Description...................................................................................................5
3.1.2 Functional Requirements.............................................................................5
3.1.3 Login – Graphical User Interface.................................................................7
3.2 Flight Reservation...........................................................................................7
3.2.1 Description...................................................................................................7
3.2.2 Flight Reservation – Graphical User Interface...........................................10
3.2.3 Functional Requirements...........................................................................19
3.3 New Order Process.......................................................................................20
3.3.1 Description.................................................................................................20
3.3.2 Functional Requirements...........................................................................21
3.3.3 Error Messages..........................................................................................24
4. User Challenge....................................................................................................26

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
4.1 Fax Preview...................................................................................................26
4.1.1 Gui Defaults...............................................................................................26
4.2 Menu.............................................................................................................28
4.2.1 Functionality..............................................................................................28
4.3 Fax Order No. <n>.........................................................................................29
4.3.1 Functionality..............................................................................................29
4.4 About Flight Reservations System................................................................30
4.4.1 Gui Defaults...............................................................................................30
4.5 Open Order Process......................................................................................31
4.5.1 Description.................................................................................................31
4.5.2 Functional Requirements...........................................................................32
4.5.3 Functional Requirements...........................................................................34
4.6 Deleting an Order Process............................................................................34
4.7 Reporting......................................................................................................34
4.7.1 Description.................................................................................................35
4.7.2 Graphical User Interface Defaults.............................................................35

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Revision History

NAME DATE REVISION DESCRIPTION VERSION

Pavan 28/06/2014 Reviewed 1.0

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
1. Introduction
A Software Requirements Specification is a complete description of the behavior of
the system to be developed. It includes a set of use cases that describe all of the
interactions that users will have with the software.
Use Cases are also known as Functional Requirements. In addition to use cases, the
SRS also contains nonfunctional requirements.

1.1 Purpose
This document contains the tests requirements for the FR Project.

1.2 Document Conventions


1.2.1 Abbreviations
AUT Application Under Test
GUI Graphical User Interface
UI User Interface
LIB Library folder contains QTP library functions
MTM Multi Test Manager Tool.
QFL File Extension (QTP File Library )
VBS File Extension ( VBScript )
N/A Not Available
DP Descriptive Programming
OR Object Repository
SOR Shared Object Repository
OO Object Oriented
OOP Object Oriented Programming
OOT Object Oriented Testing
STD Software Test Documentation
PK Primary Key ( Database relationships )
FK Foreign key ( Database relationships )

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
1.2.2 Symbols
Exclamation
Question
Information
Critical

1.3 Intended Audience


This project is for "First Steps" members that want to learn how to practically learn
how to use QTP as well as intermediate and expert users that want to review different
methodology methods, code tricks and implementations.

Product Manager
Project Manager
Development Team
QA Team
Others

1.4 Project Scope


This document defines at a functional level the business activities that are
encompassed by the system and the rules that apply to them. The scope of the
detailed analysis project phase specifies that this document will include.

 Classification of requirements according to their functional areas.


 A description of each process in the system, including their inputs, outputs,
and data transformation rules.

1.5 References
 Business Requirement Specifiation

2. Overall Description
2.1 Product Features

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
2.1.1 Secured Login
The system supports a secured login user/password.
Insert a new flight reservation.

2.1.2 Inserting new reservations


The application is able to insert new flight reservations according a future date
requested, destinations and flight selections.

2.1.3 Confirmations
The application is send fax confirmations to clients, about new, updates and
cancelled flights.

2.1.4 Updating existing reservations.


The application is able to update any data from an existing reservation.

2.1.5 Removing existing reservations.


The application is able to cancel any existing reservation.

2.1.6 Search capabilities.


The application supports a searching mechanism by order number customer
name and/or date of flight

2.1.7 Reporting
The application supports graphical and text reports of reservations.

2.1.8 Database
The Flight Reservation database is a MS-Access file ( .mdb ).
The database has 2 tables
 Flights table
o [PK] Flight_Number – Integer
o Departure_Initials – String( size = 3 )
o Departure – String( size = 30 )
o Day_Of_Week – String( size = 9 )
o Arrival_Initials – String( size = 3 )
o Arrival – String( size = 30 )
o Departure_Time – String( size = 8 )
o Arrival_Time – String( size = 8 )
o Airlines – String( size = 5 )
o Seats_Available – Integer
o Ticket_Price - Currency

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 Orders table
o [PK] Order_Number – Long Integer
o Customer_Name – String( size = 20 )
o Departure_Date – Date
o [FK] Flight_Number – Integer
o Tickets_Ordered – Byte
o Class – String ( size = 1 )
o Agents_Name - String ( size = 10 )
o Send_Signature_With_Order – String ( size = 1  Y/N )

2.2 Known Bugs


NA

2.3 Operating Environment


Windows XP/2008/7/2012

2.4 User Documentation


NA

2.5 Assumptions and Dependencies


NA

3. Requirements
This part of the requirements document serves to present the "big picture" of
the application. Here you lay out the objectives of the application.

3.1 Login
3.1.1 Description
The Login dialog, logs to the Flight Reservation application. A shortcut to the
application demo can be found in
Start  Sample Applications  Flight.
The user must provide an Agent Name that must be at least 4 characters long
and the Password is always "Mercury". Clicking the OK button will access the
application if requested information is correct.

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Figure 1 - Login Dialog

3.1.2 Functional Requirements

3.1.2.1 Req0001
Req0001a - User activates the Flight Application executable file from installation
directory plus "\samples\flight\app\flightxx.exe"
Req0001b - immediately afterwards the Dialog "Login" should be displayed .

3.1.2.2 Req0003
User press OK without entering any information.
Req0003a – Popup dialog is displayed.
Req0003b – Popup title "Flight Reservations"
Req0003c – message type: Exclamation
Req0003d – message text "please enter agent name"

3.1.2.3 Req0004
The agent name must be at least 4 characters long.
Req0004a - Popup dialog displayed: True.
Req0004b – Popup title: "Flight Reservations"
Req0004c – message type: Exclamation
Req0004d – message text "Agent name must be at least 4 characters long."

3.1.2.4 Req0005
The password must be at least 4 characters long.
Req0005a - Popup dialog is displayed.
Req0005b – Popup title "Flight Reservations"
Req0005c – message type: Exclamation.
Req0005d – message text: "Password must be at least 4 characters long"

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
3.1.2.5 Req0006
The field “Password” should not be empty.
Req0006a - Popup dialog is displayed.
Req0006b – Popup title "Flight Reservations"
Req0006c – message type: Critical
Req0006d – message text "Please enter password"

3.1.2.6 Req0007
Wrong “Password” field will trigger a critical popup message
Req0006a – Popup dialog is displayed.
Req0006b – Popup title "Flight Reservations"
Req0006c – message type: Critical
Req0006d – message text: "Incorrect password. Please try again"

3.1.2.7 Req0008
Pressing "Cancel" at any time should close immediately the "Login" dialog

3.1.2.8 Req0009
After 4 bad attempts to login (bad password) the application will trigger an
information message and closed.
Req0009a – Popup dialog is displayed.
Req0009b – Popup title "Flight Reservations"
Req0009c – message type: Exclamation
Req0009d – message text: "Login unsuccessful. Please try again later."
Req0009e – Application is closed.

3.1.3 Login – Graphical User Interface

3.1.3.1 Req0002
User activates the application the first time.
Req0002a - Label "Agent Name" visible: True.
Req0002b - Textbox "Agent Name" text: "", enabled: True, focused : True.
Req0002c - Label "Password" visible: True.
Req0002d - Textbox "Password" enabled: True, text: "".

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0002e - Button "OK" enabled: True.
Req0002f - Button "Cancel" enabled: True.
Req0002g - Button '"Help" enabled: True.
Req0002h Image Logo:

Figure 2 - Login Image

3.2 Flight Reservation


3.2.1 Description
By inserting a valid and future date, and selecting a base and destination city, the
user can choose a flight; order 1 to 10 tickets on 3 different classes. A client can
receive a fax confirmation.
The user must provide a future valid Flight Date and must select a Fly From city
and a Fly To city.

Figure 3 - Flights Table

The system will monitor from this point the price-per-ticket and the total
amount to pay.
In addition the user can select 1 to 10 tickets and a flight class.

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
The information is inserted to a database, and a successful or failure message
should be displayed in the transaction progress bar.

Figure 4 - Flights Reservation Window

In addition the user can get fax confirmation with an optional agent signature.

Figure 5 – Fax Order No. <n>

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
3.2.2 Flight Reservation – Graphical User Interface

3.2.2.1 The Toolbar

Figure 6 – Flight Reservation Toolbar

Req0010
Req0010a – Button "New Order"
 enabled: True
 icon:
Req0010b – Button "Open Order"
 enabled: True
 icon is:
Req0010c – Button "Delete Order"
 enabled: False
 icon is:
Req0010d – Button "Graphs"
 enabled: True,
 con is:
Req0010e – Button "Reports"
 enabled: True
 icon is:
Req0010f – Button "Help"
 enabled: True
 icon is:

3.2.2.2 Flight Schedule Frame

Figure 7 – Flight Schedule Frame

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0011
Req0011a – "Date of Flight"
 enabled: True
 text: ""
 formattedText: "__/__/__"
 mask: "99/99/99"
 focused: True
Req0011b – "Flight From"
 enabled: True
 selection: ""
Req0011c – "Flight To"
 enabled: True
 selection: ""
Req0011d – "Flights"
 enabled: False

3.2.2.3 Order Information Frame

Figure 8 – Order Information Frame

Req0012
Req0012a – "Flight No." text: ""
Req0012b – "Departure Time" text: ""
Req0012c – "Arrival Time" text: ""
Req0012d – "Airline" text: ""

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0012e – "Name", text: ""
Req0012f – "Tickets" text: ""
Req0012g – "Price", text: ""
Req0012h – "Total" text: ""
Req0012i – "Insert Order"
 Enabled: False
Req0012j – "Delete Order"
 Enabled: False
Req0012k – "Update Order"
 Enabled: False
Req0012l – "Business"
 enabled: False
Req0012m – "Economy"
 enabled: False
Req0012n – "First"
 enabled: False

3.2.2.4 Menu Defaults

Req0013
Req0013a – "File"
 Exists: True
 Enabled: True
 Index: 1
 Label: "File"
 SubMenuCount: 4
Req0013b – "Edit"
 Exists: True,
 Enabled: True
 Index: 2
 Label: "Edit"
 SubMenuCount: 3

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0013c – "Analysis"
 Exists: True
 Enabled: True
 Index: 3
 Label: "Analysis"
 SubMenuCount: 2
Req0013d – "Help"
 Exists: True
 Enabled: True
 Index: 4
 Label: "Help"
 SubMenuCount: 2
Req0013e – "New Order"
 Exists: True
 Enabled: True
 Label: "New Order"
 HasSubMenu: False
Req0013f – "Open Order"
 Exists: True
 Enabled: True
 Label: "Open Order..."
 HasSubMenu: False
Req0013g – "Fax Order"
 Exists: True
 Enabled: False
 Label: "Fax Order…"
 HasSubMenu: False
Req0013h – "Exit"
 Exists: True
 Enabled: True
 Label: "Exit"

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 HasSubMenu: False
Req0013i – "Copy" Exists: True
Req0013j – "Cut" Exists: True
Req0013k – "Paste" Exists: True
Req0013l – "Reports"
 Exists: True
 Enabled: True
 Label: "Reports…"
 HasSubMenu: False
Req0013m – "Graphs"
 Exists: True
 Enabled: True
 Label: "Graphs…"
 HasSubMenu: False
Req0013n – "Contents"
 Exists: True
 Enabled: True
 Label: "Contents"
 HasSubMenu: False
Req0013o – "About"
 Exists: True
 Enabled: True
 Label: "About…"
 HasSubMenu: False

3.2.2.5 Summary Defaults

Figure 9 – Summary Frame

Req0014
Req0014a – "Order No." text: ""

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0014b – Progress bar text: ""

3.2.2.6 Window Image

Req0015

Figure 10 – Window Image

3.2.2.7 Flights Table Dialog

Figure 11 – Order Information Frame

Req0016
Req0016a – List
 enabled: True
 columns count: 7
Req0016b – Columns

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 "Flight"
 "From"
 "To"
 "Departure"
 "Arrival"
 "Airline"
 "Price"
Req0016c – Button "OK"
 enabled: True
Req0016d – Button "Cancel
 enabled: True
Req0016e – Image :

Figure 12 – Flights Table Image

3.2.2.8 Send Fax - Defaults

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Figure 13 – Fax Order No. <n> Dialog

Req0018
Information match:
Req0018a – Dialog
 text: "Fax Order No. <num>"
 Ispopupwindow: True
Req0018b – Name
 text: <Name>
 Order: text: <Order>
 Flight: text: <Flight>
 Date: text: <Date>,
 From: text: <Fly From>
 Departure text: <Departure Time>
 To: text: <Flight To>
 Arrival: text: <Arrival Time>,
 Class: text: <Class>
 # Tickets text: <Tickets>,

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 Ticket Price: <Price>
 Total text: <Total>
Req0018c – Fax Number;
 enabled: True
 format: "(###)###-####"
 FormattedText: "(___)___-____"
 mask: (999)999-9999; text: ""
 focused: True
Req0018c – Send Signature with order; enabled: True, checked: OFF
Req0018d– Agent Signature bitmap:

Req0018e – Preview Fax button


 enabled: True
Req0018f – Send button
 enabled: True
Req0018g – Cancel button
 enabled: True
Req0018h – Clear Signature button
 enabled: True

3.2.3 Functional Requirements

3.2.3.1 Toolbar Functionality

Req0020
If Data displayed, selecting "New" button, should clear the form.
However if information updated without saving changes:
Req0020a – Popup dialog is displayed.
Req0020b – Popup title "Flight Reservations"
Req0020c – message type: Question.
Req0020d – message text: "The information has changed. Save changes?"

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0021
Toolbar "Open Order" will display the Dialog "Open Order".
Req0021 - Open Order dialog exist: True

Req0022
Toolbar "Delete" will be enabled only after open an order.
Req0022 – open an order "Delete" enabled: True

Req0023
Toolbar "Graphs" will open the dialog "Graph"
Req0023 – Graph dialog
 exist: True

Req0024
Toolbar "Reports" will open "report.txt" notepad file.
Req0024 – Reports text file
 exist: True

Req0025
Toolbar "Help" will open the window "Flight Reservation Help Version.*"
Req0025 – Flight Reservation Help Version .*
 exist: True

3.3 New Order Process


3.3.1 Description
See Description

3.3.2 Functional Requirements

3.3.2.1 Req0035
Only valid departures cities must be in list "Fly Form" and "Fly To"
Req0035a – Fly From
 all items: < all items >
Req0035b – Fly To

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 all items: < all items >

3.3.2.2 Req0036
After selecting "Fly From" The "Fly To" field
Req0035a – Fly To
 items count : < FlyFrom >.count - 1
Req0035b – Fly To;
 < FlyFrom > value is not in the "all items"

3.3.2.3 Req0037
Only after selecting "Fly From" the access to Flights Table will be available.
Req0037a – Button "Flights"
 enabled: True.
Req0037b – icon

3.3.2.4 Req0038
All items are ordered by Flight.
Req0038a – List
 items count: <items count>
 all items: <all items>
 selected: <item 0>

3.3.2.5 Req0039
After selecting a flight from "Flights Table"
Req0039a – "Name"
 focused: True
Req0039b – "Tickets"
 enabled: True
 Text: "1"
Req0039c – "Economy"
 enabled: True

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 checked: "ON"
Req0039d – "Flight No."
 text: <OrderNo>
Req0039e – "Departure Time"
 text: <DepartureTime>
Req0039f – "Arrival Time"
 text: <ArrivalTime>
Req0039g – "Airline"
 text: <Airline>
Req0039h – "Price"
 text: <Price>
Req0039i – "Total"
 text: <Price> * <Tickets>

3.3.2.6 Req0040
After typing a name, tickets or selecting a class
Req0040a – "Insert Order"
 enabled: True
Req0040b – "Total"
 text: <Price> * <Tickets>

3.3.2.7 Req0041
After pressing "Insert Order"
Req0041a – Application temporally disabled "Flight Reservation
 enabled: False
Req0041b – "Insert Order"
 enabled: True
Req0040c – "Update Order"
 enabled: False
Req0041d – "Delete Order"
 enabled: False
Req0041e – "Order No."

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 text: <last order no> + 1
Req0041f – "Send Fax" menu item
 enabled: True
Req0041g – toolbar "Delete"
 enabled: True
Req0041h – toolbar button "Delete"
 image:
Req0041i – progress bar message
 text: "Insert Done…"
Req0041j – new record was added to Orders table in database. Fields values must
be consists.
 "Order_Number",
 "Customer_Name",
 "Departue_Date",
 "Flight_Number"
 "Tickets_Ordered", "Class"
 "Agents_Name"

3.3.2.8 Req0042
After pressing "Send"
Req0042a – Message "Dialing..."
Req0042b – Message "Connecting..."
Req0042c – Message "Sending Fax..."
Req0042d – dialog "Fax Order No. <x>
 Exists: False
Req0042e – progress bar message
 text: "Fax Sent Successfully…"
Req0042f – record <n> Field "Send Signature" must be consists.

3.3.2.9 Req0043
After pressing "Send"
Req0043a – dialog "Fax Preview
 Exists: False

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0043b – Message "Dialing..."
Req0043c – Message "Connecting..."
Req0043d – Message "Sending Fax..."
Req0043e – progress bar message
 text: "Fax Sent Successfully…"
Req0043f – record <n> Field "Send Signature" must be consists.

3.3.3 Error Messages

3.3.3.1 Req0044
User types an invalid month.
Req0044a – Popup dialog is displayed.
Req0044b – Popup title: "Flight Reservations"
Req0044c – message type: Exclamation
Req0044d – message text: "Invalid month Entered.The month must be greater than
01 and less than 12."

3.3.3.2 Req0045
User types an invalid day
Req0045a – Popup dialog is displayed.
Req0045b – Popup title: "Flight Reservations"
Req0045c – message type: Exclamation
Req0045d – message text: "Invalid day Entered. The date should be valid for the
given month."

3.3.3.3 Req0046
User type an invalid year (valid 2007-2038).
Req0046a – Popup dialog is displayed.
Req0046b – Popup title: "Flight Reservations"
Req0046c – message type: Exclamation
Req0046d – message text: "Invalid year Entered.
The year must be greater than 2007 and less than 2038.

3.3.3.4 Req0047

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Valid dates are Today()+1, User type an old acceptable date.
Req0047a – Popup dialog is displayed.
Req0047b – Popup title: "Flight Reservations"
Req0047c – message type: Information
Req0047d – message text: "Valid flight dates are after <Today>"

3.3.3.5 Req0048
User select "Fly From" without "Date of Flight"
Req0048a – Popup dialog is displayed.
Req0048b – Popup title: "Flight Reservations"
Req0048c – message type: Information
Req0048d – message text: "Please enter a flight date"

3.3.3.6 Req0049
User select "Fly To" without "Fly From"
Req0049a – Popup dialog is displayed.
Req0049b – Popup title: "Flight Reservations"
Req0049c – message type: Information
Req0049d – message text: "Please enter a fly 'from' city."

3.3.3.7 Req0050
Valid number of tickets between 1 and 10, The user types an amount greater
than 10.
Req0050a – Popup dialog is displayed.
Req0050b – Popup title: "Flight Reservations"
Req0050c – message type: Critical
Req0050d – message text: "Only ten tickets may be ordered at one time"

4. User Challenge
This part of the requirements document is for students that want to go forward and
complete the whole project.

4.1 Fax Preview

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
4.1.1 Gui Defaults

Figure 14 – Fax Preview Dialog

4.1.1.1 Req0019
Information match:
Req0019a – Dialog; Ispopupwindow: True
Req0019b – Fax # = < faxNo >
Req0019c – Customer = < customer >
Req0019d – Flight Date = < flightDate>
Req0019e – Flight No. = < flightNo >
Req0019f – From = < flyFrom >
Req0019g – To = < flyTo >
Req0019h – Departure = < departure >
Req0019i – Arrival = < arrival >
Req0019j – Airline = < airline >
Req0019k – Class = < class >
Req0019l – # Tickets = < tickets >
Req0019m – Agent = < agent >
Req0019n – Price = < price >
Req0019o – Total = < total >

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Req0019p – Order No. = < orderNo >
Req0019q – Button "send"
 enabled" True
Req0019r – Button "Cancel"
 enabled: True
Req0019s – image :

Figure 15 – Fax Preview Image

4.2 Menu
4.2.1 Functionality

4.2.1.1 Req0026
If Data displayed, selecting "File; New" menu item, should clear the form.
However if information updated without saving changes:
Req0026a – Popup dialog is displayed.
Req0026b – Popup title "Flight Reservations"
Req0026c – message type: Question.
Req0026d – message text: "The information has changed. Save changes?"

4.2.1.2 Req0027
If Data displayed, selecting "File; New" menu item, should clear the form.
However if information updated without saving changes:
Req0026a – Popup dialog is displayed.
Req0026b – Popup title "Flight Reservations"
Req0026c – message type: Question.
Req0026d – message text: "The information has changed. Save changes?"

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
4.2.1.3 Req0028
Toolbar "Open Order" will display the Dialog "Open Order".
However if information updated without saving changes:
Req0026a – Open Order dialog exist:
Req0026b – Popup dialog is displayed.
Req0026c – Popup title "Flight Reservations"
Req0026d – message type: Question.
Req0026e – message text: "The information has changed. Save changes?"

4.2.1.4 Req0029
If "File; Fax Order" is enabled it should open the "Fax Order No. x" Dialog,
where "x" is the currently opened reservation.
Req0029a – "Fax Order No. x"
 exist: True
Req0029b – "x"; currently opened reservation. < orderNo >

4.2.1.5 Req0030
Menu item "File; Exit" should close application

4.2.1.6 Req0031
Menu item "Analysis; Graphs" will open the dialog "Graph"
 Graph dialog exist: True

4.2.1.7 Req0032
Menu item "Analysis; Reports" will open "report.txt" notepad file.
 Reports text file exist: True

4.2.1.8 Req0033
Menu item "Help; Contents" will open the window "Flight Reservation Help
Version.*"
Flight Reservation Help Version .*
 exist: True

4.2.1.9 Req0034

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Menu item "Help; About" will open the dialog "About Flight Reservation
System"
About Flight Reservation System
 exist: True

4.3 Fax Order No. <n>


4.3.1 Functionality

4.3.1.1 Req0051
Click on "Cancel" button will close dialog.
Req0041 – "Fax Order No. <x>"; Exists: False

4.3.1.2 Req0052
Clear Signature Button will erase the signature.
Req0042 – Agent Signature; bitmap:

4.3.1.3 Req0053
User Clicks Send or Preview Fax with empty fax number or less than 10
digits.
Req0043a – Popup dialog is displayed.
Req0043b – Popup title "Flight Reservations"
Req0043c – message type: Critical
Req0043d – message text "Please complete the fax number."

4.3.1.4 Req0054
User Clicks Send or Preview Fax with checked field "Send Signature with
order" and without signature.
Req0043a – Popup dialog is displayed.
Req0043b – Popup title "Flight Reservations"
Req0043c – message type: Critical
Req0043d – message text "Please sign the fax."

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
4.4 About Flight Reservations System
4.4.1 Gui Defaults

4.4.1.1 Req0055
Req0055a – Button "OK"
 enabled: True
Req0055b – Static "Version" text: "Version 4.0"

Req0055a – Icon:
Req0055a – image

Figure 16 – About Image

4.5 Open Order Process


4.5.1 Description
When the Flight Reservation Main window is displayed, the agent is able to open an
existing order for review, update or delete an existing order.

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Figure 17 – Open Order Dialog
By entering an Order No Or a Customer Name Or a Flight Date Or a combination of
Customer Name and Flight Date, the relevant order will open.
Opening an order by Order No. will open the order directly if it exists.
Opening an order by Customer Name and/Or Flight Date will open a dialog "Search
Results" if more than one matches the description.

Figure 18 – Search Results Dialog

4.5.2 Functional Requirements

4.5.2.1 Req0056
Req0056a - Check only "Customer Name" option.
"Customer Name" field
 enabled: True
 focused: True
"Flight Date" field
 enabled: True
"Order No" option
 enabled: False
"Order No" field
 enabled: False
Req0056b - Check "Order No" option
"Order No" field
 enabled: True
 focused: True

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
"Flight Date" field
 enabled: False
"Flight Date" option
 enabled: False
"Customer Name" option
 enabled: False
"Customer Name" field
 enabled: False
Req0056c - Check only "Flight Date" option
"Flight Date" field
 enabled: True
 focused: True
"Customer Name" field
 enabled: False
"Customer Name" option
 enabled: True
"Order No" option
 enabled: False
"Order No" field
 enabled: False
Req0056d - Check "Customer Name" and then "Flight Date" options
"Flight Date" field
 enabled: True
 focused: True
"Customer Name" field
 enabled: True
"Order No" option
 enabled: False
"Order No" field
 enabled: False

4.5.2.2 Req0057

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Pressing "Cancel" close the dialog

4.5.3 Functional Requirements

4.5.3.1 Req0058
Trying to open a non-existing order No. will display a critical message
Req0058a – Popup dialog is displayed.
Req0058b – Popup title "Flight Reservations"
Req0058c – message type: Critical
Req0058d – message text "Order Number < OrderNo > does not exist"

4.5.3.2 Req0059
Trying to open a non-existing Customer Name will display a critical message
Req0059a – Popup dialog is displayed.
Req0059b – Popup title "Flight Reservations"
Req0059c – message type: Critical

Req0059d – message text "No order found. Please try again "

4.5.3.3 Req0060
Trying to open a non-existing "Flight Date" will display a critical message
Req0060a – Popup dialog is displayed.
Req0060b – Popup title "Flight Reservations"
Req0060c – message type: Critical

Req0060d – message text "No order found. Please try again "

4.6 Deleting an Order Process


Make your own requirements for this process

4.7 Reporting
4.7.1 Description
The flight application supports two report mechanism
1.Textual Report
2.Graphical Report

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
Both are available from the menu and toolbar.

Figure 19 – Graphical Report Dialog

4.7.2 Graphical User Interface Defaults

4.7.2.1 Req0061
Req0061a – Dialog
 ispopupwindow: True
Req0061b – "Style"
 Exists: True
 Enabled: True
 Index: 1
 Label: "File"
 SubMenuCount: 4
Req0061c – "Style; 2D Bar"
 Exists: True
 Enabled: True
 Label: "2D Bar Graph"
 HasSubMenu: False
Req0061d – "Style; 3D Bar"
 Exists: True
 Enabled: True
 Label: "3D Bar Graph"

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com
 HasSubMenu: False
Req0061e – "Style; 3D Bar"
 Exists: True
 Enabled: True
 Label: "3D Pie Graph"
 HasSubMenu: False
Req0061f – "Agent Name: <AgentName>
Req0061g – "Total Tickets Sold: <TotalTickets>

pavanoltraining@gmail.com | Contact: 91+8142402254


www.pavanoltraining.blogspot.com | www.pavantestingtools.blogspot.com

You might also like