You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



You are here: Browser/Composer front-end testcases > Composer test cases > Composer Spellchecking

Feature Testcases

Ender (Composer): Spellchecking

Written by Sujay Desai
History
Date Change Description Revision Updated By
1999/3/3 created 1.0 sujay

References:

UI and/or Functional Specifications: http://webgroup.mcom.com/composer/enderFeatures.html (internal)

Test Case Management Usage:

The detailed test cases for this can be found in: TBD
Major Area: Composer
Minor Area: Spellcheck
Category:

Ender QA will not be responsible for extensive testing of spellchecker functionaliy as it is a 3rd party product. We will however verify that basic functions in the dialog are operational. Use the Check Spelling dialog box to correct misspellings and to edit or add words to the current dictionary. Adding, Removing or Replacing words in the dictionary is a Windows only feature.

Spellchecking functionality

  • verify that Replace replaces the string in the document with the suggested (chosen) string in the dialog
    • Select a sentence with a misspelled word
    • Click on Check Spelling icon
    • Word field contains suggested word
    • Clicking on Replace button replaces word in document.
  • verify that Replace All replaces the string in the document everywhere with the suggested(chosen) string in the dialog.
    • Select a sentence with a word misspelled multiple times.
    • Click on Check Spelling icon
    • Word field contains suggested word
    • Clicking on Replace All button replaces duplicate words in document.
  • verify that Check allows you to spellcheck a string within the dialog (you can type in string above in field)
    • Select a sentence with a misspelled word
    • Click on Check Spelling icon
    • Word field contains suggested word but not intend word
    • Type in the correct word in the Word field and click check
    • Suggestions field displays the matching word
  • verify that Ignore goes to the next mispelled string in the document
    • Select a sentence with a misspelled word
    • Click on Check Spelling icon
    • Word field contains suggested word
    • Clicking on Ignore button leaves the misspelled word intact.
  • verify that Ignore All is supposed to ignore all instances of that same mispelled string
    • Select a sentence with a word misspelled multiple times.
    • Click on Check Spelling icon
    • Word field contains suggested word
    • Clicking on Ignore All button will skip the duplicates of the same word.
  • verify that Stop completes the spellcheck process but keeps dialog open for further operations.
    • Select a sentence with a word misspelled word
    • Click on Check Spelling icon
    • Word field contains suggested word
    • Clicking on Stop button leaves the misspelled word intact and close spell check dialog.
  • verify that Learn adds the users string in to the database such that next time it is not recognized as a mispelled word.
    • Select a sentence with a that contains a unique word mutilple times
    • Click on Check Spelling icon
    • Word field contains suggested words
    • Clicking on Learn button adds word to dictionary and skips duplicate words.
  • verify that Close button exits the spellcheck dialog.
    • Perform any of the above spellchecking operations
    • Clicking on Done should exit the spellcheck dialog
  • verify that Help opens the "Checking the Spelling" Help dialog
    • Select "Check Spelling" from the Tools menu item.
    • Click on Help button.
    • Clicking on Help opens "Checking the Spelling" Help dialog

Personal Dictionary (Windows only)

  • Add
    • Select "Check Spelling" icon
    • Click on "Edit Dictionary" to go to the Personal Dictionary dialog box
    • Click cursor in the "New Word" field.
    • Type in a word that is not already in dictionary
    • Clicking on Add should insert the new word into the Words field.
  • Replace
    • Select "Check Spelling" icon
    • Click on "Edit Dictionary" to go to the Personal Dictionary dialog box.
    • Click cursor in the "New Word" field. Type in a word that Check Spelling doesn't recognize.
    • Click on "Add".
    • Select (highlight) the word in the "Words" field.
    • Focus cursor in the "New Word" field.
    • Type in a new word.
    • Clicking on Replace button should replace the selected (highlighted) word in the "Words" field.
  • Remove
    • Select a sentence with a word misspelled word
    • Select "Check Spelling" from the Tools menu item.
    • Click on "Learn" to add the misspelled word to the dictionary.
    • Click on "Edit Dictionary".
    • Highlight the misspelled word in the "Words" field.
    • Clicking on Remove button should replace the word from the dictionary.
  • Help
    • Select "Check Spelling" from the Tools menu item.
    • Click on "Edit Dictionary".
    • Clicking on Help opens "About the Edit Dictionary Box" Help dialog

special cases

  1. duplicate adjacent words (i.e. the the string)