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 (Toolbar) Feature Test Plan

Feature Test Plan

6.0 Composer Project: Composer UI- Toolbar

Written by Sujay Desai

History
Date Change Description Revision Updated By
1998-12-11 Draft Created 1.0 Sujay Desai
2000-10-31 Updated 2.0 Sujay Desai
2003-11-22 Updated 2.1 Daniel Wang

References:

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

  • Drop-down paragraph list
    • Body Text
      • Open a blank document
      • Select Body Text from pull-down menu
      • Type some text (e.g. "Body Text")
      • Verify that the text is displayed as Body Text
    • Heading 1
      • Open a blank document
      • Select Heading 1 from pull-down menu
      • Type some text (e.g. "Heading 1")
      • Verify that the text is displayed as Heading 1
    • Heading 2
      • Open a blank document
      • Select Heading 2 from pull-down menu
      • Type some text (e.g. "Heading 2")
      • Verify that the text is displayed as Heading 2
    • Heading 3
      • Open a blank document
      • Select Heading 3 from pull-down menu
      • Type some text (e.g. "Heading 3")
      • Verify that the text is displayed as Heading 3
    • Heading 4
      • Open a blank document
      • Select Heading 4 from pull-down menu
      • Type some text (e.g. "Heading 4")
      • Verify that the text is displayed as Heading 4
    • Heading 5
      • Open a blank document
      • Select Heading 5 from pull-down menu
      • Type some text (e.g. "Heading 5")
      • Verify that the text is displayed as Heading 5
    • Heading 6
      • Open a blank document
      • Select Heading 6 from pull-down menu
      • Type some text (e.g. "Heading 6")
      • Verify that the text is displayed as Heading 6
    • Address
      • Open a blank document
      • Select Address from pull-down menu
      • Type some text (e.g. "Address")
      • Verify that the text is displayed as Address
    • Preformat
      • Open a blank document
      • Select Preformat from pull-down menu
      • Type some text (e.g. "Preformatted")
      • Verify that the text is displayed as Preformatted
  • Text Color icon
    • Open a blank document
    • Click on text color icon on toolbar
    • Select a color from pallette
    • Type some text (e.g. "first color")
    • Verify that the text is displayed with the color you just chose
    • Repeat this for all color selections available
  • Background Color icon
    • Open a blank document
    • Click on background color icon on toolbar
    • Select a color from pallette
    • Type some text (e.g. "first color")
    • Verify that the background is displayed with the color you just chose
    • Repeat this for all color selections available
  • Font size
    • Smaller
      • Open a blank document
      • Insert some text
      • Highlight text
      • Click on Smaller font icon button on toolbar
      • Verify that the font size got smaller
    • Larger
      • Open a blank document
      • Insert some text
      • Highlight text
      • Click on Larger font icon button on toolbar
      • Verify that the font size got larger
  • Bold
    • Open a blank document
    • Click on Bold button
    • Type some text (e.g. "Bold")
    • Verify that the text is displayed as Bold
    • Repeat using select and apply
    • Repeat using keyboard shortcut Ctrl+B
  • Italic
    • Open a blank document
    • Click on Italic button
    • Type some text (e.g. "Italic")
    • Verify that the text is displayed as Italic
    • Repeat using select and apply
    • Repeat using keyboard shortcut Ctrl+I
  • Underline
    • Open a blank document
    • Click on Underline button
    • Type some text (e.g. "Underline")
    • Verify that the text is displayed as Underline
    • Repeat using select and apply
    • Repeat using keyboard shortcut Ctrl+U
  • Bulleted List
    • Create New list
      • Open a blank document
      • Click on Bulleted List button
      • Enter some items on each line (e.g. 1, 2, 3)
      • Verify that each item entered is on a separate line after a bullet
    • Change to List
      • Open a blank document
      • Enter some items on each line (e.g. 1, 2, 3)
      • Click between the items and then click on Bulleted List button
      • Verify that each item entered is on a separate line after a bullet
  • Numbered List
    • Create new List
      • Open a blank document
      • Click on Numbered List button
      • Enter some items on each line (e.g. 1, 2, 3)
      • Verify that each item entered is on a separate line after a numbered item
    • Change to List
      • Open a blank document
      • Enter some items on each line (e.g. 1, 2, 3)
      • Click between the items and then click on Numbered List button
      • Verify that each item entered is on a separate line after a numbered item
  • Outdent
    • Open a blank document
    • Click on the Outdent button(after clicking Indent button first)
    • Enter some text (e.g. text outdent)
    • Verify that the text is outdented
    • Repeat above for select and apply (enter + select text first, then click on outdent button)
    • Repeat above using keyboard shortcut Ctrl+-
  • Indent
    • Open a blank document
    • Click on the Indent button
    • Enter some text (e.g. text indent)
    • Verify that the text is indented
    • Repeat above for select and apply (enter + select text first, then click on indent button)
    • Repeat above using keyboard shortcut Ctrl+=
  • Align
    • Left alignment
      • Open a blank document
      • Pull-down left align button
      • Enter some text (e.g. left align)
      • Verify that the text is displayed with left alignment
    • Center
      • Open a blank document
      • Pull-down center align button
      • Enter some text (e.g. center align)
      • Verify that the text is displayed with center alignment
    • Right
      • Open a blank document
      • Pull-down right align button
      • Enter some text (e.g. right align)
      • Verify that the text is displayed with right alignment
    • Justify
      • Open a blank document
      • Pull-down right align button
      • Enter some text (e.g. right align)
      • Verify that the text is displayed with right alignment
      • Now click on Justify button
      • Verify that the text is justified to the left
    • Repeat above with select and apply (enter + select text first, then pull-down alignment)
  • Insert (Mail Compose toolbar only)
    • Link
      • Open blank mail compose message
      • Open link dialog using pull-down menu from toolbar
      • Insert a link filling out the appropriate fields
      • Verify that the link got inserted successfully
      • Repeat above using Ctrl+Shift+L(Windows)
    • Anchor
      • Open a blank mail composer message
      • Open Named Anchor dialog using pull-down menu from toolbar
      • Insert a target filling out the appropriate fields
      • Verify that the target got inserted successfully
    • Image
      • Open a blank mail compose message
      • Open Image Properites dialog using pull-down menu from toolbar
      • Insert an image, filling out the appropriate fields
      • Verify that the image got inserted successfully
    • Table
      • Open a blank mail compose message
      • Open table dialog using pull-down menu from toolbar
      • Insert table filling out the appropriate fields
      • Verify that the table got inserted successfully
    • H. Line
      • Open a blank mail compose message
      • Click the H. Line option in the pull-down menu from toolbar
      • Verify that a horizontal rule is inserted successfully
  • Spell Check (Mail Composer toolbar only)
    • Open a blank mail message
    • Compose some text in the mail message
    • Force a mispelling of a word in message
    • Open spell checker dialog by clicking on toolbar button
    • Verify that the spell checker dialog comes up showing the mispelled word
    • Repeat above using Ctrl+K keyboard shortcut (Windows)

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