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 GoesDescription
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
- Start with sending yourself a new message while in Plain Text
compose editor using MachV.
- Type in some text and send the message.
- Verify the Content-Type: text/plain; charset=us-ascii; format=flowed
- Verify that there is no HTML comment tags
- 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
- Verify the time zone is correct for your region
- 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
- Verify the X-Mailer information is correct for the platform. Example: X-Mailer: Mozilla 4.5 [en]C-NSCP (Win98; U)
- Verify the X-Accept-Language is correct. Example: X-Accept-Language: en
- Verify the MIME-Verision is correct. Example: MIME-Version: 1.0
- Verify the message contents is in Plain Text and not HTML
- Verify Content-Transfer-Encoding: 7bit
- Type in some extended characters and send message.
- Verify this change from above results: Content-Type: text/plain; charset=ISO-8859-1; format=flowed
- Verify this change from above results: Content-Transfer-Encoding: 8bit
- Type in some text and send the message.
- Reply to and in Plain text (covered in Reply Quote test case)
- Forward in Plain text (covered in Forward test case)
- Intelligent Send in Plain text (covered in Intelligent Send test case)
- 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.
- Verify you can change the default fixed width font family (e.g.
Courier New )
- 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.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- 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.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- 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.
- Verify you can change the default fixed width font size (e.g. 13
points)
- 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.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- 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.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- 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.
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.
- Verify you can change the text color of the font.
- 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.
- View a new Plain Text message that has no replies/forward.
- 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.
- View a Plain Text message that is a forward message.
- Change the color setting back to the default color. Expected
result: Verify the new text is displayed in the color that you
specified.
- View a new Plain Text message that has no replies/forward.
- 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.
- View a Plain Text message that is a forward message.
- 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.
- Verify you can change the background color of the
message.
- 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.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- Change the color setting back to the default color. Expected
result: Verify the background is displayed in the color that you
specified.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- 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.
- Verify the 'Use Windows colors' takes effect immediately (not sure how to test)
Links
- Verify you can change the color of the unvisited
link.
- 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.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- Change the color setting back to the default color. Expected
result: Verify the unvisited link is displayed in the color that
you specified.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- 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.
- Verify you can change the color of the visited
links.
- 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.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- Change the color setting back to the default color. Expected
result: Verify the visited link is displayed in the color that you
specified.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- 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.
- Verify can change the option to underline the link or not
- Check the option to underline links. Expected results: Verify
all links are underlined
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- Uncheck the option to underline links. Expected results. Verify
all links are not underlined.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- Check the option to underline links. Expected results: Verify
all links are underlined
Emoticons - Plain Text Display, Displaying emoticons as Graphics
- Verify you can change the option of how to display emoticons in a
plain text message.
- Verify the default option of displaying emoticons as graphics
is correctly set to checked
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- Verify you can uncheck the option to display the emoticons as
graphics in a plain text message.
- View a new Plain Text message that has no replies/forward.
- View a Plain Text message that is a reply message.
- View a Plain Text message that is a forward message.
- Verify the default option of displaying emoticons as graphics
is correctly set to checked
Preference - Message Display Plain Text Wrap (Mail & Newsgroups|Message Display|Wrap text to fit Window Width)
- Set Preference to Wrap a Window Window Width (Note: when composing
do not use <Enter> or <Return> keys: no carriage return.)
- Send yourself a plain text message that has the compose message
width set to wrap at 150 characters.
- 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.
- 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.
- Send yourself a plain text message that has the compose message
width set to wrap at 150 characters.
- Set Preference to NOT Wrap a Window Window Width (Note: when
composing do not use <Enter> or <Return> keys: no carriage
return.)
- Send yourself a plain text message that has a message width of
150 characters.
- 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.
- 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.
- Send yourself a plain text message that has a message width of
150 characters.
Preference - Plain text veiwing using Character Coding
- Verify default is set to Western (IS0-8859-1)
- Verify the Plain text messages are using eht Western character set
- Verify you can change the Character Coding selection-(international
will be testing the other character sets)
- Verify the change holds and plain text messages are displayed in the set selected.
Compatibility
- Compatibility with Communicator 6.2.2 (send a plain text message
with each of the following)
- Windows release, verify message is displayed correctly
- Mac release, verify message is displayed correctly
- Unix release, verify message is displayed correctly
- Compatibility with previous versions of Communicator
- Communicator 4.79, verify message is displayed correctly
- Compatibility with Microsoft Application
- Outlook Express,verify message is displayed correctly
- Outlook 98, verify message is displayed correctly
- Compatibility with Eudora (current version), verify message is displayed correctly