0% found this document useful (0 votes)
27 views9 pages

TESTCASE

Uploaded by

shagunyadav1430
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)
27 views9 pages

TESTCASE

Uploaded by

shagunyadav1430
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/ 9

Practical no 10

Prepare a defect report after execution test case for library management system.

Column Details

Id DEF-001

Project Library Management System

Release Version 1.0.3

Module Book Search Functionality

Detected Build
1.0.2
Version

Steps to 1. Navigate to the Library homepage. 2. Click on the 'Search' tab. 3.


Replicate Enter a valid book title in the search box. 4. Press the 'Search' button.

Expected Result The system should display a list of books matching the entered title.

The system does not display any results and shows an error message:
Actual Result
"No books found."

Attachments [Screenshot of the error message]

Remarks The error message is misleading as the book exists in the database.

Defect Priority High

Shagun R. Yadav,Triveni G. Murbe,


Reported By
Vishakha N. Mandavkar, Pragati A. Alhat

Shagun R. Yadav,Triveni G. Murbe,


Assigned To
Vishakha N. Mandavkar, Pragati A. Alhat

Status Open

Fixed Build
To be determined
Version
Practical no 11
Prepare a defect report after execution test case for Withdrawn of amount from ATM
Machine

Id 001

Project ATM Transaction System

Release
1.2.0
Version

Module ATM Withdrawal

Detected Build
1.2.0
Version

1. Insert valid ATM card. 2. Enter PIN.3. Select ‘Withdraw


Steps to Cash’ option. 4. Choose the account type
Replicate (checking/savings). 5. Enter withdrawal amount (e.g., $50).
6. Confirm withdrawal.

Expected The ATM should dispense $50 and display a transaction


Result receipt with the remaining balance.

The ATM displayed an error message: "Transaction Failed:


Actual Result
Insufficient Funds" despite having sufficient balance.

Attachments Screenshot of error message, transaction log (if applicable)

Multiple attempts with different amounts resulted in the


Remarks
same error.

Defect Priority High

Shagun R. Yadav,Triveni G. Murbe,


Reported By
Vishakha N. Mandavkar, Pragati A. Alhat

Shagun R. Yadav,Triveni G. Murbe,


Assigned
Vishakha N. Mandavkar, Pragati A. Alhat

Status Open

Fixed Build
N/A
Version
Practical no 12
Prepare a defect report after execution test case for login form .

Column Details

Id DEF-12345

Project User Authentication System

Release version 1.0.2

Module Login Module

Detected build
1.0.2-Build-45
version

1. Open the application.2. Navigate to the Login page.3. Enter valid


Steps to replicate
credentials.4. Click on the Login button.

Expected result User should be successfully logged in and redirected to the dashboard.

User is presented with an "Invalid credentials" error message, even


Actual result
when using valid credentials.

Attachments - Screenshot of error message.- Logs from the login process.

Remarks Issue occurs intermittently; needs further investigation.

Defect priority High

Shagun R. Yadav,Triveni G. Murbe,


Reported by
Vishakha N. Mandavkar, Pragati A. Alhat

Shagun R. Yadav,Triveni G. Murbe,


Assigned
Vishakha N. Mandavkar, Pragati A. Alhat

Status Open

Fixed build
TBD (To Be Determined)
version
13-1
Test the basic "login" functionality for any application using automated tool. Write down the related test cases
or attached the screen shots

TC
TC Name Steps Input Data Expected Result Actual Result Status
ID

1. Open the application. 2. User is


Username:
Navigate to the loginpage. successfully
Valid Login validUser User is logged in and
1 3.Enter validusername logged in and Pass
Test Password: dashboard is displayed.
andpassword. 4. Click on the redirected to the
validPass
login button. dashboard.

1. Oen the application. <br> 2. Username: Error message is


Invalid Navigate to the login page. <br> invalidUser displayed:
2 Username 3. Enter invalid username. <br> <br> "Invalid Error message shown. Pass
Test 4. Enter valid password. <br> 5. Password: username or
Click the login button. validPass password."

1. Open the application. <br> 2. Username: Error message is


Navigate to the login page. <br> validUser displayed:
Invalid
3 3. Enter valid username. <br> 4. <br> "Invalid Error message shown. Pass
Password Test
Enter invalid password. <br> 5. Password: username or
Click the login button. invalidPass password."

1. Open the application. <br> 2.


Username:
Navigate to the login page. <br> Error message is
Empty (empty)
3. Leave the username field displayed:
4 Username <br> Error message shown. Pass
empty. <br> 4. Enter valid "Username is
Test Password:
password. <br> 5. Click the required."
validPass
login button.

1. Open the application. <br> 2. Username:


Error message is
Navigate to the login page. <br> validUser
Empty displayed:
5 3. Enter valid username. <br> 4. <br> Error message shown. Pass
Password Test "Password is
Leave the password field empty. Password:
required."
<br> 5. Click the login button. (empty)

Username: Error message is


1. Open the application. <br> 2.
Empty (empty) displayed:
Navigate to the login page. <br>
6 Username and <br> "Username and Error message shown. Pass
3. Leave both fields empty. <br>
Password Test Password: password are
4. Click the login button.
(empty) required."

1. Open the application. <br> 2.


Navigate to the login page. <br>
Username:
3. Enter valid username and User is logged in
Remember validUser
password. <br> 4. Check automatically User logged in
7 Me <br> Pass
"Remember Me" checkbox. without entering automatically.
Functionality Password:
<br> 5. Click the login button. credentials again.
validPass
<br> 6. Log out and restart
application.
Practical no 13
Design and run the test cases for Wordpad MS window using an automation tool.

Expected Actual
TC ID TC Name Steps Input Data Status
Result Result

WordPad
1. Launch
application Opening
Open the
TC001 N/A opens a pass
WordPad WordPad
without wordpad
application
errors

New blank Opening


New 1. Open
TC002 N/A document A new pass
Document WordPad
is opened file

1. Open
WordPad
2. Type
Document
some text Sample text:
is saved in
3. Click on "Hello,
the Saving
Save 'File' World!"
TC003 selected Selected pass
Document 4. Click <br>
location File
'Save As' 5. Filename:
and
Enter "TestDoc.rtf"
filename
filename
and select
location

1. Open
WordPad
2. Type Selected
Selected
some text Sample text: text
Text text is
TC004 3. Select "Format should fail
Formatting displayed
text me!" displayed
in bold
4. Apply in italic
bold
formatting

1. Open
WordPad
Search Expected
2. Type
Sample text: dialog Result
TC007 Find Text some text fail
"Find me!" opens for Is not
3. Use the
text to find found
'Find'
feature
Practical no 14

Design and run the test cases for MS word application using automation tool.

TC Expected Actual Stat


TC Name Steps Input Data
ID Result Result us

A new
A new blank document
Create a 1. Open MS
TC0 document is should be
New Word<br>2. N/A pass
01 created and created
Document Click on 'New'
opened. and
opened.

1. Create a new A
The document
document<br> "Test document
TC0 Save is saved with
2. Enter Document.d is saved pass
02 Document the specified
text<br>3. Click ocx" with
name.
'Save' name.

1. Open MS
A selected
Word<br>2. The selected
Open "Existing document
TC0 Click document is
Existing Document.d have to pass
03 'Open'<br>3. opened
Document ocx" opened
Select Existing properly.
properly.
Document

1. Create a new The


document<br> selected
The selected
2. Click image
TC0 Insert image is
'Insert'<br>3. "image.png" should pass
04 Image inserted into
Choose added into
the document.
'Picture'<br>4. the
Select image document.

The Print
dialog not
1. Open an The Print
appears
existing dialog appears
TC0 Print and the
document<br> N/A and the fail
05 Document document
2. Click 'File' & document is
is in
'Print' ready to print.
waiting
queue.
14-1
Write test cases for copy & paste in MS word using appropriate automation tool.

TC TC Input Expected Actual Statu


Steps
ID Name Data Result Result s

1. Open MS Word. <br> 2.


Type "Hello World!". <br> "Hello
Copy "Hello
3. Select "Hello World!". "Hello World!"
TC0 and World!"
<br> 4. Press CTRL+C. World! appears on Pass
01 Paste appears on
<br> 5. Place cursor on a " the new
Text the new line.
new line. <br> 6. Press line.
CTRL+V.

1. Open MS Word. <br> 2.


Type "Sample Text". <br> "Sample
Copy 3. Change font to bold, Text Text"
"Sample
and size 14. <br> 4. Select formatt appears
TC0 Text"
Paste "Sample Text". <br> 5. ed as bold and Pass
02 appears bold
Formatt Press CTRL+C. <br> 6. bold, size 14 on
and size 14.
ing Place cursor on a new size 14 the new
line. <br> 7. Press line.
CTRL+V.

1. Open MS Word. <br> 2.


Copy Insert an image. <br> 3.
The image
and Select the image. <br> 4. Image The image
TC0 appears on
Paste Press CTRL+C. <br> 5. inserte appears on Pass
03 the new
with Place cursor on a new d the new line.
line.
Images line. <br> 6. Press
CTRL+V.

1. Open Notepad. <br> 2.


Copy
Type "Text from
and "Text from
Notepad". <br> 3. Select "Text "Text from
Paste Notepad"
TC0 the text. <br> 4. Press from Notepad"
from appears in Pass
04 CTRL+C. <br> 5. Open MS Notepa appears in
External MS Word
Word. <br> 6. Place d" MS Word.
Applicat document.
cursor in the document.
ion
<br> 7. Press CTRL+V.

1. Open MS Word. <br> 2.


Type "First", then press
Copy Both "First"
Enter. <br> 3. Type Both "First"
and "First" and
"Second", then press and
TC0 Paste and "Second"
Enter. <br> 4. Select both "Second" Pass
05 Multiple "Secon appear on
lines. <br> 5. Press appear on
Selectio d" the new
CTRL+C. <br> 6. Place the new line.
ns line.
cursor on a new line.
<br> 7. Press CTRL+V.
14-2
Design possible test cases for save option in MS Word .attach the sample test cases.

Expected Actual
TC ID TC Name Steps Input Data Status
Result Result

A dialog
1. Open MS Dialog
appears to
Word<br>2. Create appeared
Save New Document text: save the
TC001 a new and Pass
Document "Hello, World!" document
document<br>3. worked as
with a file
Click "Save" expected.
name.

1. Open a saved The


Document
Save document<br>2. document is
Modified text: "Hello, saved
TC002 Existing Modify the updated Pass
Universe!" without
Document document<br>3. without a
issue.
Click "Save" dialog box.

1. Open MS A dialog Dialog


Save As Word<br>2. Create appears to appeared
File name:
TC003 New a new choose save and file Pass
"NewDocument.docx"
Document document<br>3. location and saved
Click "Save As" file name. correctly.

1. Open a Error
Error
document<br>2. message
Save with message
Click "Save indicating
TC004 Unsupported Format: ".exe" displayed Pass
As"<br>3. Choose unsupported
Format as
an unsupported format
expected.
format appears.

1. Enable Document
Document
AutoSave<br>2. should be
is saved
AutoSave Modify the saved
TC005 Any text modification without Pass
Functionality document<br>3. automatically
manual
Wait for a few at regular
save.
seconds intervals.
14-3
Test the insert table option enable in MS Word write the suiable test cases from the test cases using
automation tool

TC Input Expected Actual DStat


TC Name Steps
ID Data Result Result us

1. Open MS Word.
A 2x2 table A 2x2 table
<br> 2. Go to Insert
TC0 Insert Simple is inserted was
Menu. <br> 3. Click None Pass
1 Table into the successfully
on Table. <br> 4.
document. inserted.
Select a 2x2 table.

1. Open MS Word.
<br> 2. Go to Insert A 3x3 table
A 3x3 table
Menu. <br> 3. Click is inserted
with headers
TC0 Insert Table on Table. <br> 4. with
None was Pass
2 with Headers Select a 3x3 table. headers in
successfully
<br> 5. Add the first
inserted.
headers to the first row.
row.

1. Open MS Word.
<br> 2. Go to Insert
A table with 5
Menu. <br> 3. Click Rows: A table with
rows and 4
TC0 Insert Custom on Table. <br> 4. 5, 5 rows and
columns was Pass
3 Sized Table Select "Insert Colum 4 columns
successfully
Table..." <br> 5. ns: 4 is inserted.
inserted.
Enter 4 columns
and 5 rows.

1. Open MS Word.
<br> 2. Go to Insert
Menu. <br> 3. Click A 4x3 table A 4x3 table
TC0 Insert Table on the Table is inserted was
None Pass
4 using Grid dropdown. <br> 4. into the successfully
Drag to select a 4x3 document. inserted.
table using the
grid.

1. Open MS Word.
<br> 2. Go to Insert
No table is
Menu. <br> 3. Click No table was
TC0 Cancel Table inserted
on Table. <br> 4. None inserted after Pass
5 Insertion into the
Select "Insert cancelation.
document.
Table...". <br> 5.
Hit Cancel.

1. Open MS Word.
<br> 2. Go to Insert A 3x2 table
Cell A 3x2 table
Menu. <br> 3. Click with
Insert Table shadi with cell
TC0 on Table. <br> 4. specified
with ng shading was Pass
6 Select a 3x2 table. cell
Formatting applie successfully
<br> 5. Apply formatting
d inserted.
shading to the is inserted.
cells.

You might also like