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 Project (seamonkey)
Mail and News Component
Templates

Written by: Peter Mock

History:
120998    Revised current communicator template test spec for seamonkey
010999    minor update
011199    Adding additional recipient tests and updating the organization

References:
UI Specification:
Other:  Communicator Templates
            Gromit Template Specification



Basically a template is like a "draft" that we already have in Communicator 4.0x, but unlike a draft, it does not get deleted after it is sent.  These tests needs to be repeated on a POP server,  IMAP server, and NNTP server.

Saving a Template
Preference

  1. Verify when you create a new profile, you automatically have a template folder created
    1. Verify if your default Mail Server is IMAP, the template folder is created on the IMAP server
    2. Verify if your default Mail Server is POP, the template folder is create on the Local server
  2. Verify the Choose Folder property dialog
    1. Verify the dialog is entitled "Choose Folder"
    2. Verify you have two radio button called "Folder Template on" and "Other"
    3. Verify the "Folder Template on" has a drop down menu that list all your server including the Local server.
    4. Verify the "Other" has a drop down menu allowing you to select any folder.
    5. Verify you have a new folder button
    6. Verify you have a Cancel button
    7. Verify you have a OK button
  3. Verify the Choose Folder functionality
    1. In the "Folder Template on" drop down menu, change the location template folder location from IMAP to POP.  Verify the changes takes effect (may require restart)
    2. In the "Folder Template on" drop down menu, change the location template folder location from POP to IMAP.  Verify the changes takes effect (may require restart)
    3. In the "Other" drop down menu, select another folder to be the template folder.  Select one to be on the IMAP server.  Verify the changes takes effect (may require restart)
    4. In the "Other" drop down menu, select another folder to be the template folder.  Select one to be on the Local server.  Verify the changes takes effect (may require restart)
    5. In the "Other" list, create a new folder and use the drop down menu to select the newly created folder.  Verify the changes takes effect (may require restart)
    6. Verify the cancel button exit the dialog and does not save any changes that you have made
    7. Verify the OK button exits the dialog and save any changes that you have made
Message Compose Editor
  1. Verify in the Compose Window, the File menu contain the following options:
    1. Save as File
    2. Save as Draft
    3. Save as Template
  2. Verify in the Compose Window, the Save button on the toolbar contain the following options:
    1. Save as File
    2. Save as Draft
    3. Save as Template
  3. Verify in the Messenger when you have a message selected, the File menu contains the following options:
    1. Save as File
    2. Save as Template
    3. Send a attachment less than 30k.  The attachment should be downloaded
    4. Send a attachment less than or equal to 30K.  The attachment should not be downloaded.
  4. Verify you can save a message with various information as a template (testing only one attribute at a time)
    1. Verify you can save a blank message with no information
    2. Verify in a new message, you can save changes to the Address/Option/Attachment pane
      1. Verify you can save each of the item typed into the Address pane
        • Recipient Type -> To:
        • Recipient Type -> Cc:
        • Recipient Type -> Bcc:
        • Recipient Type -> Group:
        • Recipient Type -> Reply-To:
        • Recipient Type -> Followup-To:
      2. Option Pane
        • Check box to Signed
        • Check box to Encrypted
        • Check box to Return Receipt
        • Check box to Uuencode instead of MIME attachment
        • Format drop down menu
          1. Ask Me (default)
          2. Plain Text only
          3. HTML Text only
          4. Plain Text and HTML
      3. Attachment pane
        • Verify you can save different attachments
          1. File (any type)
          2. Web Page
          3. Personal Card (Vcard)
      4. Subject field
        • Verify the message title is saved
        • Verify the Priority setting is preserved
          1. Lowest
          2. Low
          3. Normal
          4. High
          5. Highest
    3. Verify you can save changes to the Plain Text message body
      1. Single character
      2. Single paragraph
      3. Several paragraphs
      4. Signature only
    4. Verify you can save changes to the HTML compose message body
      1. Character Attributes
        • Variable Width
        • Fixed  Width
        • Sample of fonts installed from operating system (there can be many installed)
        • Style
          1. Bold
          2. Italic
          3. Underline
          4. Strikethrough
          5. Superscript
          6. Subscript
          7. Blinking
          8. Non-breaking
        • Color
          1. Use selected color
          2. Don't change color
      2. Paragraph Attributes
        • Paragraph Alignment
          1. Left
          2. Center
          3. Right
        • Paragraph Style
          1. Normal
          2. Heading 1
          3. Heading 2
          4. Heading 3
          5. Heading 4
          6. Heading 5
          7. Heading 6
          8. Address
          9. Formatted
          10. List Item
          11. Description Title
          12. Description Text
        • Additional Paragraph Style
          1. Default
          2. List
          3. Black Quote
        • Paragraph Indent
          1. Increase Indent
          2. Decrease Indent
        • List Style
          1. Bullet (Unnumbered) List
          2. Numbered List
          3. Directory List
          4. Menu List
          5. Description List
        • Number Style
          1. Automatic
          2. 1, 2, 3
          3. I, II, III
          4. i, ii, iii
          5. A, B, C
          6. a, b, c
      3. Verify you can insert a horizontal line and save the message as a template
      4. Link Attributes
        1. Verify you can enter in a Link name
        2. Link to current page
        3. Link to selected file
      5. Image Attributes
        1. Verify you can enter in a URL to specify a image
        2. Verify you can choose a local image from your hard drive
        3. Leave image at the original location
        4. Use as background
        5. Text Alignment
          • Starting at the top (below line)
          • Starting at the middle (center of line)
          • Starting at the middle (top of line)
          • Starting at the bottom (below line)
          • Starting at the bottom (all above line - including decenders)
        6. Text Wrapping around the image
          • Wrapping around the right of image
          • Wrapping around the left of image
        7. Dimensions
          • Height in pixels
          • Height in % of window
          • Width in pixels
          • Width in % of window
          • Constraint
          • Original Size
        8. Space around image (in pixels)
          • Left and right
          • Top and bottom
          • Solid border
        9. Alternate Image Properties
          • Alternate Text (The text will appear while image is loading, when the "Show Images" option is turned off, and in text-only browser)
          • Low resolution image (This image will be displayed before the main image.  Use on image with a smaller file size (usually fewer colors) than the main image so it loads faster)
      6. Color and Background Attributes
        1. Page Color - use the viewer browser colors (No colors saved in page)
        2. Page Color - use custom colors (Saves colors in page)
          • Selecting color for Normal Text
          • Selecting color for Link Text
          • Selecting color for Active Link Text
          • Selecting color for Followed Link Text
          • Selecting color for Background (note, background image overrides this color)
          • Color Schemes
            1. Netscape Default Colors
            2. Black on White
            3. Black on Off-White
            4. Black on Lt. Yellow
            5. Black on Yellow
            6. Black on Lt. Blue
            7. Black on Medium Blue
            8. Blue on Orange
            9. White on Black
            10. White on Green
            11. White on Blue
            12. White on Violet
        3. Background Image
          • Verify you can enter in a URL to specify a image
          • Verify you can choose a local image from your hard drive
          • Leave image at the original location
      7. Table Properties Attributes
        1. Number of rows and columns
        2. Table Alignment
          • Left
          • Center
          • Right
        3. Include caption above table
        4. Include caption below table
        5. Border line width (in pixels)
        6. Cell spacing (pixels between cells)
        7. Cell padding (pixels space within cells)
        8. Table Width in pixels
        9. Table Width in % of window
        10. Table min height in pixels
        11. Table min height in % of window
        12. Equal column width
        13. Table background
          • Verify you can enter in a URL to specify a image
          • Verify you can choose a local image from your hard drive
          • Leave image at the original location
        14. Table Row Attributes
          • Horizontal Alignment
            1. Default
            2. Left
            3. Center
            4. Right
          • Vertical Alignment
            1. Default
            2. Top
            3. Center
            4. Bottom
            5. Baselines
          • Background
            1. Verify changing the background color
            2. Verify you can enter in a URL to specify a image
            3. Verify you can choose a local image from your hard drive
            4. Leave image at the original location
        15. Table Cell Attributes
          • Horizontal Alignment
            1. Default
            2. Left
            3. Center
            4. Right
          • Vertical Alignment
            1. Default
            2. Top
            3. Center
            4. Bottom
            5. Baselines
          • Cell Span
            1. Rows
            2. Columns
          • Text Style
            1. Header style
            2. Non breaking
          • Cell Height in pixels
          • Cell Height in % of window
          • Cell Width in pixels
          • Cell Width in % of window
          • Background
            1. Verify changing the background color
            2. Verify you can enter in a URL to specify a image
            3. Verify you can choose a local image from your hard drive
            4. Leave image at the original location
    5. Verified in a reply message, you can save changes to the Address/Option/Attachment pane
      • Recipient Type -> To:
      • Recipient Type -> Cc:
      • Recipient Type -> Bcc:
      • Recipient Type -> Group:
      • Recipient Type -> Reply-To:
      • Recipient Type -> Followup-To:
    6. Verified in a forward message, you can save changes to the Address/Option/Attachment pane
      • Recipient Type -> To:
      • Recipient Type -> Cc:
      • Recipient Type -> Bcc:
      • Recipient Type -> Group:
      • Recipient Type -> Reply-To:
      • Recipient Type -> Followup-To:
    7. Message many levels deep
    8. Re-save message
    9. A previous template
Viewing a Template
  1. Verify you can select a template to view it from Template folder
    1. From the Thread pane, select a message in Template folder to load it Message pane.  Note, in Communicator 4.5, you can not open the message into a separate Message Window)
  2. Verify you can view a template with various information (testing only one attribute at a time)
    1. Verify you can view a blank message with no information
    2. For each template saved in the previous section Saving a Template - Message Compose Editor, verify you can view the changes.  Note, there are a lot of templates to view from the previous section
  3. Additional tests.  Expected results: Verify you can view each recipient type and there are no missing recipient types
    1. Create and save a template that has (1) To: and (1) Cc: recipients
    2. Create and save a template that has (1) To: and (1) Bcc:: recipients
    3. Create and save a template that has (1) To:, (1) Cc:, and (1) Bcc: recipient
    4. Create and save a template that has (1) To: and (2) Cc: recipients
    5. Create and save a template that has (1) To: and (2) Bcc:: recipients
    6. Create and save a template that has (1) To:, (2) Cc:, and (1) Bcc: recipient
    7. Create and save a template that has (1) To:, (1) Cc:, and (2) Bcc: recipient
    8. Create and save a template that has (1) To:, (2) Cc:, and (2) Bcc: recipient
Edit a Template
  1. Verify you can edit a template from Template folder
    1. From the Message pane
      1. Double-clicking on message in Template folder then edit the message
      2. Select a template and open it using the "Edit Message as New" message menu option then edit the message
    2. From the Message window
      1. Double-clicking on message in Template folder then edit the message
      2. Select a template and open it using the "Edit Message as New" message menu option then edit the message
  2. Verify you can edit a template with various information (testing only one attribute at a time)
    1. Verify you can edit a blank message with no information
    2. For each template saved in the previous section Saving a Template - Message Compose Editor, verify you can edit the changes.  Note, there are a lot of templates to edit from the previous section
    3. Additional tests.  Expected results: Verify you can edit each recipient type and there are no missing recipient types
    4. Create and save a template that has (1) To: and (1) Cc: recipients
    5. Create and save a template that has (1) To: and (1) Bcc:: recipients
    6. Create and save a template that has (1) To:, (1) Cc:, and (1) Bcc: recipient
    7. Create and save a template that has (1) To: and (2) Cc: recipients
    8. Create and save a template that has (1) To: and (2) Bcc:: recipients
    9. Create and save a template that has (1) To:, (2) Cc:, and (1) Bcc: recipient
    10. Create and save a template that has (1) To:, (1) Cc:, and (2) Bcc: recipient
    11. Create and save a template that has (1) To:, (2) Cc:, and (2) Bcc: recipient
    1. Spell check a document
    2. Spell check a document and then edit it again (check that it will contain the new changes)
Send a Template
  1. Verify you can send a template from Template folder
    1. From the Message pane
      1. Double-clicking on message in Template folder then send the message
      2. Select a template and open it using the "Edit Message as New" message menu option then send the message
    2. From the Message window
      1. Double-clicking on message in Template folder then send the message
      2. Select a template and open it using the "Edit Message as New" message menu option then send the message
  2. Verify you can send a template with various information (testing only one attribute at a time)
    1. Verify you can send a blank message with no information
    2. For each template saved in the previous section Saving a Template - Message Compose Editor, verify you can send the message.  Note, there are a lot of templates to edit from the previous section
  3. Additional tests.  Expected results: Verify you can send each recipient type and there are no missing recipient types
    1. Create and save a template that has (1) To: and (1) Cc: recipients
    2. Create and save a template that has (1) To: and (1) Bcc:: recipients
    3. Create and save a template that has (1) To:, (1) Cc:, and (1) Bcc: recipient
    4. Create and save a template that has (1) To: and (2) Cc: recipients
    5. Create and save a template that has (1) To: and (2) Bcc:: recipients
    6. Create and save a template that has (1) To:, (2) Cc:, and (1) Bcc: recipient
    7. Create and save a template that has (1) To:, (1) Cc:, and (2) Bcc: recipient
    8. Create and save a template that has (1) To:, (2) Cc:, and (2) Bcc: recipient
    9. Enable the option to Spell check a document on send
      1. Spell Check then send
      2. Spell Check then cancel
      3. Spell Check then re-edit and send
      4. Spell Check then re-edit and save
      5. Spell Check then re-edit and spell check again
      6. Spell Check then re-edit and spell check again.  Finally send
    10. Check to see that template is still in template folder after being sent
    11. Check Sent Later with same criteria as for Send Now
Delete a Template
  1. Verify you can delete a template and the message is removed from the Template folder
    1. Verify you can delete a template from the Thread window using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    2. Verify you can delete a template from the Message pane using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    3. Verify you can delete a template from Message window using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    4. Select multiple template using the Control+click and verify you can delete multiple templates using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    5. Select multiple template using the Shift+click and verify you can delete multiple templates using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    6. Undo the last delete and verify the template was not removed from the Template folder
    7. Redo the last delete
      1. Verify the template was moved back to the Trash folder (POP and IMAP Move to Trash Model)
      2. Verify the template was 'marked as deleted' (IMAP Delete Model)
Copyright © 1998-2000 The Mozilla Organization.
Last modified January 14, 2000.