Вы находитесь на странице: 1из 4

Use Cases: Railway Reservation System [CONFIDENTIAL]

Revision History

Ver. Author Date Description of Approved


No. Changes By
0.1 Aparna M. Feb. 14, Initial draft
2005

1.0 Aparna M. Feb. 15, Changes to Post- S. Mathur
2005 Condition (language
only)
• General formatting
• Added prompt for
passengers marked as
“Senior Citizens”

UC-IRLY-RSR-001.04 – Make a Reservation -i-


© 2000-2005, Enterprise Automation Consultants, Bangalore - India
Use Cases: Railway Reservation System [CONFIDENTIAL]

Use Case UC-IRLY-RSR-001.04


ID:
Use Case Make Reservation
Name:
Created by: Aparna M. Last Updated Aparna M.
by:
Date Date Last Feb. 15, 2005
Created: Feb. 14, 2005 Updated:

Actors: Reservation Clerk, Passenger


Description: Reservation Clerks and Passengers use
this functionality to reserve a seat or berth
for a journey. Full details of the journey are
furnished as part of the reservation
transaction.
Trigger: User clicks the “Book Ticket” button on the
“Find Train: Results” page after selecting
the train on which he wishes to book a
ticket.
Preconditions: 1. The user has authenticated
himself/herself and is a Reservation
Clerk or a Passenger
2. The system has already been
This is an example of configured with master data for stations,
a “Design Use Case”
because some thought
routes, trains and schedule.
has already gone in,
into how the end-to-
3. The user has chosen the source
end functionality of and destination stations and the date of
making a reservation
is being chunked into the journey.
different screens.
Also, some ofPost
the Conditions: 1. A reservation is made as per the information supplied by
form properties have the Reservation Clerk and a PNR is issued for a confirmed,
been defined in a wait-listed or RAC ticket.
matrix. While this
kind of a Use Case Normal
is Flow: 1. System displays the “Reservation Form” screen (UI-
required, question is,
at what point of time
isUC-IRLY-RSR.001.04
such a Use Case – Make a Reservation -1-
developed – i.e.,Enterprise
© 2000-2005, how Automation Consultants, Bangalore - India
early or how late in
the project?
Use Cases: Railway Reservation System [CONFIDENTIAL]

IRLY-RSR.001-04-ReservationForm.htm).
The screen displays the controls defined in the sheet “UI-
RSR.001-04 – Reservation” in the spreadsheet “IRLY –
Form Definition and Validations Matrix.xls”

2. The user must indicate the quota under which the


reservation is being made. By default, “General” is chosen.

3. The user enters the names of the passengers; one


passenger in each row. For each passenger, the user
enters the name, age, gender, berth preference and food
preference. If the passenger has valid documents evincing
that he/she is a senior citizen, then the user can check the
checkbox in the “Senior Citizen” column.

If the user indicates that a passenger is a senior citizen, the


system displays the message ‘One of the following
documents must be carried by the passenger throughout
the duration of the journey as proof of age: Birth Certificate,
Election Card, PAN Card’.

4. The user has an option to indicate that he wishes the


reservation to be made only if all the passengers are
allotted berths in the same coach. To do this, he should
check the checkbox below the table of passengers.

5. If the user clicks the “Reset” button, all controls are reset
to their default values.

6. If the user clicks the “Next” button, the system saves all
the information entered in this screen, closes this screen
and invokes Use Case “UC-IRLY-RSR-001.05 – Process
Payment”.

7. If the user clicks the “Cancel” button, the system displays


a warning message that informs the user that his/her action
will abort the current transaction. If the user confirms, the
screen closes and returns to the Home Page of the
website. If the user declines, focus returns to the screen.

Alternative Flows: 1. (No. 6) No passenger information entered: If the user has


not entered any passenger information, the system
displays the message “Please enter passenger
The number in information”. Focus then returns to the first textbox.
brackets indicates the
step in the Normal 2. (No. 6) One or more mandatory fields is empty: If the
Flow of events at user has not entered any values in any mandatory field the
which the variation in system displays the message “Please enter full details for
behavior can occur. each passenger”. Focus then returns to the textbox of the
The text that is
passenger that has incomplete information.
underlined, is the
“extension point” –
the state or condition
that causes the
UC-IRLY-RSR.001.04
variation in – Make a Reservation -2-
© 2000-2005, Enterprise Automation Consultants, Bangalore - India
behaviour.
Use Cases: Railway Reservation System [CONFIDENTIAL]

3. (No. 6) Gents on Ladies quota: If the user has chosen


“Ladies” quota but there is a male passenger, the system
displays the message “No reservation may be made for
male passengers on Ladies’ quota.”. Focus then returns to
the row for the male passenger.
4. (No. 6) Duplicate entries: If the user has entered the
same passenger details twice then the system displays the
message “Please enter details for a passenger only once”.
Focus then returns to the row for the passenger with
duplicate entries.
5. Form validations will be carried out as per the
specifications in the “Business Rules” section.
Exceptions:

Includes: 1. (No. 6) UC-IRLY-RSR-001.05 – Process Payment

Priority: High

Frequency of Use: 8,000 times per second

Business Rules: 1. At least one passenger’s details must be fully entered for
a valid reservation to be made.
2. The same passenger cannot be specified more than
once. Two passengers are considered to be the same if
their names, age and gender are exactly the same.
3. (Describe determination of reservation status here)
4. Form validations will be carried out as per the matrix
defined in the sheet “UC-04 – Manage Constellation” in the
spreadsheet “OSI DT – Form Definition and Validations
Matrix.xls”
Special Requirements:

Assumptions: 1. The server that hosts the application has at least 2GB of
RAM, 4000GB of storage space and a 2Mbps link.

User Interface: UI-IRLY-RSR.001-04-ReservationForm.htm

Notes and Issues:

UC-IRLY-RSR.001.04 – Make a Reservation -3-


© 2000-2005, Enterprise Automation Consultants, Bangalore - India

Вам также может понравиться