The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Feature Test Plan
5.0 Composer Project
Ender UI- Menus

Written by Sujay Desai



History:
Date 
Change Description
Revision
Updated By
 5/7/99 
 Draft Created
1.0
 Sujay Desai
5/7/99 Updated  2.0  Sujay Desai
References:

Engineering Specifications:  http://gooey/client/5.0/specs/composer/Ender.shtml (internal link)

Test Case Management Usage:
The detailed test cases for this feature can be found in Beaker by the following different criteria:
Major Area:  Editor UI
Minor Area:  Menus
Category:


  • File
    • New
      • Blank page
        • Open a document into the editor or blank page
        • Pull-down File | New | Blank page
        • Verify that a new blank page opens for editing
    • Open Page
      • Open a document into the editor or blank page
      • Pull-down File | Open Page
      • Verify that Open Page dialog comes up with

      • options to open a page in browser, composer and file selection
    • Save
      • Open a document into the editor or blank page
      • Make a change to the document
      • Pull-down File | Save
      • Verify that the document saved the new change to document
    • Save As
      • Open a document into the editor or blank page
      • Make a change to the document
      • Pull-down File | Save As
      • Verify that  File dialog comes up prompting to save file under new name
      • Save the file under a new filename
      • Verify that the file got saved under the new filename
    • Print
      • Open a document into the editor or blank page
      • Pull-down File | Print
      • Verify that Print dialog comes up
      • Click on OK button to print the document
      • Verify that the file printed matches the document in the editor
    • Close
      • Open a document into the editor or blank page
      • Pull-down File | Close
      • Verify that the document closes (if no edit was made)
      • Verify that the editor brings up  Save prompt/dialog(if edit was made)
      • Verify that after this Save prompt/dialog that the document closes.
    • Exit
      • Open a document into the editor or blank page
      • Pull-down File | Exit
      • Verify that the editor closes the document and exits the editor(if no edit was made)
      • Verify that the editor brings up a Save prompt/dialog (if edit was made)
      • 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
      • Open a document into the editor or blank page
      • Make an edit
      • Pull-down Edit | Undo
      • Verify that the original state is brought back before the edit
    • Redo
      • Open a document into the editor or blank page
      • Make an edit
      • Pull-down Edit | Undo
      • Pull-down Edit | Redo
      • Verify that the edit you originally made is brought back
    • Cut
      • Open a document into the editor
      • highlight some text using mouse
      • Pull-down Edit | Cut
      • Verify that the text you highlighted got cut, by pasting it into another document
    • Copy
      • Open a document into the editor
      • highlight some text using mouse
      • Pull-down Edit | Copy
      • Verify that the text you highlighted got copied, by pasting it into the target document
    • Paste
      • Open a document into the editor
      • highlight some text using mouse
      • Pull-down Edit | Cut/Copy
      • Pull-down Edit | Paste
      • Verify that the text you cut/copied got pasted in the target document
    • Delete
      • Delete Table- TBD
    • Find (basic operation; see Find/Replace testsuite for more detailed test cases)
      • Open a document into the editor
      • Pull-down Edit | Find
      • Verify that the Find dialog comes up and that you can perform basic Find operation
      • Verify that the text you highlighted got cut, by pasting it into another document
    • HTML source
      • Open a document into the editor
      • Pull-down Edit | HTML Source
      • 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
    • 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
    • Message toolbar
    • Addressing area
    • Formatting toolbar
  • 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
    • Target
      • 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
      • Open a document or blank page in the editor
      • Pull-down Insert | HRule
      • Verify that the HRule properties dialog comes up
    • 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 tag
      • Open a document or blank page into the editor
      • Pull-down Insert | HTML tag
      • Verify that the HTML tag properties dialog comes up
  • 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 New Roman
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Font | Times New Roman
        • 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
      • -2
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Size | -2
        • Verify that the text got changed to this new size
      • -1
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Size | -1
        • Verify that the text got changed to this new size
      • +0
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Size | +0
        • Verify that the text got changed to this new size
      • +1
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Size | +1
        • Verify that the text got changed to this new size
      • +2
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Size | +2
        • Verify that the text got changed to this new size
      • +3
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Size | +3
        • Verify that the text got changed to this new size
      • +4
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Size | +4
        • Verify that the text got changed to this new size
    • 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
      • Blinking
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Style | Blinking
        • Verify that the text got changed to this new style
    • 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
    • Remove All 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 | Remove All styles
      • Verify that after the text, the new text entered is Normal
    • Remove Link(s)
      • 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 | Remove Link(s)
      • Verify that the link got removed and is now Normal text
    • Paragraph
      • Normal
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Paragraph | Normal
        • Verify that the text is Normal
      • 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
      • Formatted
        • 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
      • Term
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Paragraph | Term
        • Verify that the text is Term
      • Definition
        • Open a document or blank page in the editor
        • Highlight some text or enter text then highlight
        • Pull-down Format | Paragraph | Definition
        • Verify that the text is Definition
    • 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
    • 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
    • Dynamic [Object] Properties depending on selection/cursor location
    • Page properties
      • Open a document or blank page in the editor
      • Enter some text
      • Pull-down Format | Page properties
      • Verify that the Page Properties comes up
  • Communicator
  • Help
  • Right mouse click menu
The goal of this feature test plan is to exercise the menu functionailty for Ender.UI.

 
Copyright © 1998-1999 The Mozilla Organization.
Last modified November 5, 1999.