0% found this document useful (0 votes)
7 views22 pages

Test Case ID Test Scen Ario Pre-Conditions Test Steps Expec Ted Resul Ts Actua L Resul Ts Test Results

Uploaded by

Ajinkya Pawar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views22 pages

Test Case ID Test Scen Ario Pre-Conditions Test Steps Expec Ted Resul Ts Actua L Resul Ts Test Results

Uploaded by

Ajinkya Pawar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Test Case ID Test Pre-Conditions Test Expec Actua Test

Scen Steps ted l Results


ario Resul Resul
ts ts
TC_1 Veri Browser launched; navigate to Enter Login Login Pass
fy https://democontosodatadevaos.sandbox.ax.dynamic the must succes
login s.com/?cmp=USMF&mi=DefaultDashboard valid be sfully
and userna succes done.
pass me sful.
word and
passw
ord
succes
sfully.

TC_2 Crea Login successful 1. Purch Purch Pass


te Click ase ase
new "new order order
purc order" must creati
hase on the be on
orde left succes succes
r side of sful. sfully
the done.
dashb
oard.
2.
Enter
vendo
r
accou
nt and
site
name.
3.
Save
the
details
after
enteri
ng
manda
tory
fields.
TC_3 Sear Login successful Enter Item Item Pass
ch the numb numb
item associ er er
num ated must added
ber item be succes
numb added sfully.
er for succes
the sfully.
vendo
r.
TC_4 Save Login successful Click Purch Purch Pass
and the ase ase
confi save order order
rm button creati creati
purc and on on
hase confir must succes
orde m the be sful.
r purch succes
ase sful.
order.
TC_5 Appr Purchase order created successfully 1. Purch Purch Pass
ove Navig ase ase
purc ate to order order
hase the appro appro
orde purch val val
r ase must succes
order be sful.
list. succes
sful.
2.
Select
the
newly
create
d
purch
ase
order.
3.
Click
on the
"Appr
ove"
button
.

Fig: PRAC1
Test Test Pre- Test Steps Expected Actual Test
Case Scenario Conditions Results Results Results
ID
TC_1 Verify Browser Enter the Login must Login Pass
login and launched; valid be successfully
password navigate to username successful. done.
the and
Inventory password
Management successfully.
System login
page.
TC_2 Add new Login 1. Go to Item must Item added Pass
inventory successful "Add Item" be added successfully.
item section. successfully
2. Enter to
item details inventory.
(name, SKU,
quantity,
etc.).

3. Save the
new item
details.
TC_3 Search Login Enter the The correct Item details Pass
inventory successful item SKU or item details displayed
item name in the must be correctly.
search bar displayed.
and execute
the search.

TC_4 Update Login 1. Search Item Item Pass


inventory successful; for the quantity quantity
item item exists in item. must be updated
quantity inventory updated successfully.
2. Go to
successfully.
item details.

3. Update
the
quantity.
4. Save the
changes.

FIG:PRAC2
Test Test Scenario Pre- Test Expected Actual Test
Case ID Conditions Steps Results Results Results
TC_1 Verify Calculator 1. Enter The result Result Pass
addition application the first should displayed
functionality is open number display as
(e.g., 5). the sum expected.
2. Press (8).
the "+"
button.
3. Enter
the
second
number
(e.g., 3).
4. Press
"=".
TC_2 Verify Calculator 1. Enter The result Result Pass
subtraction application the first should displayed
functionality is open number display as
(e.g., 9). the expected.
2. Press difference
the "-" (5).
button.
3. Enter
the
second
number
(e.g., 4).
4. Press
"=".
TC_3 Verify Calculator 1. Enter The result Result Pass
multiplication application the first should displayed
functionality is open number display as
(e.g., 6). the expected.
product
(42).
TC_4 Verify Calculator 1. Enter The result Result Pass
addition application the first should displayed
functionality is open number display as
(e.g., 5). the sum expected.
2. Press (8).
the "+"
button.
3. Enter
the
second
number
(e.g., 3).
4. Press
"=".
TC_5 Verify Calculator 1. Enter The result Result Pass
subtraction application the first should displayed
functionality is open number display as
(e.g., 9). the expected.
2. Press difference
the "-" (5).
button.
3. Enter
the
second
number
(e.g., 4).
4. Press
"=".
TC_6 Verify Calculator 1. Enter The result Result Pass
multiplication application the first should displayed
functionality is open number display as
(e.g., 6). the expected.
product
(42).

FIG PRAC 3
Test Test Pre- Test Steps Expected Actual Test
Case Scenario Conditions Results Results Results
ID
TC_1 Verify form Browser Open the The form Form loaded Pass
loading launched; railway should load successfully.
navigate to reservation successfully.
reservation form page.
page
TC_2 Verify Form page 1. Attempt The form Error Pass
mandatory loaded to submit should messages
fields the form display error displayed.
validation without messages
filling for missing
mandatory mandatory
fields. fields.
2. Check for
error
messages.
TC_3 Verify valid Form page 1. Enter a The form Name Pass
input for loaded valid name should accepted
passenger (e.g., "John accept the successfully.
name Doe") in the name
passenger without
name field. errors.
2. Submit
the form.
TC_4 Verify Form page 1. Enter The form Error Pass
invalid input loaded invalid should displayed as
for characters display an expected.
passenger (e.g., error for
name "1234@#!") invalid name
in the input.
passenger
name field.
2. Submit
the form.
TC_5 Verify date Form page 1. Enter a The form Error Pass
of journey loaded past date in should displayed as
validation the "Date of display an expected.
Journey" error for
field. past date
2. Submit entry.
the form.
TC_6 Verify seat Form page 1. Choose a Selected Seat type Pass
selection loaded seat type seat type reflected as
(e.g., AC, should be selected.
Sleeper, reflected in
General). the form.
2. Ensure
seat type is
selectable.
TC_7 Verify Form 1. Proceed Payment Payment Pass
payment completed to payment gateway processed
integration with valid after filling should load successfully.
details all required and process
details. payment.
2. Choose a
payment
method
(e.g., credit
card, net
banking).
3. Submit
payment.
TC_8 Verify Payment 1. Complete Booking Confirmation Pass
booking successful the confirmation displayed
confirmation payment. should be and emailed.
2. Check if displayed
booking and/or
confirmation emailed.
is displayed
or sent via
email.
TC_9 Verify Booking 1. Go to the The booking Booking Pass
cancellation completed booking should be canceled
feature history. canceled, successfully.
2. Select a and a refund
booking and process
click should start
"Cancel". if applicable.
3. Confirm
the
cancellation.
TC_10 Verify Form page 1. Enter an The form Error Pass
passenger loaded invalid age should displayed as
age (e.g., display an expected.
validation negative error for
value or invalid age
extremely entry.
high age like
200) in the
age field.
2. Submit
the form.

FIG PRAC 4
Test Test Pre- Test Steps Expected Actual Results Test
Case Scenario Condition Results Result
ID s s
TC_1 Verify login Browser Open the e- The login form Login form Pass
form loads launched; commerce should load loaded
successfully navigate login page. successfully. successfully.
to login
page
TC_2 Verify login Login 1. Enter valid User should be Login Pass
with valid page username/ema logged in successful,
credentials loaded il and successfully redirected to
password. and redirected homepage.
2. Click on the to the
"Login" button. homepage or
user account
page.
TC_3 Verify login Login 1. Enter invalid Error message Error message Pass
with invalid page username/ema should appear, displayed.
credentials loaded il or password. indicating
2. Click on the invalid
"Login" button. credentials.
TC_4 Verify login Login 1. Leave Error message Error message Pass
with empty page username/ema should appear, displayed.
fields loaded il and password indicating
fields blank. mandatory
2. Click on the fields.
"Login" button.
TC_5 Verify Login 1. Click on the A reset link or Reset link/OTP Pass
"Forgot page "Forgot OTP should be sent.
Password" loaded Password" link. sent to the
functionalit 2. Enter a registered
y registered email or phone
email/phone number.
number.
3. Submit the
form.
TC_6 Verify Login 1. Enter the Password Password Pass
password page password in characters masked
masking loaded the password should be correctly.
field. masked with
2. Check if the dots or
password asterisks.
characters are
masked.
TC_7 Verify Login 1. Enter the Password Password Pass
"Show page password. should be displayed as
Password" loaded visible in plain plain text.
functionalit text when
y 2. Click on the "Show
"Show Password" is
Password" selected.
option.
TC_8 Verify login Login 1. Enter an Error message Error message Pass
with page unregistered should appear, displayed.
unregistere loaded email or phone indicating the
d number. account does
email/phon 2. Enter a not exist.
e password.
3. Click on the
"Login" button.
TC_9 Verify Login 1. Check the The Username/ema Pass
"Remember page "Remember username/ema il pre-filled.
Me" loaded Me" option. il should be
functionalit 2. Enter valid pre-filled on
y credentials and the login page
log in. after logging
3. Log out and out.
return to the
login page.
TC_1 Verify login Login 1. Attempt After multiple Temporary Pass
0 rate limiting page multiple failed attempts, lockout or
loaded consecutive the account captcha
failed login should be appeared.
attempts with temporarily
incorrect locked or
credentials. captcha should
appear.

FIG PRAC 5
Test Test Scenario Pre- Test Steps Expected Actual Test
Case Conditions Results Results Results
ID
TC_1 Verify page Browser 1. Measure the Page should Page loaded Pass
load time launched; time taken for load within an within
navigate to the page to acceptable acceptable
the load time (e.g., < 3 time.
webpage completely. seconds).
TC_2 Verify page Browser 1. Check that Page layout Page layout Pass
layout and launched; the page and design as per design.
design navigate to layout aligns should match
the with the design the expected
webpage requirements. design.
2. Verify
alignment,
spacing, and
fonts.
TC_3 Verify broken Browser 1. Check all All links All links Pass
links launched; links on the should be functional,
navigate to page by functional, no 404
the clicking them. and no 404 errors.
webpage 2. Verify they errors should
lead to the appear.
correct
destination
without errors.
TC_4 Verify image Browser 1. Check that All images All images Pass
loading launched; all images load should load loaded
navigate to correctly. properly, correctly.
the 2. Ensure without
webpage images are broken image
clear and icons.
aligned with
the design.
TC_5 Verify form Form page 1. Enter valid Form should Form Pass
submission loaded data into form submit submitted
fields. successfully successfully.
and navigate
2. Click the to the
"Submit" confirmation
button. page or show
success
message.
TC_6 Verify input Form page 1. Enter invalid Form should Validation Pass
validation on loaded data (e.g., display errors
form fields letters in a validation displayed.
numeric field). errors for
incorrect
inputs.
2. Click
"Submit"
button.
TC_7 Verify Browser 1. Check the The page Layout Pass
responsive launched; page layout on layout should adjusted for
design adjust different adjust all screen
window size screen sizes according to sizes.
or device (desktop, screen size
tablet, mobile). and remain
readable.
TC_8 Verify cross- Page 1. Open the Page should Page Pass
browser opened in page in render rendered
compatibility multiple different correctly in all correctly in
browsers browsers major all browsers.
(Chrome, browsers.
Firefox, Safari,
Edge).
TC_9 Verify Browser 1. Check for Page should Accessibility Pass
accessibility launched; WCAG meet standards
compliance accessibility compliance accessibility met.
tools using standards
enabled accessibility (e.g., WCAG
tools (e.g., 2.1).
screen reader,
color contrast).
TC_10 Verify page Browser 1. Verify the The page Page loaded Pass
security launched page uses should load securely with
HTTPS. securely over HTTPS.
2. Check for HTTPS, with
any security no security
warnings. warnings.
TC_11 Verify pop- Browser 1. Trigger any Pop-ups and Pop- Pass
ups and launched; pop-ups or modals ups/modal
modal navigate to modal should appear dialogues
dialogues webpage dialogues. and close as function
2. Check that expected, correctly.
they open and without
close as causing page
expected. issues.
TC_12 Verify Browser 1. Login (if Session Session Pass
session launched; applicable), should persist management
management logged in (if then close and based on the as expected.
applicable) reopen the settings, or
browser. user should
2. Check if the be required to
session log in again.
persists.

FIG PRAC 6
Test Test Scenario Pre- Test Steps Expected Actual Test Results
Case Conditions Results Results
ID
TC_1 Verify if-else Function or 1. Pass input The function Code path Pass
decision with module with that meets should follow followed as
single if-else the if the code expected.
condition condition is condition. path
created specified in
2. Execute the if block.
the function.
TC_2 Verify if-else Function or 1. Pass input The function Code path Pass
decision with module with that does should follow followed as
else condition if-else not meet the the code expected.
condition is if condition. path
created specified in
2. Execute the else
the function. block.

TC_3 Verify nested Function 1. Pass input The function Nested Pass
if-else with nested that matches should conditions
conditions if-else nested if correctly evaluated
statements conditions. evaluate and correctly.
is created follow the
2. Execute nested
the function. conditions
path.

TC_4 Verify Function 1. Pass input The function Both Pass


multiple with that satisfies should follow conditions
conditions in multiple if both the code met, path
if-else (AND conditions is conditions in path followed.
condition) created an if (A && specified in
B) the if block
statement. only if both
conditions
are true.
2. Execute
the function.
TC_5 Verify Function 1. Pass input B)` The function
multiple with that satisfies statement. should
conditions in multiple if one of the follow the
if-else (OR conditions is conditions in code path
condition) created an `if (A specified in
2. Execute the if block
the if at least
function. one
condition is
true.

TC_6 Verify switch- Function 1. Pass an The function Matching Pass


case with a input value should case
statement switch-case that matches execute the executed as
statement is one of the code in the expected.
created case values. matching
case block.
2. Execute
the function.

TC_7 Verify switch- Function 1. Pass an The function Default Pass


case default with a input value should case
statement switch-case that does execute the executed as
statement is not match code in the expected.
created any case default block.
value.
2. Execute
the function.

TC_8 Verify for loop Function 1. Pass a The loop Loop Pass
functionality with a for range of should iterated
loop is values that iterate the correct
created should be specified number of
iterated by number of times.
the for loop. times.
2. Execute
the function.

TC_9 Verify while Function 1. Pass a The loop Loop Pass


loop with with a while value that should executed as
valid loop is meets the continue to expected.
condition created while loop execute until
condition. the condition
is false.

FIG PRAC 7
Test Plan Description
Section
Project WhatsApp-like Mobile Application
Name
Version 1
Test To ensure the mobile application is functioning
Objective correctly and meets the requirements.
Scope Functional, usability, security, and performance
testing of core features.
Testing Functional Testing, Usability Testing, Security
Types Testing, Performance Testing
Test Mobile devices (iOS and Android), emulators, and
Environment testing tools (e.g., Appium)
Test Tools Selenium, Appium, JMeter, Firebase Test Lab
Team Test Manager, Test Engineers, QA Analysts
Members
Testing Start Date: MM/DD/YYYY
Schedule
End Date: MM/DD/YYYY
Risk High: Data security breaches, low performance
Assessment Medium: Compatibility issues
Approval Test Plan Approval by stakeholders

PRAC 8
Test Plan Section Description
Project Name MS Notepad-like Application
Version 1
Test Objective To ensure the text editor application functions
correctly and meets user requirements.
Scope Functional, usability, performance, and security
testing of core features.
Testing Types Functional Testing, Usability Testing,
Performance Testing, Security Testing
Test Environment Windows OS, various versions (e.g., Windows
10, 11)
Test Tools Manual Testing, Automation Tools (e.g.,
Selenium for UI tests), Performance Testing
Tools
Team Members Test Manager, Test Engineers, QA Analysts
Testing Schedule Start Date: MM/DD/YYYY
End Date: MM/DD/YYYY
Risk Assessment High: Data loss, low performance
Medium: Compatibility issues
Approval Test Plan Approval by stakeholders

Test
Test Case Expected
Case Preconditions Test Steps Status
Description Result
ID
TC- Verify Application 1. Open A new Not
001 creating a launched the blank Executed
new text application document
document 2. Click on opens
"New"

TC- Verify typing New 1. Type Text Not


002 text in a document text in the appears in Executed
document opened document the
window document
TC- Verify saving Document 1. Click on Document Not
003 a document with text "File" is saved Executed
2. Select successfully
"Save" at the
3. Choose chosen
location location
and
filename
TC- Verify saving Document 1. Click on Document Not
004 a document with text "File" is saved Executed
with a new 2. Select with the
name "Save As" new name

3. Choose
location
and
filename
TC- Verify Application 1. Click on Selected Not
005 opening an launched "File" file opens Executed
existing text 2. Select in a new
document "Open" window
3. Choose
a file to
open
TC- Verify Document 1. Click on Print dialog Not
006 printing a with text "File" opens; Executed
document document
2. Select prints
"Print" correctly
3. Confirm
printer
settings
TC- Verify Text entered 1. Select Text is Not
007 copying text in document text copied to Executed
2. Right- clipboard
click and
select
"Copy"
TC- Verify Text copied 1. Right- Copied text Not
008 pasting text to clipboard click in is pasted in Executed
document the
2. Select document
"Paste"

TC- Verify undo Text entered 1. Type Last action Not


009 functionality in document text is undone Executed
2. Click on
"Edit"
3. Select
"Undo"

TC- Verify redo Action 1. Click on Last Not


010 functionality undone "Edit" undone Executed
2. Select action is
"Redo" redone
TC- Verify Document 1. Click on Search Not
011 search with text "Edit" dialog Executed
functionality 2. Select appears;
"Find" term is
3. Enter highlighted
search if found
term
TC- Verify Application 1. Open a Application Not
012 application launched large text opens file Executed
performance file (e.g., without lag
with large several or crash
files MBs)

PRAC 9
Defect 1
Field Description
Defect ID LMS-001
Project Name Library Management System

Reported By Yash
Date Reported 9/15/2024
Defect Status Open
Severity Major
Priority High
Environment Testing
Version 1
Module/Feature User Management
Description User is unable to log in with valid credentials.
Steps to 1. Open the Library Management System.
Reproduce 2. Enter valid username and password.
3. Click on "Login".
4. Observe the error message displayed.
Expected Result: User should be logged in successfully.
Actual Result: "Invalid credentials" error message is displayed despite
valid inputs.
Attachments Screenshot of the error message.
Assigned To Jane Smith
Resolution [To be filled in once resolved]
Date Resolved [To be filled in once resolved]

Defect 2

Field Description
Defect ID LMS-002
Project Name Library Management System

Reported By Yash

Date Reported 9/20/2024

Defect Status Open

Severity Major
Priority High
Environment Production
Version 1
Module/Feature Book Management
Description System crashes when trying to add a new book with invalid ISBN format.
Steps to Reproduce 1. Navigate to the "Add Book" section.
2. Enter details with an invalid ISBN format (e.g., "12345").
3. Click "Save".
Expected Result: Error message should indicate the invalid ISBN format.
Actual Result: Application crashes and closes unexpectedly.
Attachments N/A
Assigned To Mark Thompson
Resolution [To be filled in once resolved]
Date Resolved [To be filled in once resolved]

Defect 3

Field Description
Defect ID LMS-003
Project Name Library Management System
Reported By Yash
Date Reported 9/25/2024
Defect Status Open
Severity Minor
Priority Medium
Environment Testing
Version 1
Module/Feature Search Functionality
Description Search results are not filtered correctly when using multiple
keywords.
Steps to 1. Go to the search bar.
Reproduce 2. Enter multiple keywords (e.g., "science fiction").
3. Click on "Search".
Expected Result: Only relevant books should appear.
Actual Result: Irrelevant books are included in the results.
Attachments N/A

Assigned To Lisa Adams

Resolution [To be filled in once resolved]


Date Resolved [To be filled in once resolved]

Defect 4

Field Description
Defect ID LMS-004
Project Name Library Management System
Reported By Yash
Date Reported 10/1/2024
Defect Status Open
Severity Major
Priority High
Environment Production
Version 1
Module/Feature Borrowing Management
Description Users can borrow more books than allowed by the system's
borrowing policy.
Steps to 1. Log in as a user.
Reproduce 2. Attempt to borrow more than the allowed limit of books
(e.g., 5).
Expected Result: System should restrict borrowing to the
allowed limit.
Actual Result: System allows borrowing of more books
without any restrictions.
Attachments N/A
Assigned To Robert Green
Resolution [To be filled in once resolved]
Date Resolved [To be filled in once resolved]

Defect 5

Field Description
Defect ID LMS-005
Project Name Library Management System
Reported By Yash
Date Reported 10/5/2024
Defect Status Open
Severity Minor
Priority Low
Environment Testing
Version 1
Module/Feature User Notifications
Description Notification for overdue books does not trigger for
users.
Steps to 1. Borrow a book.
Reproduce
2. Set a reminder for overdue notifications.
3. Wait for the notification period.
Expected Result: User should receive an overdue
notification.
Actual Result: No notification is received.
Attachments N/A
Assigned To Grace Taylor
Resolution [To be filled in once resolved]
Date Resolved [To be filled in once resolved]

FIG PRAC 10
Test Test Case Description Test Steps Expected Result Status
Case ID
TC001 Verify opening 1. Launch the WordPad WordPad application Pending
WordPad application application. opens successfully.
TC002 Verify creating a new 1. Open WordPad. A new blank document Pending
document 2. Click on "File". is created.
3. Select "New".
TC003 Verify saving a 1. Open WordPad. Document is saved Pending
document 2. Type some text. successfully at the
3. Click on "File". chosen location.
4. Select "Save As".
5. Choose a location and
file name.
6. Click "Save".
TC004 Verify opening an 1. Open WordPad. Selected document Pending
existing document 2. Click on "File". opens successfully.
3. Select "Open".
4. Choose an existing
document.
5. Click "Open".
TC005 Verify formatting text 1. Open a new Selected text is Pending
(Bold, Italics, document. formatted as specified.
Underline) 2. Type some text.
3. Select the text.
4. Click on the "Bold",
"Italic", or "Underline"
button.
TC006 Verify changing font 1. Open a new Font type and size of Pending
type and size document. selected text change
2. Type some text. accordingly.
3. Select the text.
4. Choose a different font
type and size from the
toolbar.
TC007 Verify inserting an 1. Open a new The selected image is Pending
image document. inserted into the
2. Click on "Insert". document.
3. Select "Picture".
4. Choose an image from
the file explorer.
5. Click "Insert".
TC008 Verify printing a 1. Open a document. Document is sent to the Pending
document 2. Click on "File". printer successfully.
3. Select "Print".
4. Choose a printer.
5. Click "Print".

TC009 Verify text alignment 1. Open a new Text aligns as specified. Pending
(Left, Center, Right) document.
2. Type some text.
3. Select the text.
4. Click on "Align Left",
"Align Center", or "Align
Right" button.
TC010 Verify changing 1. Open a new Background color of the Pending
background color document. document changes
2. Click on "Format". accordingly.
3. Select "Page Color".
4. Choose a color.
TC011 Verify spell check 1. Open a new The misspelled word is Pending
functionality document. highlighted or corrected.
2. Type a misspelled
word.
3. Wait for the underline
or click on "Spelling".
TC012 Verify using keyboard 1. Open a new Text formatting works as Pending
shortcuts document. per the keyboard
2. Type some text. shortcut used.
3. Use keyboard
shortcuts (e.g., Ctrl + B
for Bold).
TC013 Verify closing the 1. Open WordPad. WordPad application Pending
application 2. Click on "File". closes successfully.
3. Select "Exit".

You might also like