Test Suites - Cab Booking System PDF
Test Suites - Cab Booking System PDF
Check if the
username and Username: Proper Proper
Validate
password fields valid_user@example.com, handling and handling and
WB_LOGIN_001 Input Field Pass
correctly handle Password: display of display of
Handling
valid and invalid CorrectPassword123 input, no errors input, no errors
input.
A valid session
Ensure that a
Username: should be
session is created
Test Session valid_user@example.com, created with A valid session
WB_LOGIN_003 and managed Fail
Management Password: appropriate is not created
properly after a
CorrectPassword123 session
successful login.
cookie/token
Verify that
appropriate error Error message Error message
Test Error
messages are Username: indicating indicating
Handling
WB_LOGIN_004 displayed for invalid_user@example.com invalid invalid Pass
and
invalid Password: WrongPassword credentials or credentials or
Messaging
credentials or system issue system issue
system errors.
Verify that
Account should
multiple failed Username: Account is not
Validate be locked or
login attempts valid_user@example.com, getting locked
Account CAPTCHA
WB_LOGIN_005 trigger an Password: and no Fail
Lockout presented after
account lockout IncorrectPassword CAPTCHA is
Mechanism a threshold of
or CAPTCHA (repeatedly) presented
failed attempts
mechanism.
Check if the
Error message Error message
password
indicating indicating
Verify complexity
Username: insufficient insufficient
Password requirements
WB_LOGIN_007 valid_user@example.com, password password Pass
Complexity (length, character
Password: 123 complexity if complexity if
Enforcement types) are
requirements requirements
enforced during
are not met are not met
login.
Registration
Overlapping
Verify that the User ID: user123,
bookings
system manages Pickup Location: Overlapping
Check for should be
overlapping or Location A, bookings are
WB_BOOK_004 Overlapping handled Fail
conflicting Dropoff Location: not handled
Bookings correctly, with
bookings for Location B, Time: correctly
notifications or
the same user. 2024-09-11 10:00:00
errors
Ensure that a
User ID: user123,
booking Confirmation Confirmation
Pickup Location:
confirmation is email or email or
Test Booking Location A,
WB_BOOK_005 sent to the user notification is notification is Fail
Confirmation Dropoff Location:
after a received by the not received by
Location B, Time:
successful user the user
2024-09-11 10:00:00
booking.
Payment
Test Test
Test Case ID Input Data Expected Output Actual Output Status
Objective Description
Check if the User ID: user123,
Payment is Payment is
system correctly Booking ID:
Validate successfully successfully
processes a booking456,
WB_PAY_001 Payment processed, and processed, and Pass
payment for a Payment Method:
Processing confirmation is confirmation is
completed Credit Card,
received received
booking. Amount: $25.00
User ID: user123,
Booking ID:
Verify that the booking456,
Test Invalid Error message for Error message for
system handles Payment Method:
WB_PAY_002 Payment invalid payment invalid payment Pass
invalid payment Credit Card,
Details details details
details correctly. Amount: $25.00,
Card Number:
Ensure that the
User ID: user123,
payment
Validate Booking ID: Payment gateway
gateway
Payment booking456, processes the Payment gateway
WB_PAY_003 integration is Fail
Gateway Payment Method: payment without has some issues
functioning
Integration Credit Card, issues
correctly and
Amount: $25.00
securely.
Verify that User ID: user123,
Confirmation Confirmation
payment Booking ID:
Check email or email or
confirmation is booking456,
WB_PAY_004 Payment notification is notification is not Fail
sent to the user Payment Method:
Confirmation received by the received by the
after a successful Credit Card,
user user
transaction. Amount: $25.00
Refund is Refund is
User ID: user123,
Ensure that the processed and processed and
Booking ID:
Test Refund system handles confirmed, and confirmed, and
WB_PAY_005 booking456, Pass
Process refund requests appropriate appropriate
Refund Reason:
correctly. notifications are notifications are
Cancellation
sent sent
Ride History
Test Test
Test Case ID Input Data Expected Output Actual Output Status
Objective Description
Check if the
List of past rides is List of past rides is
Validate Ride system retrieves
User ID: correctly displayed correctly displayed
WB_RH_001 History and displays the Pass
user123 with accurate with accurate
Retrieval ride history for a
details details
user correctly.