You are on page 1of 10

Assignment # 4

Group Members:
Name: Uzair Hussan Pasha (Leader)
Reg No: FA19-BCS-159-C
Name: Bilal Ahmad
Reg No: FA19-BCS-136-C
Name: Muhammad Mujtaba Rehman
Reg No: FA19-BCS-118

Course Title: Software Engineering Concepts


Teacher: Sobia Usman
Date: 15-6-2021
Functional Test Case

---------------------------------------(1)---------------------------------------
Test Case Id: FTC-01
Application Railway
name: Reservation System
Use Case ID: PS-UM-001
Purpose: To take details from the customer for seat
Reservation
Scenario: The user is about to reserve a seat for traveling.

Environment: <Developer forms>

Pre-Requisite: Seat reservation screen must be presented to the user


Strategy: The user Types “Customer Name ” e.g. “Uzair Hussan”
The user Types “CNIC Number” e.g. “32491-0123104-9”
The user Types “Phone Number” e.g. “+92 333 0441321”
The user Types “Day/Date/Time” e.g. “Tuesday 6/11/2021 05:00
PM“
The user Types “Seat Categories” e.g. “Business class”
The user Types “Total Seats” e.g. “4”
The user Types “From:” e.g. “Lahore”
The user Types “To:” e.g. “Karachi”

The user Clicks “Reserve “Button


Expected The Customer seat must be reserved & email must be send to
Results: the user

Observations: User seat Reserved successfully in the system

Result: Passed
---------------------------------------(2)-----------------------------------

Test Case Id: FTC-02


Application Railway
name: Manage Payments
Use Case ID: PS-UM-002
Purpose: To confirm the booking and dues for the seat reservation

Scenario: When user wants to check the payment details

Environment: <Developer forms>

Pre-Requisite: Payment accepted must be presented to the user


Strategy: The user clicks “payment” in seat reservation list

The ticket collector views“ Payment status”.

The manager views “payment orders”.

The data will be stored in “database”.

Expected After the confirmation of the payment the


Results: seat will be allotted to the passenger.

Observations: Payment has been added to the record

Result: Passed
---------------------------------------(3)-----------------------------------

Test Case Id: FTC-03


Application Railway
name: Manage Payments
Use Case ID: PS-UM-003
Purpose: To Manage passenger problems
Scenario: When user wants to view passengers details

Environment: <Developer forms>

Pre-Requisite Passenger Details page should be shown to passenger

Strategy: The passenger “log in”

The passenger views “ train status”.

The passenger views “staff status”.

The manager “updates” staff.

Expected The web page will store data of passenger that can be updated by
Results: railway management

Observations: The passenger or manager will now see an updated inventory list.

Result: Passed
White Box Testing
--------------------------------------(1)------------------------------------
--------------------------------------(2)------------------------------------
--------------------------------------(3)--------------------------------------

You might also like