Tuesday, July 20, 2010

Test Case 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

3 comments:

  1. can i get that in a table format... please

    ReplyDelete
  2. write pls tets cases for open dialog box for ms word.

    ReplyDelete
  3. could you please expalain this example in Template format:
    Test id
    description
    precondition
    step id
    step description
    input data
    expected output.

    email-id: trimukhesatish7@gmail.com

    ReplyDelete