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
Drafts

Written by: Peter Mock

History:
01182000        Taken from Templates feature test spec since they are very similar in functionality.

References:
UI Specification: Mail Master Spec
                            Mail Compose Master spec



Descriptions: The Draft feature is similar to previous version of Communicator 4.x. They are used to temporary store messages that are in progress and can be finished at a later time.  These tests needs to be repeated on a POP server,  IMAP server, and NNTP server.

Saving a Draft
Preference

  1. Verify when you create a new profile, you automatically have a draft folder created
    1. Verify if your default mail Server is IMAP, the draft folder is created on the IMAP server
    2. Verify if your default mail Server is POP, the draft folder is create on the Local server
    3. Verify if you have only one news server, the draft folder is created on the Local server
    4. Verify what happens if you have multiple accounts:
      1. 2 POP
      2. 2 IMAP
      3. 2 POP and 1 IMAP
      4. 2 IMAP and 1 POP
      5. 2 IMAP and 2 IMAP
  2. In the Account Setting dialog, Verify the dialog properties.
    1. Verify the dialog is entitled "Account Settings"
    2. Verify you can view the "Copies and Folders" preferences
    3. Verify the drafts is listed under the sections "Special Folders"
    4. Verify the drafts can be set via the fly out menus.
    5. Verify you have a Cancel button
    6. Verify you have a OK button
  3. Verify the draft fly out menus functionality.
    1. In the drop down menu, set the location draft folder location to IMAP.  Verify the changes takes effect (may require restart)
    2. In the drop down menu, change the location draft folder location POP.  Verify the changes takes effect (may require restart)
    3. In the drop down menu, change the location draft folder location from IMAP to Local.  Verify the changes takes effect (may require restart)
    4. In the drop down menu, change the location draft folder location from Local to IMAP.  Verify the changes takes effect (may require restart)
    5. In the drop down menu, change the location draft folder location from POP to a different POP folder.  Verify the changes takes effect (may require restart)
    6. In the drop down menu, change the location draft folder location from IMAP to a different IMAP folder.  Verify the changes takes effect (may require restart)
    7. Verify the cancel button exit the dialog and does not save any changes that you have made
    8. 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 draft
  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 draft
  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 draft
    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 draft (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 draft
      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 draft
Viewing a Draft
  1. Verify you can select a draft to view it from draft folder
    1. From the Thread pane, select a message in the draft 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 draft with various information (testing only one attribute at a time)
    1. Verify you can view a blank message with no information
    2. For each draft saved in the previous section Saving a Draft - Message Compose Editor, verify you can view the changes.  Note, there are a lot of drafts 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 draft that has (1) To: and (1) Cc: recipients
    2. Create and save a draft that has (1) To: and (1) Bcc:: recipients
    3. Create and save a draft that has (1) To:, (1) Cc:, and (1) Bcc: recipient
    4. Create and save a draft that has (1) To: and (2) Cc: recipients
    5. Create and save a draft that has (1) To: and (2) Bcc:: recipients
    6. Create and save a draft that has (1) To:, (2) Cc:, and (1) Bcc: recipient
    7. Create and save a draft that has (1) To:, (1) Cc:, and (2) Bcc: recipient
    8. Create and save a draft that has (1) To:, (2) Cc:, and (2) Bcc: recipient
Editing a Draft
  1. Verify you can edit a draft from the draft folder
    1. From the Message pane
      1. Double clicking on message in draft folder then edit the message
      2. Select a draft 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 draft folder then edit the message
      2. Select a draft and open it using the "Edit Message as New" message menu option then edit the message
  2. Verify you can edit a draft with various information (testing only one attribute at a time)
    1. Verify you can edit a blank message with no information
    2. For each draft saved in the previous section Saving a Draft - Message Compose Editor, verify you can edit the changes.  Note, there are a lot of drafts 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 draft that has (1) To: and (1) Cc: recipients
    5. Create and save a draft that has (1) To: and (1) Bcc:: recipients
    6. Create and save a draft that has (1) To:, (1) Cc:, and (1) Bcc: recipient
    7. Create and save a draft that has (1) To: and (2) Cc: recipients
    8. Create and save a draft that has (1) To: and (2) Bcc:: recipients
    9. Create and save a draft that has (1) To:, (2) Cc:, and (1) Bcc: recipient
    10. Create and save a draft that has (1) To:, (1) Cc:, and (2) Bcc: recipient
    11. Create and save a draft 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)
Sending a Draft
  1. Verify you can send a draft from the draft folder
    1. From the Message pane
      1. Double clicking on message in draft folder then send the message
      2. Select a draft 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 draft folder then send the message
      2. Select a draft and open it using the "Edit Message as New" message menu option then send the message
  2. Verify you can send a draft with various information (testing only one attribute at a time)
    1. Verify you can send a blank message with no information
    2. For each draft saved in the previous section Saving a Draft - Message Compose Editor, verify you can send the message.  Note, there are a lot of draft 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 draft that has (1) To: and (1) Cc: recipients
    2. Create and save a draft that has (1) To: and (1) Bcc:: recipients
    3. Create and save a draft that has (1) To:, (1) Cc:, and (1) Bcc: recipient
    4. Create and save a draft that has (1) To: and (2) Cc: recipients
    5. Create and save a draft that has (1) To: and (2) Bcc:: recipients
    6. Create and save a draft that has (1) To:, (2) Cc:, and (1) Bcc: recipient
    7. Create and save a draft that has (1) To:, (1) Cc:, and (2) Bcc: recipient
    8. Create and save a draft 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 draft is still in draft folder after being sent
    11. Check Sent Later with same criteria as for Send Now
Deleting a Draft
  1. Verify you can delete a draft and the message is removed from the draft folder
    1. Verify you can delete a draft from the Thread window using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    2. Verify you can delete a draft from the Message pane using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    3. Verify you can delete a draft from Message window using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    4. Select multiple draft using the Control+click and verify you can delete multiple drafts using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    5. Select multiple draft using the Shift+click and verify you can delete multiple drafts using the
      1. Delete key
      2. Edit->Delete Message
      3. Right mouse click
    6. Undo the last delete and verify the draft was not removed from the draft folder
    7. Redo the last delete
      1. Verify the draft was moved back to the Trash folder (POP and IMAP Move to Trash Model)
      2. Verify the draft was 'marked as deleted' (IMAP Delete Model)
Copyright © 1998-2000 The Mozilla Organization.
Last modified January 18, 2000.