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: Plain Text Message Display

Feature Test Spec: Mail and News Component

Mail and News Component: Plain Text Message Display

Written by Esther Goes

Description

These tests apply to Mail and News. Format preference is set to use Plain Text editor to compose messages to use for this Plain Text message viewing. Testing the correctness and various preference settings as they apply to Plain Text message display.

Type of messages

  1. Start with sending yourself a new message while in Plain Text compose editor using MachV.
    1. Type in some text and send the message.
      1. Verify the Content-Type: text/plain; charset=us-ascii; format=flowed
      2. Verify that there is no HTML comment tags
      3. Verify the time stamp from the server is correct. Example: Received: from netscape.com ([208.12.40.134]) by dredd.mcom.com (Netscape Messaging Server 4.0) with ESMTP id F57EWQ01.8R8 for <pmock@netscape.com>; Thu, 7 Jan 1999 11:17:14 -0800
      4. Verify the time zone is correct for your region
      5. Verify the date stamp for the message that is used to displayed in the Thread pane is correct. Example: Date: Thu, 07 Jan 1999 11:17:13 -0800
      6. Verify the X-Mailer information is correct for the platform. Example: X-Mailer: Mozilla 4.5 [en]C-NSCP (Win98; U)
      7. Verify the X-Accept-Language is correct. Example: X-Accept-Language: en
      8. Verify the MIME-Verision is correct. Example: MIME-Version: 1.0
      9. Verify the message contents is in Plain Text and not HTML
      10. Verify Content-Transfer-Encoding: 7bit
    2. Type in some extended characters and send message.
      1. Verify this change from above results: Content-Type: text/plain; charset=ISO-8859-1; format=flowed
      2. Verify this change from above results: Content-Transfer-Encoding: 8bit
  2. Reply to and in Plain text (covered in Reply Quote test case)
  3. Forward in Plain text (covered in Forward test case)
  4. Intelligent Send in Plain text (covered in Intelligent Send test case)
  5. Viewing messages. Expected results: Verify it displays the same in the Message Pane as well in the Message Window

Plain Text Quoting attributes (Covered in Reply Quote test case.)

Fonts - Plain Text Message display only- Preference: Appearance|Fonts|Monospace|Typeface

Set Preference for Plain Text Message display for Fixed Width Font and display of plain text quoted text to the default - Regular, Regular and Black Text.

  1. Verify you can change the default fixed width font family (e.g. Courier New )
    1. Change the fixed width font family from the default font (Courier New) to a different font (Courier and/or others on drop down list). Expected result: Verify all the text is displayed in the font that you specified. The message should be changed but the font header remain unchanged.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
    2. Change the fixed width font family back to the default font. Expected result: After reselecting the Plain text message. Verify the all the text is displayed in the font that you specified. The message should be changed but the font header remain unchanged.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
  2. Verify you can change the default fixed width font size (e.g. 13 points)
    1. Change the fixed width font size from the default size to a different size (range 8 - 72). Expected result: Verify the text is displayed in the font size that you specified. The message should be changed but the font header remain unchanged.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
    2. Change the fixed width font size back to the default size. Expected result: Verify the text is displayed in the font size that you specified. The message should be changed but the font header remain unchanged.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.

Colors -

Plain Text Message display only - Prefernce: Appearance|Colors|Text and Background

Set Preference for Plain Text Message display for Fixed Width Font and display of plain text quoted text to the default - Regular, Regular and Black Text.

  1. Verify you can change the text color of the font.
    1. Change the color setting from the default color to a different color. Expected result: Verify new text is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message. Quoted text will be Black in this case because preference for Plain text quote is set to Black.
      3. View a Plain Text message that is a forward message.
    2. Change the color setting back to the default color. Expected result: Verify the new text is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message. Quoted text will be Black in this case because preference for Plain text quote is set to Black.
      3. View a Plain Text message that is a forward message.
  2. Verify you can change the background color of the message.
    1. Change the color setting from the default color to a different color. Expected result: Verify the background is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
    2. Change the color setting back to the default color. Expected result: Verify the background is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
  3. Verify the 'Use Windows colors' takes effect immediately (not sure how to test)

Links

  1. Verify you can change the color of the unvisited link.
    1. Change the color setting from the default color to a different color. Expected result: Verify the unvisited link is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
    2. Change the color setting back to the default color. Expected result: Verify the unvisited link is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
  2. Verify you can change the color of the visited links.
    1. Change the color setting from the default color to a different color. Expected result: Verify the visited link is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
    2. Change the color setting back to the default color. Expected result: Verify the visited link is displayed in the color that you specified.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
  3. Verify can change the option to underline the link or not
    1. Check the option to underline links. Expected results: Verify all links are underlined
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
    2. Uncheck the option to underline links. Expected results. Verify all links are not underlined.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.

Emoticons - Plain Text Display, Displaying emoticons as Graphics

  1. Verify you can change the option of how to display emoticons in a plain text message.
    1. Verify the default option of displaying emoticons as graphics is correctly set to checked
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.
    2. Verify you can uncheck the option to display the emoticons as graphics in a plain text message.
      1. View a new Plain Text message that has no replies/forward.
      2. View a Plain Text message that is a reply message.
      3. View a Plain Text message that is a forward message.

Preference - Message Display Plain Text Wrap (Mail & Newsgroups|Message Display|Wrap text to fit Window Width)

  1. Set Preference to Wrap a Window Window Width (Note: when composing do not use <Enter> or <Return> keys: no carriage return.)
    1. Send yourself a plain text message that has the compose message width set to wrap at 150 characters.
      1. Narrow the message pane viewing size to less than 150 characters, verify the lines in the message wrap at the window width with no horizontal scroll bar at the bottom AND starts a new line at the 151st character.
      2. Stretch the message pane viewing size to greater than 150 characters, verfiy the lines in the message wrap at the window width with no horizonal scrolling bar AND starts a new line at the 151st character.
  2. Set Preference to NOT Wrap a Window Window Width (Note: when composing do not use <Enter> or <Return> keys: no carriage return.)
    1. Send yourself a plain text message that has a message width of 150 characters.
      1. Narrow the message pane viewing size to less than 150 characters, verify the lines in the message wrap at150 characters providing a horizontal scroll bar at the bottom to allow the user to view the end of the lines AND starts a new line at the 151st character.
      2. Strecth the message pane viewing size to greater than 150 characters, verfiy the lines in the message display the full 150 characters and starts a new line at the 151st character.

Preference - Plain text veiwing using Character Coding

  1. Verify default is set to Western (IS0-8859-1)
    1. Verify the Plain text messages are using eht Western character set
  2. Verify you can change the Character Coding selection-(international will be testing the other character sets)
    1. Verify the change holds and plain text messages are displayed in the set selected.

Compatibility

  1. Compatibility with Communicator 6.2.2 (send a plain text message with each of the following)
    1. Windows release, verify message is displayed correctly
    2. Mac release, verify message is displayed correctly
    3. Unix release, verify message is displayed correctly
  2. Compatibility with previous versions of Communicator
    1. Communicator 4.79, verify message is displayed correctly
  3. Compatibility with Microsoft Application
    1. Outlook Express,verify message is displayed correctly
    2. Outlook 98, verify message is displayed correctly
  4. Compatibility with Eudora (current version), verify message is displayed correctly