You are here: Mozilla MailNews Functional / UI Tests > Mail & News: Drafts
Feature Test Spec: Mail and News Component
Mail and News Component: Drafts
Written by Peter MockUpdated by Esther Goes
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 (news) server.
Saving a Draft
Preference
- Verify when you create a new profile, you automatically have a
draft folder created
- Verify if your default mail Server is IMAP, the draft folder is created on the IMAP server
- Verify if your default mail Server is POP, the draft folder is create on the POP Server
- Verify if you have only one news server, the draft folder is created on the Local server
- Verify what happens if you have multiple accounts:
- 2 POP
- 2 IMAP
- 2 POP and 1 IMAP
- 2 IMAP and 1 POP
- 2 IMAP and 2 IMAP
- In the Account Setting dialog, Verify the dialog properties.
- Verify the dialog is entitled "Account Settings"
- Verify you can view the "Copies and Folders" preferences
- Verify the drafts is listed under the sections "Special Folders"
- Verify the drafts can be set via drop-down menus.
- Verify you have a Cancel button
- Verify you have a OK button
- Verify the draft fly out menus functionality.
- In the drop down menu, set the location draft folder location to IMAP. Verify the changes takes effect (may require restart)
- In the drop down menu, change the location draft folder location POP. Verify the changes takes effect (may require restart)
- In the drop down menu, change the location draft folder location from IMAP to Local. Verify the changes takes effect (may require restart)
- In the drop down menu, change the location draft folder location from Local to IMAP. Verify the changes takes effect (may require restart)
- 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)
- 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)
- Verify the cancel button exit the dialog and does not save any changes that you have made
- Verify the OK button exits the dialog and save any changes that you have made
Message Compose Editor
- Verify in the Compose Window, the File menu contain the following
options:
- Save as File
- Save as Draft
- Save as Template
- Verify in the Compose Window, the Save button on the toolbar
contain the following options:
- Save as File
- Save as Draft
- Save as Template
- Verify in the Messenger when you have a message selected, the File
menu contains the following options:
- Save as File
- Save as Template
- Verify you can save a message with various information as a draft
(testing only one attribute at a time)
- Verify you can save a blank message with no information
- Verify in a new message, you can save changes
to the Recipient/Option/Attachment
- 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:
- Option Menu
- Format drop down menu
- Ask Me (default)
- Plain Text only
- HTML Text only
- Plain Text and HTML
- Format drop down menu
- Attachment Menu
- Verify you can save different attachments
- File (any type)
- Web Page
- Personal Card (Vcard)
- Verify you can save different attachments
- Subject field
- Verify the message title is saved
- Verify the Priority setting is preserved
- Lowest
- Low
- Normal
- High
- Highest
- Verify you can save each of the item typed into the Address
pane
- Verify you can save changes to the Plain Text message body
- Single character
- Single paragraph
- Several paragraphs
- Signature only
- Verify you can save changes to the HTML compose message body
add select (4) of the attributes listed below and then
save as Draft, open the message and verifiy the attributes are
correct. Select Edit Draft button and add (4) more save
view message to verify the previous and added attributes are
correct. Send draft and view, verify all the attributes a correct.
Select (8) different attributes for each platform (Win, Mac
& Linux) to get better coverage of the attributes.
- Character Attributes
- Variable Width
- Fixed Width
- Sample of fonts installed from operating system (there can be many installed)
- Style
- Bold
- Italic
- Underline
- Strikethrough
- Superscript
- Subscript
- Blinking
- Non breaking
- Color
- Use selected color
- Don't change color
- Paragraph Attributes
- Paragraph Alignment
- Left
- Center
- Right
- Paragraph Style
- Normal
- Heading 1
- Heading 2
- Heading 3
- Heading 4
- Heading 5
- Heading 6
- Address
- Formatted
- List Item
- Description Title
- Description Text
- Additional Paragraph Style
- Default
- List
- Black Quote
- Paragraph Indent
- Increase Indent
- Decrease Indent
- List Style
- Bullet (Unnumbered) List
- Numbered List
- Directory List
- Menu List
- Description List
- Number Style
- Automatic
- 1, 2, 3
- I, II, III
- i, ii, iii
- A, B, C
- a, b, c
- Paragraph Alignment
- Horizontal Line
- Link Attributes
- Verify you can enter in a Link name
- Link to current page
- Link to selected file
- Image Attributes
- 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
- Use as background
- 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)
- Text Wrapping around the image
- Wrapping around the right of image
- Wrapping around the left of image
- Dimensions
- Height in pixels
- Height in % of window
- Width in pixels
- Width in % of window
- Constraint
- Original Size
- Space around image (in pixels)
- Left and right
- Top and bottom
- Solid border
- 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)
- Color and Background Attributes
- Page Color - use the viewer browser colors (No colors saved in page)
- 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
- Netscape Default Colors
- Black on White
- Black on Off White
- Black on Lt. Yellow
- Black on Yellow
- Black on Lt. Blue
- Black on Medium Blue
- Blue on Orange
- White on Black
- White on Green
- White on Blue
- White on Violet
- 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
- Table Properties Attributes
- Number of rows and columns
- Table Alignment
- Left
- Center
- Right
- Include caption above table
- Include caption below table
- Border line width (in pixels)
- Cell spacing (pixels between cells)
- Cell padding (pixels space within cells)
- Table Width in pixels
- Table Width in % of window
- Table min height in pixels
- Table min height in % of window
- Equal column width
- 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
- Table Row Attributes
- Horizontal Alignment
- Default
- Left
- Center
- Right
- Vertical Alignment
- Default
- Top
- Center
- Bottom
- Baselines
- Background
- Verify changing the background color
- 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
- Horizontal Alignment
- Table Cell Attributes
- Horizontal Alignment
- Default
- Left
- Center
- Right
- Vertical Alignment
- Default
- Top
- Center
- Bottom
- Baselines
- Cell Span
- Rows
- Columns
- Text Style
- Header style
- Non breaking
- Cell Height in pixels
- Cell Height in % of window
- Cell Width in pixels
- Cell Width in % of window
- Background
- Verify changing the background color
- 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
- Horizontal Alignment
- Character Attributes
- Veriy you can save as draft a reply message,
you can save changes to the Recipients/Option/Attachment.
Randomly select from the Recipient list below.
- Recipient Type -> To:
- Recipient Type -> Cc:
- Recipient Type -> Bcc:
- Recipient Type -> Group:
- Recipient Type -> Reply-To:
- Recipient Type -> Followup-To:
- Verify you can save as draft a forward
message, you can save changes to the
Recipients/Option/Attachment. Randomly select from the
Recipient list below.
- Recipient Type -> To:
- Recipient Type -> Cc:
- Recipient Type -> Bcc:
- Recipient Type -> Group:
- Recipient Type -> Reply-To:
- Recipient Type -> Followup-To:
Viewing a Draft
- Verify you can select a draft to view it from draft folder
- From the Thread pane, select a message in the draft folder to load it Message pane. (Note, you can not open the message into a separate Message Window)
- Verify you can view a draft with various information (testing only
one attribute at a time)
- Verify you can view a blank message with no information
- For each draft you saved in the previous section Saving a Draft - verify you can view the changes.
- Additional tests. Expected results: Verify you can view each
recipient type and there are no missing recipient types. Select one
or two of the combinations below, and verify they save correctly.
- Create and save a draft that has (1) To: and (1) Cc: recipients
- Create and save a draft that has (1) To: and (1) Bcc:: recipients
- Create and save a draft that has (1) To:, (1) Cc:, and (1) Bcc: recipient
- Create and save a draft that has (1) To: and (2) Cc: recipients
- Create and save a draft that has (1) To: and (2) Bcc:: recipients
- Create and save a draft that has (1) To:, (2) Cc:, and (1) Bcc: recipient
- Create and save a draft that has (1) To:, (1) Cc:, and (2) Bcc: recipient
- Create and save a draft that has (1) To:, (2) Cc:, and (2) Bcc: recipient
Editing a Draft
- Verify you can edit a draft from the draft folder
- From the Thread pane
- Double-click on message in draft folder then edit the message
- Click on the Edit Draft button in the header of the message (right side)
- Select a draft and open it using the "Edit Message as New" message menu option then edit the message
- From the Message window
- Verify it does not open in a Message window
- From the Thread pane
- Verify you can edit a draft with various information (testing only
one attribute at a time)
- Verify you can edit a blank message with no information
- For each draft saved in the previous section Saving a Draft - verify you can edit the changes.
- Verify you can edit each recipient type and there are no missing recipient types
- Spell check a document
- Spell check a document and then edit it again (check that it will contain the new changes)
Sending a Draft
- Verify you can send a draft from the draft folder and message is
removed from the Drafts Folder after sending.
- From the Thread pane
- Select Edit Draft button in header or double click on message in draft folder, then click Send
- Select a draft and open it using the "Edit Message as New" message menu option then send the message
- From the Thread pane
- Verify you can send a draft with various attributes
- Verify you can send a blank message with no information
- For each draft saved in the previous section Saving a Draft
- Additional tests. Expected results: Verify you can send each
recipient type and there are no missing recipient types. Select one
or two of the combinations below, Send and verify all recipients
were sent to.
- Create and save a draft that has (1) To: and (1) Cc: recipients
- Create and save a draft that has (1) To: and (1) Bcc:: recipients
- Create and save a draft that has (1) To:, (1) Cc:, and (1) Bcc: recipient
- Create and save a draft that has (1) To: and (2) Cc: recipients
- Create and save a draft that has (1) To: and (2) Bcc:: recipients
- Create and save a draft that has (1) To:, (2) Cc:, and (1) Bcc: recipient
- Create and save a draft that has (1) To:, (1) Cc:, and (2) Bcc: recipient
- Create and save a draft that has (1) To:, (2) Cc:, and (2) Bcc: recipient
- Enable the option to Spell check a document on send
- Spell Check then send
- Spell Check then cancel
- Spell Check then re-edit and send
- Spell Check then re-edit and save
- Spell Check then re-edit and spell check again
- Spell Check then re-edit and spell check again. Finally send
- Check Sent Later with a random sample of the criteria used for Send Now
Deleting a Draft
- Verify you can delete a draft and the message is removed from the
draft folder and moved to the Trash folder for that same account.
- Verify you can delete a draft from the Thread window using the
- Delete key
- Edit->Delete Message
- Right mouse click
- Verify you can delete a draft from the Message pane using the
- Delete key
- Edit->Delete Message
- Right mouse click
- Select multiple draft using the Control+click and verify you
can delete multiple drafts using the
- Delete key
- Edit->Delete Message
- Right mouse click
- Select multiple draft using the Shift+click and verify you can
delete multiple drafts using the
- Delete key
- Edit->Delete Message
- Right mouse click
- Undo the last delete and verify the draft was moved back into the drafts folder for that same account
- Redo the last delete
- Verify the draft was moved back to the Trash folder (POP and IMAP Move to Trash Model)
- Verify the draft was "marked as deleted" (IMAP Delete Model)
- Verify you can delete a draft from the Thread window using the