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 qa > front-end test plans > UI (Menu) Feature Test Plan

Feature Test Plan

6.0 Composer Project: Ender UI - Menus

Written by Sujay Desai

History
Date Change Description Revision Updated By
1999-05-07 Draft Created 1.0 Sujay Desai
2000-10-31 Updated 2.0 Sujay Desai
2003-11-22 Updated 2.01 Daniel Wang

References:

Test Case Management Usage:
Major Area: Editor UI
Minor Area: Menus
Category:

  • File
    • New | New Composer Page
      1. Open a document into the editor or blank page
      2. Pull-down File | New... | New Composer page
      3. Verify that a new blank page opens for editing
    • Open Web Location
      1. Jump to a URL
      2. Pull-down File | Open Web Location
      3. Verify that Open Web Location dialog comes up with options to open a page in browser, composer and local file selection
    • Open File
      1. Open a document into the editor or blank page
      2. Pull-down File | Open File
      3. Verify that Open File dialog comes up with local file selection
    • Recent Pages
      1. Open a document into the editor or blank page
      2. Make a change to the document
      3. Pull-down File | Save
      4. Open another document
      5. Verify that the document is in the Recent Pages menu
      6. Open a new document
      7. Pull-down File | Recent Pages
      8. Select the document you saved above
      9. Verify that the previous document you saved is loaded into this new window
      10. Repeat for multiple documents/windows
    • Save
      1. Open a document into the editor or blank page
      2. Make a change to the document
      3. Pull-down File | Save
      4. Verify that the document saved the new change to document
    • Save As
      1. Open a document into the editor or blank page
      2. Make a change to the document
      3. Pull-down File | Save As
      4. Verify that File dialog comes up prompting to save file under new name
      5. Save the file under a new filename
      6. Verify that the file got saved under the new filename
    • Print
      1. Open a document into the editor or blank page
      2. Pull-down File | Print
      3. Verify that Print dialog comes up
      4. Click on OK button to print the document
      5. Verify that the file printed matches the document in the editor
    • Close
      1. Open a document into the editor or blank page
      2. Pull-down File | Close
      3. Verify that the document closes (if no edit was made)
      4. Verify that the editor brings up Save prompt/dialog (if edit was made)
      5. Verify that after this Save prompt/dialog that the document closes.
    • Quit
      1. Open a document into the editor or blank page
      2. Pull-down File | Exit
      3. Verify that the editor closes the document and exits the editor (if no edit was made)
      4. Verify that the editor brings up a Save prompt/dialog (if edit was made)
      5. Verify that after this Save prompt/dialog that the document closes and exit
  • Edit (basic operations; see Editing functions testsuite for more detailed test cases)
    • Undo
      1. Open a document into the editor or blank page
      2. Make an edit
      3. Pull-down Edit | Undo
      4. Verify that the original state is brought back before the edit
    • Redo
      1. Open a document into the editor or blank page
      2. Make an edit
      3. Pull-down Edit | Undo
      4. Pull-down Edit | Redo
      5. Verify that the edit you originally made is brought back
    • Cut
      1. Open a document into the editor
      2. highlight some text using mouse
      3. Pull-down Edit | Cut
      4. Verify that the text you highlighted got cut, by pasting it into another document
    • Copy
      1. Open a document into the editor
      2. highlight some text using mouse
      3. Pull-down Edit | Copy
      4. Verify that the text you highlighted got copied, by pasting it into the target document
    • Paste
      1. Open a document into the editor
      2. highlight some text using mouse
      3. Pull-down Edit | Cut/Copy
      4. Pull-down Edit | Paste
      5. Verify that the text you cut/copied got pasted in the target document
  • Find (basic operation; see Find/Replace testsuite for more detailed test cases)
    1. Open a document into the editor
    2. Pull-down Edit | Find
    3. Verify that the Find dialog comes up and that you can perform basic Find operation
    4. Verify that the text you highlighted got cut, by pasting it into another document
  • Preferences
    • Open a document into the editor
    • Pull-down Edit | Preferences
    • Verify that the Preferences dialog comes up with Editor options for you to change
  • Spellchecking (basic operation; see Spellchecker testsuite for more detailed test cases)
    • Open a document into the editor
    • Pull-down Edit | Spellchecker
    • Verify that the Spellchecker dialog comes up with the mispelled (if any) word in the Word field
  • View
  • Show/Hide
    • Composition Toolbar
      • Pull-down View | Show/Hide | Composition Toolbar (checked state)
      • Verify that the Composition Toolbar (New, Open, Save, etc.) is visible
    • Format Toolbar
      • Pull-down View | Show/Hide | Format Toolbar (checked state)
      • Verify that the Format Toolbar (Paragraph, Color, Size, Style, etc.) is visible
    • Edit Mode Toolbar
      • Pull-down View | Show/Hide | Edit Mode Toolbar (checked state)
      • Verify that the Edit Mode Toolbar (Normal, HTML Tags, Source, etc.) is visible
  • Normal Edit Mode
    • Open a document into the editor
    • Pull-down View | Normal Edit Mode
    • Verify that you're in normal edit mode (able to edit the document)
  • Show All tags
    • Open a document into the editor
    • Pull-down View | Show All tags
    • Verify that you're in Show All tags mode (able to see tags in the document)
  • HTML Source
    • Open a document into the editor
    • Pull-down View | HTML Source
    • Verify that you're in HTML source mode (able to see HTML source in the document)
  • Preview
    • Open a document into the editor
    • Pull-down View | Preview
    • Verify that you're in Preview mode (able to preview the document)
  • Insert (basic operation; see Insert object testsuite for more detailed test cases)
  • Link
    • Open a document or blank page in the editor
    • Pull-down Insert | Link
    • Verify that the Link properties dialog comes up
  • Named Anchor
    • Open a document or blank page in the editor
    • Pull-down Insert | Target
    • Verify that the Target properties dialog comes up
  • Image
    • Open a document or blank page in the editor
    • Pull-down Insert | Image
    • Verify that the Image properties dialog comes up
  • Horizontal line
    1. Open a document or blank page in the editor
    2. Pull-down Insert | Horizontal Rule
    3. Verify that a horizontal rule is inserted to the document
  • Table
    • Table
      • Open a document or blank page in the editor
      • Pull-down Insert | Table
      • Verify that the Table properties dialog comes up
    • Row
      • Open a document or blank page into the editor
      • Pull-down Insert | Row
      • Verify that the Rowproperties dialog comes up
    • Column
      • Open a document or blank page in the editor
      • Pull-down Insert | Column
      • Verify that the Column properties dialog comes up
    • Cell
      • Open a document or blank page in the editor
      • Pull-down Insert | Cell
      • Verify that the Cell properties dialog comes up
  • HTML
    • Open a document or blank page into the editor
    • Pull-down Insert | HTML
    • Verify that an HTML source window opens up with HTML source of the document
    • Verify that you're able to make changes in the HTML source from this window directly
  • Characters and Symbols
  • Format
  • Font
    • Default variable width
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Font | Default variable width
      • Verify that the text got changed to this new font
    • Default fixed width
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Font | Default fixed width
      • Verify that the text got changed to this new font
    • Helvetica/Arial
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Font | Helvetica/Arial
      • Verify that the text got changed to this new font
    • Times
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Font | Times
      • Verify that the text got changed to this new font
    • Courier
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Font | Courier
      • Verify that the text got changed to this new font
  • Size
    • Smaller
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | Smaller
      • Verify that the text got changed smaller than before
    • Larger
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | Larger
      • Verify that the text got changed larger than before
    • x-small
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | x-small
      • Verify that the text got changed to this new size
    • small
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | small
      • Verify that the text got changed to this new size
    • medium
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | medium
      • Verify that the text got changed to this new size
    • large
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | large
      • Verify that the text got changed to this new size
    • x-large
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | x-large
      • Verify that the text got changed to this new size
    • xx-large
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Size | xx-large
      • Verify that the text got changed to this new size
  • Text Style
    • Bold
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Style | Bold
      • Verify that the text got changed to this new style
    • Italic
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Style | Italic
      • Verify that the text got changed to this new style
    • Underline
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Style | Underline
      • Verify that the text got changed to this new style
    • Strikethru
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Style | Strikethru
      • Verify that the text got changed to this new style
    • Superscript
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Style | Superscript
      • Verify that the text got changed to this new style
    • Subscript
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Style | Subscript
      • Verify that the text got changed to this new style
  • Text Color
    • Open a document or blank page in the editor
    • Highlight some text or enter text then highlight
    • Pull-down Format | Color
    • Change the default (black) color to some other color
    • Verify that the text got changed to this new color
  • Discontinue Text Styles
    • Open a document or blank page in the editor
    • Highlight some text or enter text then highlight
    • Change the style (Bold/Italic/Underline)
    • Insert cursor directly after that text
    • Pull-down Format | Discontinue Text Styles
    • Verify that after the text, the new text entered is Normal
  • Discontinue Link
    • Open a document or blank page in the editor
    • Highlight some text or enter text then highlight
    • Make the text a link
    • Pull-down Format | Discontinue Link
    • Verify that the link got removed and is now Normal text
  • Paragraph
    • Body Text
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Paragraph | Body Text
      • Verify that the text is Body Text
    • Heading[1-6]
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Paragraph | H1
      • Verify that the text is Heading 1
      • Repeat for Heading 2-6
    • Address
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Paragraph | Address
      • Verify that the text is Address
    • Preformat
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Paragraph | Formatted
      • Verify that the text is Formatted
    • Blockquote
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | Paragraph | Blockquote
      • Verify that the text is Blockquote
  • List
    • None
      • Open a document or blank page in the editor
      • Enter text
      • Insert cursor anywhere in the text or around it
      • Pull-down Format | List | Numbered list
      • Verify that the text you entered is now part of a numbered list
      • Pull-down Format | List | None
      • Verify that the text is not in a numbered list format, but Normal text
    • Bulleted list
      • Open a document or blank page in the editor
      • Enter text
      • Insert cursor anywhere in the text or around it
      • Pull-down Format | List | Bulleted list
      • Verify that the text you entered is now part of a bulleted list
    • Numbered list
      • Open a document or blank page in the editor
      • Enter text
      • Insert cursor anywhere in the text or around it
      • Pull-down Format | List | Numbered list
      • Verify that the text you entered is now part of a numbered list
    • Term
      • Open a document or blank page in the editor
      • Highlight some text or enter text then highlight
      • Pull-down Format | List | Term
      • Verify that the text is Term
    • Definition
      • Open a document or blank page in the editor
      • Highlight some text or enter
      • Pull-down Format | List | Definition
      • Verify that the text is Definition
    • List Properties
      • Open a document or blank page in the editor
      • Insert a List
      • Pull-down Format | List | List Properties
      • Verify that the List Properties dialog comes up
  • Align
    • Left
      • Open a document or blank page in the editor
      • Enter some text
      • Pull-down Format | Align | Left
      • Verify that the text gets aligned to the left
    • Center
      • Open a document or blank page in the editor
      • Enter some text
      • Pull-down Format | Align | Center
      • Verify that the text gets aligned to the center
    • Right
      • Open a document or blank page in the editor
      • Enter some text
      • Pull-down Format | Align | Right
      • Verify that the text gets aligned to the right
  • Increase indent
    • Open a document or blank page in the editor
    • Enter some text
    • Pull-down Format | Increase indent
    • Verify that the text gets indented to the right
  • Decrease indent
    • Open a document or blank page in the editor
    • Enter some text
    • Pull-down Format | Decrease indent
    • Verify that the text gets indented to the left
  • Properties(dynamic objects) depending on selection/cursor location
  • Page Colors and Background
    • Open a document or blank page in the editor
    • Enter some text
    • Pull-down Format | Page Colors and Background
    • Verify that the Page Colors and Background comes up
  • Page Title and Properties
    • Open a document or blank page in the editor
    • Enter some text
    • Pull-down Format | Page Title and Properties
    • Verify that the Page Title and Properties comes up

The goal of this feature test plan is to exercise the menu functionality for Composer UI.