Sunday, 15 July 2012

Test cases example


Test cases for Notepad:-
1)     Check whether file is saved after entering data
Open Note pad application.
File menu -> new
Enter Some Text ("hello welcome to india")
File menu -> Save
select the path and give the file name (welcome.txt)
Click on Save button
Expected Results : file should be saved in the specified location
2) Check the functionality of Save as
Open Note pad application.
File menu -> Open
Give the Path and select the file (welcome.txt)
File menu -> Save as
select the path and give the file name (welcome1.txt)
Click on Save button
Expected Results : file should be saved in the specified location
3) Check whether validation msg has been generated on giving same name for saving
Open Note pad application.
File menu -> Open
Give the Path and select the file (welcome.txt)
File menu -> Save as
select the path and give the file name (welcome.txt)
Click on Save button
Expected Results : Application should generate a validation message stating, "Are you sure you want to relpace the file" with Yes/no Options
4) Check whether edits are saved
Open Note pad application.
File menu -> Open
Give the Path and select the file (welcome.txt)
Edit the file by adding some text (have a nice day)
File menu -> Save
Expected Results : updated File should be saved
5) Check the functionality of Close button or exit Menu after editing file
Open Note pad application.
File menu -> Open
Give the Path and select the file (welcome.txt)
Edit the file by adding some text (have a nice day)
File menu -> Exit or Click X button or top right corner of the notepad window
Expected Results : Application should generate a validation message stating, "Do you want to save changes to %path%" with Save, dont save, cancel buttons
6) Check the functionality of Close button or exit Menu with out editing file
Open Note pad application.
File menu -> Open
Give the Path and select the file (welcome.txt)
File menu -> Exit or Click X button or top right corner of the notepad window
Expected Results : Application should close
7) Save the notepad File in hard drive(c or d drove)
where there is no space
Open Note pad application.
File menu -> new
Enter Some Text ("hello welcome to india")
File menu -> Save
select the path and give the file name (wcom.txt)
Click on Save button
Expected Results : File Should Not be saved in the specified path and should generate validation message



1.check each unit of the pen that is it expected one(in the sense 
what should b required is there).
A)-All parts of the pan Like Refill,Cap,Bottom & top Body all r
 
according to specifications.
Eg:- Refill is okay not blank,
Cap & body of Pen is okay not brokened from any where
like that.
2.Now Seeing at integration point of view.
A). That all the units r assembled properly as pen.
 
B). Mean refill is in the body of the pen
C). Bottom part in bottom
D). Which is exactly integrated With Middle part of body which
 
kept refill. Or If Ink pen then ink filled in that.

3.Now coming at point view of functionality.
Again It may have concept same in ball or
 
a).When writing with pen it is writing or not.
b). Is body of Pen giving it's functionality or not
Mean when pressing the upper tip of pen refill come out to
 
write if it's ball pen.
4.Now at performance point of view
a) r the results according to specifications.
1). Writing is better.
2). Ink not spread.
3). Flow is better while writing.
4). Refill takes it's full time to end(Serveving Fully).
b) Pen work til it's specified life as per specifications.
3)       

No comments:

Post a Comment