548 THsasiiiiiiiii
548 THsasiiiiiiiii
Aim : Test the software system for all the scenarios identified as per the
usecase diagram.
Objective : Test the software system for all the scenarios identified as per the
Use Case Testing : Use Case Testing is a software testing technique that helps to
identify test cases that cover entire system on a transaction by transaction basis from
start to end. Test cases are the interactions between users and software application.
2.Test Steps:
3.Expected Result: The user should be successfully logged in and redirected to the dashboard.
2.Test Steps:
3.Expected Result: System should display an error message indicating incorrect credentials.
1
2.Test Steps:
3.Expected Result: The system should display a list of available trains for the selected route.
2.Test Steps:
3.Expected Result: System should display a message indicating no trains are available for the
selected route.
2.Test Steps:
Expected Result: Ticket should be successfully booked, and a confirmation message should be
displayed.
1.Precondition: User has searched for a train that has limited seats.
2.Test Steps:
2
Click the "Book Ticket" button.
3.Expected Result: System should display an error message indicating insufficient seat
availability.
2.Test Steps:
2.Test Steps:
3.Expected Result: System should display an error message indicating payment failure due to
insufficient balance.
2.Test Steps:
3.Expected Result: The system should display a list of booked tickets along with details.
3
Test Case 10: View Booking with No Tickets
2.Test Steps:
2.Test Steps:
3.Expected Result: The ticket should be successfully canceled, and the user should receive a
refund if applicable.
2.Test Steps:
3.Expected Result: System should display an error message indicating the ticket has already
been canceled.
4
.2Test Steps:
3.Expected Result: System should confirm whether the ticket is valid or not.
2.Test Steps:
3.Expected Result: System should display an error message indicating the ticket is invalid.
2.Test Steps:
2.Test Steps:
5
Test Case 17: Generate a Ticket After Payment
2.Test Steps:
3.Expected Result: The system should generate a digital ticket with a unique PNR number.
1.Precondition: A ticket is flagged for cancellation due to policy violations (e.g., fraud).
2.Test Steps:
Aim : Test the software system for all the scenarios identified as per the
usecase diagram.
Objective : Test the software system for all the scenarios identified as per the
Use Case Testing : Use Case Testing is a software testing technique that helps to
identify test cases that cover entire system on a transaction by transaction basis from
start to end. Test cases are the interactions between users and software application.
6
2. Test Steps:
- Click on "Submit."
2. Test Steps:
- Click on "Submit."
3. Expected Result:System displays an error message stating the book is not registered.
2. Test Steps:
7
1. Precondition: Book is submitted with visible damage.
2. Test Steps:
3. Expected Result: System notifies the member about book damage and applicable penalties.
2. Test Steps:
2. Test Steps:
2. Test Steps:
8
- Librarian selects "Confirm Book Return."
2. Test Steps:
2. Test Steps:
2. Test Steps:
9
3. Expected Result:Book is marked as "Available" in the system.
10