Ste Prac Que
Ste Prac Que
Generate test cases to validate quantity for selected goods in Inventory management
system.
TEST TEST
CASE TEST CASE CASE TEST CASE EXPECTED ACTUAL
ID DESCRIPTION PRECONDITION STEPS DATA Result RESULT STATUS
1.Select
item.
2.Enter Quantity Quantity
quantity increases; increases;
Check if valid (e.g., 10) "Quantity "Quantity
quantities can User logged in, 3.Click updated updated
TC_001 be added. item exists "Save." Quantity: 10 successfully." successfully." PASS
1.Select
item.
2.enter
subtract Stock Stock
Check if quantity Current decreases; decreases;
quantities can User logged in, 3.click Stock:20 confirmation confirmation
TC_002 be reduced. sufficient stock. save subtract:5 message. message. PASS
1.select
item
2.Enter
invalid Error Error
input message: message:
Check invalid User logged in, 3.click "Invalid "Invalid
TC_003 inputs item exists. save input:10,abc quantity." quantity." PASS
1.select
item
2.enter Error: Error:
quantity:0 "Quantity "Quantity
Check if zero is User logged in, 3.click cannot be cannot be
TC_004 rejected. item exists. save quantity:0 zero." zero." PASS
1.Select
item.
2.Enter
reduction
Check > stock Error: Error:
subtraction User logged in, 3.click Stock:5 "Insufficient "Insufficient
TC_005 beyond stock. stock available. save quantity:10 stock." stock." PASS
1.Select
item
2.Enter
quantity > Error: Error:
Check limit for max limit "Exceeds "Exceeds
maximum User logged in, 3.click max limit:999 maximum maximum
TC_006 quantity. item exists save quantity:1000 limit." limit." PASS
2. Generate test cases to validate supplier’s contact details like Aadhar number, mobile
number, E-mail address.
ACTUA
TEST TEST CASE TEST L
CASE DESCRIPTIO PRECONDITI CASE EXPECTE RESUL STATU
ID N ON STEPS TEST CASE DATA D Result T S
Verify that
the mobile
1.Enter
number valid
Mobile
follows the mobile number
correct number Mobile is
TC_00 format (10 Supplier form 2.click Mobile Number: number is accepte
1 digits). is accessible. save 9876543210 accepted. d. PASS
Error
Error messag
Verify the 1.Enter
message: e:
system invalid Mobile Numbers: "Invalid "Invalid
rejects invalid numbers 98765, mobile mobile
TC_00 mobile Supplier form 2.click 123456789012, number number
2 numbers. is accessible. save abc9876543 format." format." PASS
1.Enter
Verify that valid
the email email
address addresse Email: Email is
TC_00 follows a Supplier form s 2.click example@domain.c Email is accepte
3 valid format. is accessible. save om accepted. d. PASS
1.Enter
Verify the invalid
system email Invalid Invalid
rejects invalid addresse Emails: example.com, email email
TC_00 email Supplier form s 2.click @domain.com, address address
4 addresses. is accessible. save example@domain format format PASS
1.Enter
Verify that valid
Aadhar
the Aadhar Aadhar number
number is 12 number Aadhar is
TC_00 digits long Supplier form 2.click Aadhar: number is accepte
5 and numeric. is accessible. save 123456789012 accepted. d. PASS
1.Enter
Verify the invalid
system Aadhar Invalid Invalid
rejects invalid numbers Aadhar: 12345, Aadhar Aadhar
TC_00 Aadhar Supplier form 2.click abc123456789, number number
6 numbers. is accessible. save 12345678901 format. format. PASS
5. Prepare the test cases to check availability of any train from Mumbai to Delhi for next 4
days.
ACTUA
TEST TEST TEST L
CASE TEST CASE CASE CASE EXPECTE RESUL
ID DESCRIPTION PRECONDITION STEPS DATA D Result T STATUS
1.Enter source:
Mumbai. List of
Verify train 2.Enter
Source:
trains or
availability destination: List of "No
Delhi. 3.Select Mumbai
from Mumbai Train booking Destination: trains or trains
today’s date.
to Delhi for system is 4.Click "Search Delhi Date: "No trains availabl
TC_001 today. accessible. Trains." Current Date available." e." PASS
1.Enter source:
Mumbai.
2.Enter List of
Source:
Verify train destination:
Mumbai
trains or
availability Delhi. 3.Select List of "No
tomorrow’s Destination:
from Mumbai Train booking Delhi trains or trains
date. 4.Click
to Delhi for system is "Search Date:Current "No trains availabl
TC_002 tomorrow. accessible. Trains." Date + 1 available." e." PASS
1.Enter source:
Mumbai.
2.Enter
destination: List of
Source:
Delhi. 3.Select
Mumbai
trains or
Verify train the date two List of "No
days from Destination:
availability for Train booking Delhi Date: trains or trains
today 4.Click
the day after system is "Search Current Date "No trains availabl
TC_003 tomorrow. accessible. Trains." +2 available." e." PASS
1.Enter source:
Mumbai.
2.Enter
destination:
Delhi. 3.Verify List of
Source:
train availability
Mumbai
trains or
Verify train for the fourth List of "No
day from Destination:
availability for Train booking Delhi Date: trains or trains
today.. 4.Click
the fourth day system is "Search Current Date "No trains availabl
TC_004 from today. accessible. Trains." +4 available." e." PASS
1.Enter source:
Mumbai.
Error
2.Enter
destination: messag
Source:
Delhi. 3.Select
Mumbai
Error e:
Verify error a date more message: "Please
than 4 days Destination:
message for Train booking Delhi Date: "Please select a
ahead. 4.Click
dates beyond 4 system is "Search Current Date select a valid
TC_005 days. accessible. Trains." +5 valid date date PASS
6. Generate test cases to validate user login credentials on Railway reservation system.
TEST
CASE TEST CASE TEST CASE EXPECTED ACTUAL
ID DESCRIPTION STEPS TEST CASE DATA Result RESULT STATUS
1.Enter valid
username and Login Login
password. Username: successful, successful,
Verify login with 2.Click validUser123, redirect to redirect to
TC_001 valid credentials "Login." Password: Valid@123 dashboard. dashboard. PASS
1.Enter
invalid Error:
username Username: Error: "Invalid
Verify login fails and valid invalidUser, "Invalid username
with incorrect password. Password: username or or
TC_002 username. 2.Click login Valid@123 password." password." PASS
1.Enter valid Error:
username Username: Error: "Invalid
Verify login fails and invalid validUser123, "Invalid username
with incorrect password. Password: username or or
TC_003 password. 2.click login Invalid@456 password." password." PASS
1.Leave Error: Error:
Verify login fails fields blank. Username: (blank), "Username "Username
TC_004 when username 2.click login Password: (blank) and and PASS
and password password password
fields are empty. are are
required." required."
1.Enter Error:
invalid Username: Error: "Account
credentials 5 validUser123, "Account locked.
Verify account times. 2.Try Password: locked. Please
locks after 5 valid Invalid@123 (5 Please reset reset
TC_005 failed attempts. credentials. times) password." password." PASS
1.Click
"Forgot
Password."
2.Enter Password Password
Verify "Forgot registered reset link reset link
Password" email and Email: sent to sent to
TC_006 functionality. submit. user@example.com email. email. PASS
TEST TEST
CASE TEST CASE CASE EXPECTED ACTUAL
ID DESCRIPTION STEPS TEST CASE DATA Result RESULT STATUS
1.Enter valid
username,
email, 1.Username: newUser123 Successful Successful
Verify 2.Email: registration, registration,
password, newuser@example.com
successful and phone. user user
3.Password:
registration with 2.Click ValidPassword@123 redirected to redirected to
TC_001 valid details. "Register." 4.Phone: 9876543210 dashboard. dashboard. PASS
1.Enter
Error
invalid email Error message:
Verify error for format. message: "Invalid
invalid email 2.Click Email: invalid- "Invalid email email
TC_002 format. "Register." email.com format." format." PASS
Error Error
1.Enter a message: message:
Verify error for short "Password "Password
password less password. must be at must be at
than minimum 2.Click least 8 least 8
TC_003 length. "Register." Password: 123 characters." characters." PASS
Error Error
1.Leave message: message:
Verify error fields blank. "Username "Username
when required 2.Click Username: (blank) and email are and email are
TC_004 fields are empty. "Register." Email: (blank) required." required." PASS
1.Enter an Error Error
incorrect
phone
message: message:
number "Invalid "Invalid
Verify error for format. phone phone
invalid phone 2.Click number number
TC_005 number format. "Register." Phone: 12345 format." format." PASS
9. Prepare the test cases for any website which sends OTP on your mobile/ email address.
10. Prepare the test cases to test your college website for any 4 links.
TES
T
CA
TEST SE
CASE TEST CASE PRECONDITIO TEST CASE DAT EXPECTED ACTUAL
ID DESCRIPTION N STEPS A Result RESULT STATUS
The "About The "About
Us" page Us" page
should open should open
1.Click the without errors without errors
"About Us" link
and display and display
Verify if the User is on the on the
homepage. the relevant the relevant
"About Us" link homepage of information information
2.Check if the
redirects to the the college "About Us" page about the about the
TC_001 correct page. website. loads correctly. N/A college. college. PASS
1.Click the
Verify if the User is on the "Courses" link The The
"Courses" link homepage of on the "Courses" "Courses"
redirects to the the college homepage. page should page should
TC_002 correct page website. 2.Check if the N/A open and list open and list PASS
showing "Courses" all available all available
available page loads courses courses
courses. and displays offered by offered by
the list of the college. the college.
courses.
1.Click the
"Admissions" The The
link on the "Admissions" "Admissions"
homepage.
page should page should
2.Check if the
Verify if the "Admissions" load and load and
"Admissions" page loads provide clear provide clear
link redirects to User is on the correctly, instructions instructions
displaying
the correct homepage of for the for the
details about the
admissions the college admission admission admission
TC_003 page. website. process. N/A process. process. PASS
1.Click the The "Contact The "Contact
"Contact Us" Us" page Us" page
Verify if the link on the should load should load
"Contact Us" homepage. with accurate with accurate
2.Check if the contact details contact details
link redirects to "Contact Us" such as phone such as phone
the correct User is on the page loads number, number,
contact page homepage of with the email, and email, and
with contact the college correct contact physical physical
TC_004 details. website. details. N/A address. address. PASS
11. Generate the Test cases to check the program written for printing the day of the Week.
TEST TEST
CASE TEST CASE PRECONDI TEST CASE CASE EXPECTED ACTUAL
ID DESCRIPTION TION STEPS DATA Result RESULT STATUS
1.Open the
Verify the program. 2.Enter a
valid number
program outputs Program is Program Program
between 1 and 7.
the correct day compiled 3.Observe the Input: displays displays
TC_001 for valid inputs and running output. 1 "Monday" "Monday" PASS
For 1:
1.Open the For 1: Program
program. 2.Enter Program displays
Ensure the the boundary displays "Monday".
program values (1 and 7). "Monday". For For 7:
handles Program is 3.Observe the 7: Program Program
boundary inputs compiled output for each Inputs: displays displays
TC_002 correctly and running input. 1, 7 "Sunday". "Sunday". PASS
Verify the
program 1.Open the Program Program
program. 2.Enter an
handles out-of- Program is displays displays
invalid number (e.g.,
range inputs compiled 0 or 8). 3.Observe Inputs: "Invalid "Invalid
TC_003 gracefully. and running the output. 0, 8 input. input. PASS
1.Open the
program. 2.Enter
Check how the a non-numeric Program Program
program Program is input (e.g., "abc"). displays displays
handles non- compiled 3.Observe the Input: "Invalid "Invalid
TC_004 numeric inputs. and running output. "abc" input. input. PASS
Program
Ensure the 1.Open the Input: Program displays
program. 2.Provide
program Program is "" displays "Input
an empty input.
manages null or compiled 3.Observe the (empty "Input cannot cannot be
TC_005 empty input and running output. string) be empty empty PASS
without
crashing.
Verify the 1.Open the
program program. 2.Enter a Program Program
decimal number
handles decimal Program is displays displays
(e.g., 2.5).
inputs compiled 3.Observe the Input: "Invalid "Invalid
TC_006 appropriately. and running output. 2.5 input. input. PASS
12. Generate the Test cases to check the program written for even and odd numbers.
13. Test the option for ‘word wrap’ of format menu and prepare the Test plan for the same.
Objective:
To ensure the Word Wrap feature toggles text wrapping in the editor correctly.
Scope:
Test Strategy:
Test Criteria:
Test Deliverables:
Schedule:
Resources:
Risks:
Assumptions:
Dependencies:
Approval:
14. Prepare the Test plan and test cases for page setup option in Notepad.
Objective:
To ensure the Page Setup option in Notepad functions correctly, allowing users to configure
page margins, orientation, and paper size.
Scope:
Test Strategy:
Test Criteria:
Test Deliverables:
Testing Schedule:
Risk Analysis:
Assumptions:
Dependencies:
Approval:
TEST TEST
CASE TEST CASE PRECON TEST CASE CASE EXPECTED ACTUAL STAT
ID DESCRIPTION DITION STEPS DATA Result RESULT US
1.Go to File >
Page Setup.
2.Set margins to:
Top: 1 inch,
Bottom: 1 inch,
Left: 0.5 inch,
Right: 0.5 inch.
Notepad is 3.Click OK to
Text Printed Printed
Verify margin save the settings. document document document
open with a 4.Print the
settings are text with reflects the reflects the
document and
applied document verify the multiple configured configured
TC_001 correctly. loaded. margins. lines. margins. margins. PASS
1.Go to File >
Page Setup.
2.Select
Notepad is Landscape
Text
Verify page orientation. document Document is Document is
open with a 3.Click OK to
orientation can text with printed in printed in
save the settings.
be changed to document 4.Print the multiple Landscape Landscape
TC_002 Landscape. loaded. document and lines. orientation. orientation. PASS
check the
orientation.
1.1.Go to File >
Page Setup.
2.Change paper
Notepad is size to A4 3.Click
Text
OK to save the document Document is Document is
open with a settings. 4.Print
text with printed on printed on
the document
Verify paper size document and verify the multiple A4-sized A4-sized
TC_003 can be set to A4. loaded. paper size. lines. paper. paper. PASS
15. Test the option available in Notepad. Prepare the Test plan for the same.
Objective:
To ensure that the various options available in Notepad, such as File, Edit, Format, and
Help, function correctly as per their intended behavior.
Scope:
Test Strategy:
Test Criteria:
Entry Criteria: Notepad is installed and operational.
Exit Criteria: All test cases are executed successfully with no critical defects.
Test Deliverables:
Testing Schedule:
Resource Requirements:
Risk Analysis:
Assumptions:
Dependencies:
Approval:
16. Prepare the test case for any food delivery application
TEST
TEST CASE TEST
CASE DESCRIPTI PRECONDIT CASE EXPECT ACTUAL STAT
ID ON ION TEST CASE STEPS DATA ED Result RESULT US
Message Message
appears appears
in the in the
chat chat
User is 1.Open a chat with the
Contact:
thread thread
Verify logged in and contact "John Doe." and is and is
2.Type "Hello, how are John
sending a has a contact Doe,Messag delivered delivered
you?" in the text input
TC_0 text in the contact field. 3.Tap the Send e: "Hello, how successfu successfu
01 message. list. button. are you?" lly. lly. PASS
User logs User logs
in in
successfu successfu
User has a 1.Open the chat
Email: lly and is lly and is
registered application. 2.Enter the user@exam redirected redirected
Verify login account with valid email and ple.com,Pas to the to the
TC_0 with valid valid password. 3.Tap the sword: home home
02 credentials. credentials. Login button. Pass1234 screen. screen. PASS
The The
received received
message message
1.Keep the chat app open
or running in the appears appears
background. 2.Wait for a Sender: in the in the
User is message to be received Jane Doe chat with chat with
from "Jane Doe." 3.Check
Verify logged in and ,Message: a a
if the notification appears
TC_0 receiving a has an active and the message is "Hi, are you notificatio notificatio
03 message chat open. displayed in the chat. available?" n. n. PASS
The file is The file is
sent sent
successfu successfu
Verify lly and lly and
sending an 1.Open a chat with the appears appears
User is logged contact. 2.Tap the Attach
attachment in and has a File: in the in the
button. 3.Select the file
TC_0 (e.g., chat thread "image.jpg" from the "image.jpg" chat chat
04 image). with a contact. gallery. 4.tap send (2 MB) thread. thread. PASS
The user is
The user is
logged out
Verify logged out
and and
logout 1.Tap on the profile redirected redirected to
TC_0 functionality User is icon or settings. to the login the login
05 . logged in. 2.Select Logout. none screen. screen. PASS
TEST
TEST CASE PRECO
CASE DESCRIPT NDITIO TEST CASE EXPECTE ACTUAL STAT
ID ION N TEST CASE STEPS DATA D Result RESULT US
User logs
User logs in
in successf
successfull ully and
User has y and is is
Verify user a 1.Open the library Username: redirected redirecte
management system.
login with registere user123, to the d to the
2.Enter the valid
TC_0 valid d username and password. Password: dashboard dashboar
01 credentials. account. 3.Tap Login. validPass123 . d. PASS
Books Books
related to related to
"Data "Data
Structures" Structure
are s" are
Verify 1.Navigate to the Search displayed displayed
section. 2.Enter the book
searching User is Search Query: in the in the
title "Data Structures" in
TC_0 for a book logged the search bar. 3.Tap the "Data search search
02 by title. in. Search button. Structures" results. results. PASS
User is The book
The book
logged "Python "Python
Verify in and 1.Search for the book Programmi
"Python Programming." Programmi
adding a searchin Book Title: ng" is ng" is
2.Click on the book from
TC_0 book to the g for a the search results. 3.Tap "Python added to added to
03 cart. book. the Add to Cart button. Programming" the cart. the cart. PASS
The
checkout The
process checkout
completes process
User is successfull completes
logged in successfull
Verify and has 1.Navigate to the Cart y, and the y, and the
checking section. 2.Verify the book user
at least "Java Programming" is in user
out the one book Book in Cart: receives a receives a
the cart. 3.Tap Proceed to
TC_0 books in in the Checkout. 4.Confirm the "Java confirmatio confirmatio
04 the cart. cart. checkout. Programming" n. n. PASS
The user
is
The user is successfull
successfully y
1.Navigate to the Sign Username: registered registered
User is Up page. 2.Enter the newuser,Email: and and
not username, email, and newuser@exampl redirected redirected
TC_0 Verify user registere password 3.Tap e.com,Password: to the login to the login
05 registration. d. Register. newPass123 page. page. PASS
1.Search for the book
Verify book User is Book Book
"C++ Programming."
TC_0 details logged 2.Click on the book from Book Title: "C++ details details
06 page. in. the search results. Programming" (title, (title, PASS
3.Verify the book details author, author,
page shows the title,
availability availabilit
author, and availability.
) are y) are
displayed displayed
correctly. correctly.
REFER PDF
REFER PDF
23. Test the procedure of opening and closing WordPad application using the automation Tool
and Write suitable test cases.
REFER PDF
24. Test the “View” option available in WordPad application. Write suitable test cases.
Test Test
Test Case Expected Actual
Case Preconditions Steps Input Status
Name Result Result
ID Data
1. Open
WordPad. The
2. Click on document's
WordPad is As
Verify the View content
open with a expected
TC_001 "Zoom In" tab. N/A enlarges Pass/Fail
document / Not as
Functionality 3. Select incrementally
loaded. expected
Zoom In with each
multiple click.
times.
1. Open
WordPad.
The
2. Click on
document's
WordPad is the View As
Verify content
open with a tab. expected
TC_002 "Zoom Out" N/A reduces Pass/Fail
document 3. Select / Not as
Functionality incrementally
loaded. Zoom expected
with each
Out
click.
multiple
times.
1. Open
WordPad.
2. Click on
WordPad is The document As
Verify the View
open with a resets to the expected
TC_003 "100%" tab. N/A Pass/Fail
document default 100% / Not as
Zoom Level 3. Select
loaded. zoom level. expected
100%
zoom
level.
Test Test
Test Case Expected Actual
Case Preconditions Steps Input Status
Name Result Result
ID Data
1. Open
WordPad.
The ruler is
2. Click on
WordPad is displayed As
Test "Ruler" the View
open with a when toggled expected
TC_004 Display tab. N/A Pass/Fail
document on and hidden / Not as
Toggle 3. Toggle
loaded. when toggled expected
the Ruler
off.
option on
and off.
1. Open
WordPad.
The status bar
2. Click on
WordPad is is displayed As
Test "Status the View
open with a when toggled expected
TC_005 Bar" Display tab. N/A Pass/Fail
document on and hidden / Not as
Toggle 3. Toggle
loaded. when toggled expected
the Status
off.
Bar option
on and off.
1. Open
WordPad.
2. Click on
WordPad
the View
WordPad is enters full- As
tab.
Verify Full- open with a screen mode, expected
TC_006 3. Select N/A Pass/Fail
Screen Mode document hiding / Not as
Full-
loaded. unnecessary expected
Screen
UI elements.
Reading
View (if
available).
25. Test the “Insert Table” option available in the MS Word. Write the suitable test Cases.
Test Test
Test Case Precondition Expected Actual
Case Steps Input Status
Name s Result Result
ID Data
1. Open
MS Word.
2. Click on As
MS Word is A 3x3
the Insert expecte
Verify Insert open and the table is
TC_00 tab. d / Not Pass/Fai
Table Using user is on a N/A inserted
1 3. Click as l
Default Size blank into the
Table and expecte
document. document.
select the d
default 3x3
table.
1. Open
MS Word.
2. Click on
the Insert
tab. As
MS Word is A 5x5
3. Click expecte
Verify Insert open and the Rows: 5, table is
TC_00 Table. d / Not Pass/Fai
Table Using user is on a Columns inserted
2 4. Select as l
Custom Size blank :5 into the
Insert expecte
document. document.
Table and d
enter
custom
dimensions
(e.g., 5x5).
1. Open
MS Word.
2. Click on
the Insert A 4x4 As
MS Word is
tab. table is expecte
Verify Insert open and the
TC_00 3. Click inserted d / Not Pass/Fai
Table via user is on a N/A
3 Table. using the as l
Grid Option blank
4. Hover grid expecte
document.
over the option. d
grid and
select a
4x4 table.
1. Open
MS Word.
2. Place
MS Word is
the cursor The 3x3
open and the As
at a table is
Verify Table user is on a expecte
specific inserted at
TC_00 Insertion at blank d / Not Pass/Fai
location in N/A the
4 Cursor document as l
the cursor’s
Position with cursor at expecte
document. current
a specific d
3. Follow position.
location.
steps to
insert a
3x3 table.
1. Open The Table
MS Word. Propertie
2. Click on s dialog As
MS Word is
Verify Table the Insert box expecte
open and the
TC_00 Insertion tab. appears, d / Not Pass/Fai
user is on a N/A
5 with Table 3. Click allowing as l
blank
Properties Table. the user to expecte
document.
4. Insert a modify d
3x3 table. table
5. Right- options
click the like
table and alignment,
select text
Table wrapping,
Properties etc.
.
1. Insert a
5x5 table
using the
Insert
Table
option. The
2. Right- selected As
Verify
MS Word is click on a row and expecte
Inserting
open with a row and column d / Not Pass/Fai
TC_006 Table with N/A
5x5 table select are as l
Row/Colum
inserted. Delete deleted expecte
n Deletion
Row. from the d
3. Right- table.
click on a
column
and select
Delete
Column.
27. Write test cases for copy & paste in MS Word using appropriate Automation Tool.
Test
Test Test Case Expected Actual
Preconditions Steps Input Status
Case ID Name Result Result
Data
1. Open MS
Word.
2. Select
some text in
the
document.
3. Use the
Verify Copy The copied
MS Word is Copy As
and Paste Text text is
open with command expected /
TC_001 Text within to pasted at Pass/Fail
text in a (Ctrl + C). Not as
the Same Copy the new
document. 4. Move the expected
Document location.
cursor to
another
location.
5. Use the
Paste
command
(Ctrl + V).
1. Open two
MS Word
documents.
2. In the first
document,
Verify Copy The copied
Two MS select text and As
and Paste Text text is pasted
Word copy it (Ctrl + expected /
TC_002 from One to in the Pass/Fail
documents C). Not as
Document to Copy second
are open. 3. Switch to expected
Another document.
the second
document.
4. Paste the
copied text
(Ctrl + V).
1. Open
MS Word.
2. Select
formatted
text (bold,
italic,
colored,
etc.). The text is
Verify Copy MS Word is
3. Copy pasted with As
and Paste open with
the Formatted the same expected
TC_003 Formatting formatted Pass/Fail
selected Text formatting / Not as
Along with text in the
text (Ctrl + (bold, italic, expected
Text document.
C). color, etc.).
4. Move
the cursor
to another
location.
5. Paste
the text
(Ctrl + V).
1. Open MS
Word.
2. Insert an
image into
the
document.
3. Select the
Verify Copy MS Word is
image. The image As
and Paste open with an Image
4. Copy the is pasted at expected /
TC_004 Image in the image to Pass/Fail
image (Ctrl the new Not as
Same inserted in the Copy
+ C). location. expected
Document document.
5. Move the
cursor to
another
location.
6. Paste the
image (Ctrl
+ V).
1. Open MS
Word.
2. Insert a
Verify table.
MS Word is The table is As
Copy and 3. Select the Table
open with a pasted in expected /
TC_005 Paste entire table. to Pass/Fail
table inserted in the new Not as
Table in 4. Copy the Copy
the document. location. expected
MS Word table (Ctrl +
C).
5. Move the
cursor to
another
location.
6. Paste the
table (Ctrl +
V).
1. Open MS
Word.
2. Select text
with specific
formatting.
3. Copy the
Verify Copy text (Ctrl +
The pasted
and Paste MS Word C).
text As
with Special is open 4. Move the Text with
matches expected
TC_006 Formatting with text cursor to a specific Pass/Fail
the / Not as
(Match in the location with formatting
destination expected
Destination document. different
formatting.
Formatting) formatting.
5. Paste
using Paste
Special and
select Match
Destination
Formatting.
28. Design any two test cases for simple calculator application and prepare defect report.
Test Test
Test Case Expected Actual
Case Preconditions Steps Input Status
Name Result Result
ID Data
1. Open
the
calculator.
2. Enter
the first
First
number
Number: The result
Verify Calculator is (5). The result
5 displayed
TC_001 Addition open and 3. Press displayed Pass
Second should be
Functionality running. the + is 8.
Number: 8.
button.
3
4. Enter
the second
number
(3).
5. Press
Test Test
Test Case Expected Actual
Case Preconditions Steps Input Status
Name Result Result
ID Data
the =
button.
1. Open
the
calculator.
2. Enter
the first
number First The result
Verify (10). Number: should
Calculator is The result
Division by 3. Press 10 display an
TC_002 open and displayed Pass
Zero the / Second error
running. is Error.
Handling (divide) Number: message or
button. 0 Infinity.
4. Enter
the second
number
(0).
5. Press =.
1. Open
the
calculator.
2. Enter
the first
number
First
(8).
Number: The result
Verify Calculator is 3. Press The result
8 displayed
TC_003 Subtraction open and the - displayed Pass
Second should be
Functionality running. button. is 5.
Number: 5.
4. Enter
3
the second
number
(3).
5. Press
the =
button.
30. With respect to GUI testing write the test cases for Amazon login form.
Test
Test Test Case Expected Actual
Preconditions Test Steps Input Status
Case ID Name Result Result
Data
1. Open the
Amazon Login
page.
2. Verify the
presence of All listed
following UI elements
Verify UI All
Amazon Login elements: should be
TC_001 Elements N/A elements Pass
page is loaded - Username text visible and
Presence visible.
box properly
- Password text aligned.
box
- Sign In button
- Forgot
password link
- Create
Account link
1. Open the
Amazon Login
page.
The email field
Amazon 2. Check the
Verify should be visible Field
Login appearance of
TC_002 Email N/A with a placeholder displayed Pass
page is the email field.
Field UI "Email or mobile correctly.
loaded 3. Verify if it is
phone number".
an input field
with a
placeholder.
1. Open the
Amazon Login
page.
2. Check the The password
Verify Amazon appearance of field should hide Field
TC_003 Password Login page the password N/A characters with masked Pass
Field UI is loaded field. "•" or similar correctly.
3. Verify if the masking.
characters are
masked
(hidden).
1. Open the
Amazon Login
page.
2. Verify if the
The Sign In button
Verify Amazon Sign In button is Button
should be visible,
TC_004 Sign In Login page present and N/A visible and Pass
clickable, and
Button is loaded clickable. clickable.
properly styled.
3. Check if the
button has a
default color
(e.g., blue).
1. Open the
Amazon
Login The form
page. should show
2. Enter an an error
Verify Amazon invalid Email: invalid- message,
Error
Invalid Login email in the email@xyz.com, such as "We
TC_005 message Pass
Email page is email field. Password: cannot find
displayed.
Input loaded 3. Enter a validpassword an account
valid with that
password. email
4. Click on address".
the Sign In
button.
1. Open
the
Amazon
Login
page. The form
2. Enter a should
Verify Amazon valid Email: show an
Error
Invalid Login email. validemail@xyz.com, error
TC_006 message Pass
Password page is 3. Enter Password: message,
displayed.
Input loaded an wrongpassword such as
incorrect "Incorrect
password. password".
4. Click
on the
Sign In
button.
1. Open the
Amazon
Login
page.
The form
2. Leave
should show an
Verify Amazon the email
Email: (empty), error message, Error
Empty Login field
TC_007 Password: such as "Enter message Pass
Email page is empty.
validpassword your email or displayed.
Field loaded 3. Enter a
mobile phone
valid
number".
password.
4. Click on
the Sign In
button.
31. Design test cases for hostel admission form of your institute
Test Test Test
Test Expected Actual
Case Case Preconditions Input Status
Steps Result Result
ID Name Data
1. Open the
Hostel
Admission
Form.
All fields and the
Hostel 2. Verify the All fields
Verify UI Submit button
Admission presence of visible
TC_001 Elements N/A should be visible Pass
Form is required UI and
Presence and aligned
opened elements: aligned.
properly.
- Name field
- Gender field
- Date of Birth
field
- Address field
- Course field
- Submit button
1. Open the form.
2. Check the
The "Name"
appearance and
Hostel field should
Verify functionality of Name: Field
Admission accept
TC_002 Name the "Name" text John works Pass
Form is alphabetic
Field box. Doe correctly.
opened characters
3. Verify if it
only.
accepts alphabetic
characters only.
1. Open the
form.
2. Verify the Gender radio
gender radio buttons should
Hostel
Verify buttons are be displayed, Radio
Admission Gender:
TC_003 Gender present. and only one buttons Pass
Form is Male/Female
Field 3. Select Male option should visible.
opened
and Female be selected at a
and ensure the time.
other option is
deselected.
Date of
Birth
1. Open the form.
should be
2. Verify the Date of
Verify Hostel in the
Birth field. Date of Date
Date of Admission correct
TC_004 3. Select a date and Birth: format Pass
Birth Form is format
ensure it follows the 15/08/2000 validated.
Field opened and
correct date format
restrict
(DD/MM/YYYY).
future
dates.
1. Fill in all The form
Name: John
fields should
Doe,
correctly. successfully
Gender:
2. Click the submit and
Verify Hostel Male, DOB:
Submit show a Form
Submit Admission 15/08/2000,
TC_005 button. success submitted Pass
Button Form is Address:
3. Ensure message or correctly.
Functionality filled 123 Main
that the form redirect to
St., Course:
submits the the
Computer
data confirmation
Science
successfully. page.
Verify 1. Leave all Validation Validation
Hostel
TC_006 Empty Field fields empty. N/A message message Pass
Admission
Validation 2. Click the should appear displayed.
Form is Submit button. for all empty
opened 3. Verify if a required fields.
validation
message
appears
indicating that
all fields are
required.
32. Design a test plan along with the test cases for edit function in notepad
Objective:
To verify the functionality of all options available in the Edit menu of Notepad, ensuring
they operate as expected without errors.
Scope:
This test plan focuses on the following Edit Menu options in Notepad:
Undo
Cut
Copy
Paste
Delete
Find
Replace
Select All
Time/Date
Test Strategy:
Functional Testing: Validate individual functionality of each menu option.
Usability Testing: Confirm the features are intuitive and easily accessible.
Regression Testing: Ensure no existing functionality breaks after modifications.
Test Criteria:
Entry Criteria:
Exit Criteria:
All test cases are executed, and defects, if any, are resolved.
Test Deliverables:
Test cases
Test execution report
Defect logs (if applicable)
Testing Schedule:
Resource Requirements:
Hardware: Windows PC
Software: Notepad application
Personnel: 1 QA Tester
Risk Analysis:
Assumptions:
A keyboard is functional for shortcut key testing.
Dependencies:
Approval:
TEST TEST
CASE TEST CASE PRECO TEST CASE CASE EXPE ACTUAL STAT
ID DESCRIPTION NDITION STEPS DATA CTED Result RESULT US
A text file is
open in 1.Open Notepad. Text The word The word
2.Enter the text entere "World" is "World" is
Notepad, "Hello World".
Verify the Undo and some d: restored after restored after
3.Delete the word
option reverts text is "World". 4.Delete Hello Undo is Undo is
TC_001 the last action. entered. the word "World". World. performed. performed. PASS
Cut: Removes Cut: Removes
the highlighted the highlighted
text from its text from its
original original
position and position and
pastes it. pastes it.
Copy: Copy:
1.Highlight the text Duplicates the Duplicates the
"Hello". 2.Select highlighted text highlighted text
Edit > Cut and and pastes it and pastes it
Verify the Cut, A text file paste it elsewhere Text without without
Copy, and with some using Ctrl+V. entere removing it removing it
Paste options content is 3.Undo the action d: from the from the
and repeat using
function open in Copy instead of Hello original original
TC_002 correctly. Notepad. Cut. World. position. position. PASS
1.Open Notepad
A text file
and type a
containing paragraph with
multiple repeated words. The first The first
lines of 2.Select Edit > Searc occurrence of occurrence of
Find 3.Enter the
Verify the Find text is h the word the word
search term "test"
option locates open in and click Find term: "test" is "test" is
TC_003 specific text. Notepad. Next. "test". highlighted. highlighted. PASS
1.Open Notepad
and type a
sentence like
A text file "This is an old
with the test". 2.Select Edit
> Replace. All All
word "old"
repeated 3.Enter "old" in the Find: occurrences occurrences
Verify the "Find what" field "old" of the word of the word
multiple and "new" in the
Replace option times is Repla "old" are "old" are
"Replace with"
replaces open in field. 4.Click ce: replaced with replaced with
TC_004 specified text. Notepad. Replace All. "new" "new". "new". PASS
33. With respect to GUI testing, write test cases for Flipkart login form
34. Prepare a test plan along with test cases for creating a saving account at bank.
Objective:
To ensure that the process of creating a savings account in the bank system works as
expected, verifying all required functionality and validations.
Scope:
This test plan includes testing the account creation process, covering the following:
Test Strategy:
Test Criteria:
Entry Criteria:
Exit Criteria:
All test cases are executed, and identified defects are resolved.
Test Deliverables:
Test cases
Test execution report
Defect logs (if applicable)
Testing Schedule:
Resource Requirements:
Risk Analysis:
Assumptions:
The database and server for the bank system are operational.
Dependencies:
Approval:
Test Test
Test Case Expected Actual
Case Preconditions Test Steps Input Status
Name Result Result
ID Data
1. Insert
ATM card.
Transaction
2. Enter
should be
PIN.
Verify User has a processed
3. Select
Withdrawal valid ATM successfully
"Withdraw" Amount: As
TC_001 with card and and 5000 Pass
option. 5000 expected.
Sufficient sufficient should be
4. Enter
Balance balance. withdrawn
withdrawal
from the
amount.
account.
5. Confirm
transaction.
1. Insert
An error
ATM card.
message
2. Enter
should be
PIN.
Verify User has a displayed
3. Select
Withdrawal valid ATM stating
"Withdraw" Amount: As
TC_002 with card and insufficient Pass
option. 10000 expected.
Insufficient insufficient balance.
4. Enter
Balance balance. Withdrawal
withdrawal
should not
amount.
be
5. Confirm
processed.
transaction.
1. Insert The system
ATM card. should
Verify
2. Enter Amount: display an
Withdrawal
User enters an incorrect 2000, error As
TC_003 for Pass
incorrect PIN. PIN. PIN: 1234 message and expected.
Incorrect
3. Attempt (Incorrect) deny access
PIN
to withdraw to the
an amount. withdrawal.
1. Insert The system
expired should
Verify ATM card. display an
Amount:
Withdrawal User has an 2. Enter error
3000, As
TC_004 with ATM expired ATM PIN. message Pass
Expired expected.
Card card. 3. Select indicating
Card
Expiry "Withdraw" the ATM
option. card is
4. Enter expired.
withdrawal Withdrawal
amount. should not
5. Confirm be
transaction. processed.
Test
Test Case Preconditio Expected Actual Statu
Case Test Steps Test Input Data
Name ns Result Result s
ID
1. Open
the
recharge
website/ap
p.
2. Log in
Recharge
to the
should be
account.
successful,
3. Select
and the
User has a mobile
Verify balance
valid recharge Mobile Number: As
TC_00 Successful should be
account and option. 9876543210, expecte Pass
1 Mobile updated
sufficient 4. Enter Amount: 100 d.
Recharge accordingly
balance. mobile
. User
number
should get
and
a success
recharge
message.
amount.
5. Select
payment
method.
6. Confirm
payment.
1. Open
the
recharge An error
website/ap message
p. should
Verify 2. Log in appear
User has an
Recharge to the Mobile Number: stating As
TC_00 account but
with account. 9876543210, "Insufficien expecte Pass
2 insufficient
Insufficie 3. Select Amount: 500 t balance." d.
balance.
nt Balance mobile Recharge
recharge should not
option. be
4. Enter processed.
mobile
number
Test
Test Case Preconditio Expected Actual Statu
Case Test Steps Test Input Data
Name ns Result Result s
ID
and
recharge
amount.
5. Select
payment
method.
6. Confirm
payment.
1. Open
the
recharge
website/ap
p.
2. Log in
to the An error
account. message
3. Select should be
mobile displayed
User has a
Verify recharge saying
valid Mobile Number: As
TC_00 Invalid option. "Invalid
account and 12345, Amount: expecte Pass
3 Mobile 4. Enter an mobile
sufficient 100 d.
Number invalid number."
balance.
mobile Recharge
number should not
(e.g., be
12345). processed.
5. Enter
recharge
amount.
6. Select
payment
method.
1. Open
All listed
the
payment
recharge
options
website/ap
should be
p.
User has a Mobile Number: available
Verify 2. Log in
valid 9876543210, for As
TC_00 Payment to the
account and Amount: 100, selection, expecte Pass
4 Method account.
sufficient Payment Method: and the d.
Options 3. Select
balance. Credit Card payment
mobile
should be
recharge
successfull
option.
y
4. Enter
processed.
mobile
Test
Test Case Preconditio Expected Actual Statu
Case Test Steps Test Input Data
Name ns Result Result s
ID
number
and
recharge
amount.
5. Select
payment
method
(credit
card, debit
card, UPI).
6. Confirm
payment.
1. Open
the
recharge
website/ap
p.
2. Log in
to the
account.
The
3. Select
recharge
Verify User has a mobile Mobile Number:
should be
Recharge valid recharge 9876543210, As
TC_00 processed
for account and option. Amount: 100, expecte Pass
5 successfull
Different sufficient 4. Enter Operator: d.
y for the
Operators balance. mobile Vodafone
selected
number
operator.
and
recharge
amount.
5. Select
mobile
operator.
6. Confirm
payment.
1. Open
The system
the
should
recharge
Mobile Number: reject the
Verify website/ap
User enters 9876543210, payment
Invalid p. As
TC_00 incorrect Amount: 100, and display
Payment 2. Log in expecte Pass
6 payment Card Number: an error
Informatio to the d.
details. 12345678901234 message
n account.
56 like
3. Select
"Invalid
mobile
payment
recharge
Test
Test Case Preconditio Expected Actual Statu
Case Test Steps Test Input Data
Name ns Result Result s
ID
option. information
4. Enter ."
mobile
number
and
recharge
amount.
5. Enter
invalid
payment
details
(e.g.,
wrong
card
number).
6. Confirm
payment.
37. With respect to client-server testing design test cases for Online Payment Transfer at
banking system
Test Test Test
Test Expected Actual
Case Case Preconditions Input Status
Steps Result Result
ID Name Data
1. Log in.
2. Enter
Server
payment
returns
User is details.
Verify success
logged in, 3. Send Beneficiary:
Successful response; As
TC_001 has payment 9876543210, Pass
Payment client expected.
sufficient request. Amount: 1000
Transfer displays
funds. 4. Server
success
processes
message.
and returns
success.
1. Log in.
2. Enter
Server returns
User is payment
Verify Beneficiary: "Insufficient
logged in, details.
Insufficient 9876543210, Funds" error; As
TC_002 has 3. Send Pass
Funds Amount: client expected.
insufficient payment
Handling 5000 displays error
funds. request.
message.
4. Server
returns
insufficient
funds error.
1. Log in.
2. Enter
invalid
account
Server returns
User is number.
Verify "Invalid
logged in, 3. Send Beneficiary:
Invalid Account" As
TC_003 has payment 12345 Pass
Account error; client expected.
sufficient request. (Invalid)
Handling displays error
funds. 4. Server
message.
returns
"Invalid
Account"
error.
1. Log in.
2. Enter
payment
details.
3. Server Server
User is logged sends OTP validates
Verify OTP in, OTP-enabled request. OTP: OTP; client As
TC_004 Pass
Authentication authentication is 4. Enter 123456 displays expected.
set up. OTP. success
5. Server message.
validates
OTP and
processes
payment.
1. Log in.
2. Enter
payment
details.
3. Send
Server returns
User is payment
Verify timeout error;
logged in, request. Beneficiary:
Server client As
TC_005 has 4. 9876543210, Pass
Timeout displays expected.
sufficient Simulate Amount: 1000
Handling timeout error
funds. server
message.
timeout.
5. Client
displays
timeout
error.
Verify User is logged in, 1. Log in.
OTP: Server returns
Incorrect OTP-enabled 2. Enter As
TC_006 654321 "Invalid OTP"
OTP authentication is payment expected.
(Incorrect) error; client
Handling set up. details.
3. Server displays error
sends OTP message.
request.
4. Enter
incorrect
OTP.
5. Server
returns
"Invalid
OTP" error.
38. Prepare a test plan along with the test cases for the MS Excel option “Save AS”
Objective
To verify that the "Save As" functionality in MS Excel works as expected, including saving
files in various formats and locations, handling file overwrites, and validating file names.
Scope
Saving a file to different formats (e.g., .xlsx, .xls, .csv, .txt, etc.).
Specifying different save locations (local, cloud, network).
Verifying prompts for overwriting files with duplicate names.
Testing with valid and invalid file names.
Test Strategy
Entry Criteria:
Exit Criteria:
Test Deliverables
Test cases
Test execution report
Defect logs (if applicable)
Testing Schedule
Resource Requirements
Hardware: Laptop/PC
Software: MS Excel (any version), access to OneDrive/cloud storage
Personnel: 1 QA Tester
Risk Analysis
Assumptions
The user has proper permissions to save files on all test locations.
Dependencies
Approval
39. Design test cases for online shopping website Flipkart and prepare defect report of it
REFER QUE 33 FOR TEST CASES
40. Write test cases for Facebook login form with respect to graphical user interface (GUI)
testing.
TEST TEST
CASE TEST CASE CASE EXPECTED ACTUAL
ID DESCRIPTION STEPS TEST CASE DATA Result RESULT STATUS
Verify visibility of 1.Open
all essential UI Facebook
elements login page.
(username, 2.Check Username field,Password All elements All elements
password, login visibility of field,Login are visible are visible
button, "Forgotten fields and button,"Forgotten and properly and properly
TC_001 password" link) buttons. password?" link aligned. aligned. PASS
Verify that the 1.Open
Facebook
UI elements login page.
(fields and 2.Check Username field,Password Fields and Fields and
buttons) are alignment of field,Login buttons are buttons are
correctly fields and button,"Forgotten properly properly
TC_002 aligned. buttons. password?" link aligned aligned PASS
1.Open
Facebook
login page.
2.Check
placeholder
Verify the text in Username field
placeholder text username placeholder text: "Email Correct Correct
in username and or phone" Username field placeholder placeholder
and password password placeholder text: "Email text is text is
TC_003 fields. fields. or phone" displayed displayed PASS
1.Open
Facebook
login page.
2.Check
button text
and click it
Button text is Button text
Verify the text after Username: "Log In", and is "Log In",
and functionality entering validuser@example.com login attempt and login
of the "Login" valid Password: is attempt is
TC_004 button. credentials. ValidPassword123 successful. successful. PASS
1.Open
Facebook Link is Link is
login page. visible, and visible, and
2.Check if
Verify visibility the
clicking it clicking it
and functionality "Forgotten redirects to redirects to
of the password?" Valid Username for password password
"Forgotten link is visible Recovery: recovery recovery
TC_005 password?" link. and click it. validuser@example.com page. page. PASS
1.Open
Facebook
login page.
Verify the visual 2.Enter an Username Username
invalid Invalid Username:
response for invaliduser@com field field
username
invalid (e.g., incorrect Password: highlights highlights
TC_006 username input. format). AnyPassword123 with an error with an error PASS