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: Mozilla MailNews Functional / UI Tests > Mail & News: Composition

Feature Test Spec: Mail and News Component

Mail and News Component: Composition

Written by Peter Mock
Updated by Esther Goes

References

UI Specification: Composition UI spec
Master Messenger UI spec

Description

this test spec applies for plain text and html editor, unless noted.

Preferences

(Open the account profile settings to display the check box for the default mail compose editor window)

  1. Set the account settings for plain text editor by unchecking the box: "Compose messages in HTML for"
    1. Verify that this setting can be set to enable this option, by removing the check in the box
    2. Verify that this setting is persistent after you close the preference dialog
    3. Set up multiple user accounts. Verify you can set one account to use plain text and the other set to html editor
  2. Set the format preference for HTML editor
    1. Repeat the above set of tests for HTML editor.

Visual

Start a new mail message. Verify the properties that make up the compose window. (brief tests because area overlap with menus test specs).

  1. Verify the compose window is made up of these areas:
    1. Title
    2. Menus
    3. Addressing pane
    4. Attachment area
    5. Subject field
    6. HTML tool bar (available only in HTML compose editor)
    7. Status bar
  2. Verify changes from 4.x
    1. The option button has been removed from compose toolbar.
    2. The option pane has been removed from the Addressing pane.
    3. The attachment pane is located to the right of the Addressing area.
      1. A vertical scroll bar appears in the attachment area if there are more attachment than can be listed.
      2. There is a tool tip that displays the complete name of the attachment if the name is longer than the width of the attachment area.
    4. The intelligent send attachment drop down menu is now located under the Message menu

Basic Functionality

  1. Start a mail compose window from different communicator windows.
    1. Start a new mail message from the browser window
    2. Start a new mail message from the page compose window
    3. Start a new mail message from the address book
    4. Start a new mail message from the messenger window
    5. Start a new mail message from the message window
    6. Start a new mail message from a new compose window.
  2. Start a mail compose window using the following methods
    1. Menu items
    2. Short cut key
    3. Mnemonics
    4. Toolbar
  3. Use the Options Menu|Format after opening the compose window and change to Plain Text to see that the Formatting toolbar is disabled.
    1. On the windows platform, when account selected is in HTML format
    2. On the macintosh platform, when account selected is in HTML format
    3. On linux platform, when account selected is in HTML format
  4. Start a Plain Text compose window and create a message which contains:
    1. Empty message area
    2. Space
    3. Multiple spaces
    4. Single character (non space)
    5. Word
    6. Sentence
    7. Paragraph
    8. Extended character (accented)
  5. Start a HTML compose window and create message which contains:
    1. Empty message area
    2. Space
    3. Multiple spaces
    4. Normal text
    5. Bold text
    6. Italic text
    7. Underline text
    8. Bold italic text
    9. Bullet list
    10. Number list
    11. Indented text
    12. Inserted image
    13. Table
    14. Color text
    15. Font size
    16. Add different HTML (as time permits)
  6. Address mail message primary address:
    1. Single address
    2. Multiple address
    3. Single Newsgroup
    4. Multiple Newsgroup
  7. Address mail message with multiple types:
    1. To: and Cc:
    2. To: and Bcc:
    3. To:, Cc:, and Bcc:
    4. To: and Newsgroup:
    5. To:, Cc:, Bcc:
    6. To:, Cc:, Bcc:, Newsgroup
    7. Newsgroup and Follow-up to:
    8. To: and Reply to:
  8. Enable different message options:
    1. Uuencode attachments
    2. Return receipt
    3. Intelligent Send
      1. Send as Plain Text
      2. Send as HTML only
      3. Send as Plain Text and HTML
    4. Fcc:
  9. Compose different type of mail/new messages then
    1. Save as Draft
    2. Save as Template
    3. Send message later
    4. Synchronize mail folder
    5. Go off-line

Additional Test cases

  1. Set Message preference to "Send message that use 8 bit characters" -> "As is" by unchecking the box.
    1. Send yourself a plain text message with no extended characters then view the page source. All the characters should display normally.
    2. Send yourself a plain text message with extended characters then view the page source. All the characters should display normally.
  2. Set Message preference to "Send message that use 8 bit characters" -> "Using the 'quoted printed' MIME encoding"
    1. Send yourself a plain text message with no extended characters then view the page source. All the characters should display normally.
    2. Send yourself a plain text message with extended characters then view the page source. All the extended characters should be converted to two characters octals. (Example 0A) The non-extended characters should be displayed normally.
  3. Set Message preference to "As is" by unchecking the box. Compose one a mail message that contains extended and plain characters
    1. Verify the non-extended character is displayed correctly.
    2. View the Page Source, verify the non-extended character is displayed correctly.