Test Case of ST
Test Case of ST
1
Case ID Test Step Test Data Expected Actual Result Status
Result
TC001 Create a new Supplier: New order Order Pass
purchase XYZ Ltd., created and created;
order Item: Widget success success
A, Qty: 10 message message
displayed. shown.
Exp No.2
Case ID Test Step Test Data Expected Actual Status
Result Result
TC001 Add a new Item: Widget New item Item added; Pass
item to A, Qty: 100, added; quantity and
inventory Price: $10 quantity and price shown
price correctly.
displayed
correctly.
TC002 Update item Item: Widget Item quantity Quantity Pass
quantity A, New Qty: updated to updated to
150 150. 150.
TC003 Update item Item: Widget Item price Price Pass
price A, New updated to updated to
Price: $12 $12. $12.
TC004 Remove an Item: Widget Item Item Pass
item from A removed removed
inventory successfully from
from inventory.
inventory.
TC005 Check low Item: Widget System Low stock Pass
stock alert B, Qty: 5 displays low alert
(Threshold: stock alert displayed for
10) for Widget Widget B.
B.
TC006 Perform Date: System Inventory Pass
inventory 20240902 records count
count inventory recorded
count successfully.
successfully.
TC007 Generate Date: Report Report Pass
inventory 20240901 to generated generated
report 20240930 with correct with correct
item details. details.
TC008 Verify item Search: Search Search Pass
search Widget A results show results show
functionality details for details for
Widget A. Widget A.
TC009 Check for Item: Widget System Duplicate Pass
duplicate A (already prevents item creation
item exists) duplicate blocked;
prevention item; error shown.
displays
error
message.
TC010 Handle Item: System Error Pass
invalid data [Blank], Qty: displays displayed for
entry 10, Price: error for invalid data
[Blank] invalid data entry.
entry.
Exp No.3
Case ID Test Step Test Data Expected Actual Status
Result Result
TC001 Perform Input: 5 + 3 Result Result Pass
addition should displayed 8.
display 8.
TC002 Perform Input: 10 4 Result Result Pass
subtraction should displayed 6.
display 6.
TC003 Perform Input: 7 * 2 Result Result Pass
multiplication should displayed
display 14. 14.
TC004 Perform Input: 20 / 5 Result Result Pass
division should displayed 4.
display 4.
TC005 Division by Input: 8 / 0 System Error Pass
zero should displayed:
display an "Cannot
error (e.g., divide by
"Cannot zero."
divide by
zero").
TC006 Handle Input: 3.5 + Result Result Pass
decimal 2.5 should displayed
addition display 6.0. 6.0.
TC007 Handle Input: 5 + 3 Result Result Pass
negative should displayed 2.
numbers display 2.
TC008 Perform Input: √16 Result Result Pass
square root should displayed 4.
operation display 4.
TC009 Invalid input Input: "A + System Error Pass
(nonnumeric) B" should displayed:
display an "Invalid
error (e.g., input."
"Invalid
input").
TC010 Perform Input: 2 ^ 3 Result Result Fail
exponentiation should displayed 5.
display 8.
Exp No.4
Case ID Test Step Test Data Expected Actual Status
Result Result
TC001 Fill in Name: John Doe, Form should Passenger Pass
passenger Age: 30, Gender: accept details
details Male passenger accepted
details without
without error.
error.
TC002 Select From: New York, Journey Journey Pass
journey To: Boston, Date: details details
details 20240910 should be displayed
accepted and correctly.
displayed
correctly.
TC003 Choose seat Seat Preference: System Seat Pass
preference Window should preference
accept seat accepted and
preference availability
and show shown.
availability.
TC004 Select ticket Ticket Type: System Selected Pass
type Sleeper should ticket type
display displayed
selected correctly.
ticket type
without
errors.
TC005 Enter Phone: Contact Contact Pass
contact 1234567890, details details
details Email: should be accepted
[email protected] accepted without
without any error.
error.
TC006 Make Payment Method: Payment Payment Pass
payment Credit Card, Card should be processed
Number: processed successfully.
1234567890123456 successfully.
TC007 Verify Booking Details: System Confirmation Pass
booking [Entered Details] should message and
confirmation generate a booking ID
confirmation generated.
message and
booking ID.
TC008 Check Name: Jane Doe, System Error Pass
invalid Age: 5 should displayed for
passenger display an invalid age.
age error for
invalid age.
TC009 Check for Name: [Blank], System Error Pass
empty Age: [Blank], should displayed for
mandatory Gender: [Blank] display an empty
fields error for mandatory
empty fields.
mandatory
fields.
TC010 Verify Same details as an System Duplicate Fail
duplicate existing confirmed should booking was
booking booking prevent allowed; no
prevention duplicate error shown.
booking and
show an
error.
Test ID Test Step Test Data Expected Actual Status
Result Result
TC001 Verify form Name: John Form Form Pass
accepts valid DoeAge: accepts accepted
passenger 30Gender: Male valid
details passenger
details
TC002 Verify form Name: John Form rejects Error Pass
rejects DoeAge: submission displayed
incomplete 30Gender: (left and displays
passenger blank) error
details
TC003 Verify seat Seat Preference: Seat Preference Pass
preference Window preference recorded
selection is recorded
(window/aisle) in the form
TC004 Verify form Passenger 1: Form Form Pass
allows multiple John Doe (Age: accepts accepted
passengers 30, details of
Male)Passenger both
2: Jane Doe passengers
(Age: 28,
Female)
TC005 Verify class Class: Sleeper Correct Class Pass
selection (e.g., class recorded
First Class, selection is
Sleeper) recorded
TC006 Verify payment Ticket Price: Payment Payment Pass
section for $100Payment section recorded
correct amount Method: Cash reflects
correct total
amount
TC007 Verify that Date: Date and Date and Pass
reservation 12/09/2024Time: time are time
date and time 14:30 correctly recorded
fields are recorded in
correctly the form
formatted
TC008 Verify form Date: Form shows Error Pass
rejects invalid 32/13/2024 an error displayed
date input message
indicating
an invalid
date
TC009 Verify form Name: John Form Concession Pass
accepts DoeAge: applies applied
concession 65Concession concession
details (Senior Type: Senior and adjusts
citizen/Student) Citizen ticket price
accordingly
TC010 Verify form Passenger 1: Total fare is Total fare Pass
calculates total John Doe calculated calculated
fare for ($50)Passenger as $100
multiple 2: Jane Doe
passengers ($50)
Test ID Test Step Test Data Expected Actual Status
Result Result
TC001 Enter valid Email: Email Email is Pass
email [email protected] should be accepted
address accepted,
no
validation
error
TC002 Enter valid Mobile Number: Mobile Mobile Pass
mobile 9123456789 number number
number should be accepted,
accepted, OTP
OTP sent received
TC003 Enter OTP: 98765 Error Error Pass
incorrect message message
OTP should displayed
appear:
"Invalid
OTP"