You are here: Mozilla MailNews Functional / UI Tests > Templates
Feature Test Spec: Mail and News Component
Mail and News Component: Templates
Written by Peter MockUpdated by Esther Goes
References
UI Specification:
Other: Communicator Templates
Gromit Template Specification
Description
Basically a template is like a "draft" that we already have in Netscape 6.2, 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 (news) server.
Saving a Template
Preference
- Verify when you create a new profile, you automatically have a
template folder created
- Verify if your default Mail Server is IMAP, the template folder is created on the IMAP server
- Verify if your default Mail Server is POP, the template folder is create on the Local server and is populated with 6 Templates.
- 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 Template is listed under the sections "Special Folders"
- Verify the Template can be set via drop-down menus.
- Verify you have a Cancel button
- Verify you have a OK button
- Verify the Choose Folder functionality
- In the "Folder Template on" drop down menu, change the location template folder location from IMAP to POP. Verify the changes takes effect
- In the "Folder Template on" drop down menu, change the location template folder location from POP to IMAP. Verify the changes takes effect
- 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
- 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
- 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 (
- 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
template (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
- Verify you can save as template 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 template 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:
- Message many levels deep
- Re-save message
- A previous template
Viewing a Template
- Verify you can select a template to view it from Template folder
- From the Thread pane, select a message in Template folder to load it Message pane. (Note, you can not open the message into a separate Message Window)
- Verify you can view a template with various information (testing
only one attribute at a time)
- Verify you can view a blank message with no information
- For each template saved in the previous section Saving a Template - 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 template that has (1) To: and (1) Cc: recipients
- Create and save a template that has (1) To: and (1) Bcc:: recipients
- Create and save a template that has (1) To:, (1) Cc:, and (1) Bcc: recipient
- Create and save a template that has (1) To: and (2) Cc: recipients
- Create and save a template that has (1) To: and (2) Bcc:: recipients
- Create and save a template that has (1) To:, (2) Cc:, and (1) Bcc: recipient
- Create and save a template that has (1) To:, (1) Cc:, and (2) Bcc: recipient
- Create and save a template that has (1) To:, (2) Cc:, and (2) Bcc: recipient
Edit a Template
- Verify you can edit a template from Template folder
- From the Thread pane
- Double-clicking on message in Template folder then edit the message
- Select a template 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 template with various information (testing
only one attribute at a time)
- Verify you can edit a blank message with no information
- For each template saved in the previous section Saving a Template - 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)
Send a Template
- Verify you can send a template from Template folder and the message
is not removed from the Templates folder
- From the Thread pane
- Double-clicking on message in Template folder then send the message
- Select a template 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 template with various information (testing
only one attribute at a time)
- Verify you can send a blank message with no information
- 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
- 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 template that has (1) To: and (1) Cc: recipients
- Create and save a template that has (1) To: and (1) Bcc:: recipients
- Create and save a template that has (1) To:, (1) Cc:, and (1) Bcc: recipient
- Create and save a template that has (1) To: and (2) Cc: recipients
- Create and save a template that has (1) To: and (2) Bcc:: recipients
- Create and save a template that has (1) To:, (2) Cc:, and (1) Bcc: recipient
- Create and save a template that has (1) To:, (1) Cc:, and (2) Bcc: recipient
- Create and save a template 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
Delete a Template
- Verify you can delete a template and the message is removed from
the Template folder
- Verify you can delete a template from the Thread window using
the
- Delete key
- Edit->Delete Message
- Right mouse click
- Verify you can delete a template from the Message pane using
the
- Delete key
- Edit->Delete Message
- Right mouse click
- Select multiple template using the Control+click and verify you
can delete multiple templates using the
- Delete key
- Edit->Delete Message
- Right mouse click
- Select multiple template using the Shift+click and verify you
can delete multiple templates using the
- Delete key
- Edit->Delete Message
- Right mouse click
- Undo the last delete and verify the template was move back into the Template folder for that account
- Redo the last delete
- Verify the template was moved back to the Trash folder (POP and IMAP Move to Trash Model)
- Verify the template was "marked as deleted" (IMAP Delete Model)
- Verify you can delete a template from the Thread window using
the