Sample Test Cases of Notepad



TC#
Test Scenario
Pre- Condition
Test Steps
Expected Result
Actual Result
1&2
Check the availability of the Find Option.

Click Edit menu from menu bar.
After clicking on the find,the window should pop up
The search box avaiable.






3-a)
Check the navigation
 through Short cut keys

Press Ctrl + F
After pressing  CTRL + F ,
should produce the search box
The find box avaiable.






3-b)
Check the navigation
 through Short cut keys

Press Ctrl + H
After pressinge CTRL + H ,
should produce the replace box
The Replace box avaiable.






3-C)
Check the navigation
 through mouse

Click Edit menu from menu bar and then FIND
In the menu by clicking the edit and then find , the search box should open
The find Box is avaiable.












4
The cursor default postion .
Find box should be open.

The cursor should be
present in typing space box.
The cursor is Available






5
To Check find Button.
Find box should be open.
Press Find Button
Without typing any thing, the find button should not be enabled and functional
It is not enabled.






6
To check the Search control  in the page.
Find box should be open.
Press Find Button
The typed text in the search field should match,otherwise  generate an error that word doesnot exist.
If it is matching, then it highlights it.






7
If the user want to search a single word , more than once. Then after competition of 1st search, the search button should be enable for next also
Find box should be open.
Press Find Button, Find Next
The Search/Find button should be enable for the next search also.
The find button is available for next search also.






8
To check the Replace  control.
Find box should be open.
 Click on Replace 
The user should be asked before replacing any word.
The message is not coming.






9-a)
Replace the exact work
Find box should be open.
Click on Replace 
By clicking "match whole word only", it should replace only the whole word.
It is replacing the whole word only.






9-b)
Don’t replace, when there is no text in replace space
Find box should be open.
Click on Replace 
Don’t replace, when there is no text in replace space
It is replacing the find value with the blank space.






10
Check Cancel  button
 funtionality
Find box should be open.
Click Cancel
After pressing the cancel
button the window should exit.
The window is exit.






11
Untill user did not put text in find option , the replace button should not be enabled
Find box should be open.
Put some text in text space
After putting text in find , the replace button should enable.
It is enabling after text input.






12
Goto option should be
available
Find box should be open.

There must be a option exist
where a user can find or replace any word in a particular page.
There is no such option is 
available in wordpad












13
Max lenght of characters
Find box should be open.
Put characters in text space in Find
The length of the character
should be upto 255 characters
But we can only able to
 search max of 127 character.






14
Undo option
Find box should be open.

the "undo" option should be
available ,if some mistake has happen after replacing a particular word.
The option is not
 present in the same box






15
Can able to select the
whole text through keyboard
Find box should be open.
Press ctrl +A
The user can able to copy
 whole string or line , by just pressing Ctrl +A
Select all option is not functional.






16
The user can able to copy or paste any word in the space box
Find box should be open.
Press Copy and Paste in Find
 Text spcae.
The text should be pasted
and copied from space box.
The both copy and
paste is working fine






17
Should search from any
particular line and should have atleast one loop till that line.
Find box should be open.

The Search should go
 on till one loop
The loop is working fine and replacing all the words properly.






18
Help
Find box should be open.
press F1
Help should be provided to
th user about each button , by pressing a F1 key or ? button.
The help is coming out
 and explaining all the functions






19
The Search should be
available for whole the characters including the special ones.
Find box should be open.
Put the special characters in
text space.
The Search should be
available for whole the characters including the speacial characters.
Its is taking all the characters
 including special chracters like $, %.






20
The user should have
the  option to search/ replace downwards or upwards.
Find box should be open.

There should be one option
 to search a word in upword manner or downward manner, that will ease the user work.
The particular upword and
downward option is not aviable, so user have to make the adjustments by own.

0 Comments