You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



You are here: Mozilla MailNews Functional / UI Tests > Reply

Feature Test Spec: Mail and News Component

Mail and News Component: Reply

Written by Sheela Ravindran
Updated by Gregg Meehan

References:

UI Specification: No specific spec for reply
Other: Composition test spec, Plain Text test spec, HTML test spec, Attachments test spec, Intelligent Send test spec, Return Receipt test spec, (some of these links are not available at this time)

Description

Perform these tests in both HTML & Plain text modes. Reply to a Mail message and a Newsgroup message

Plain text format may change. It may be done within HTML compose window using a conversion tool instead of a separate editor.

Windows Using Reply

  1. Windows from which you can Reply to a message.
    1. 3 Pane UI (with all three panes expanded, click Reply and verify a compose window comes up and the correct name is entered in the To: field)
    2. Message Window (double click on a message to bring it up in it's own window, click Reply and verify a compose window comes up and the correct name is entered in the To: field)
    3. 3 Pane UI collapsed to 2 pane UI
      1. Collapse the Thread pane only and reply to a message from the Message pane, verify as mentioned above
      2. Collapse the Message pane only and reply to a message from the Thread pane, veify as mentioned above
      3. Collapse the Sidebar (Folder pane) only and reply to a message with:
        • Thread pane in focus, verify as mentioned above
        • Message pane in focus, verfify as mentioned above
    4. 3 Pane UI collapsed to 1 pane UI
      1. Collapse the Thread pane and Sidebar (Folder pane) then reply to a message from the Message pane, verify as mentioned above
      2. Collapse the Message pane and Sidebar (Folder pane) then reply to a message from the Thread pane, verify as mentioned above
  2. Reply to a message using, verify as mentioned above
    1. Toolbar
    2. Menu
    3. Context Menus
    4. Mnemonics
    5. Mailto: Link
    6. Short-cut/accelerator key (Example on Windows: Ctrl+M, Unix: Alt+M, Mac: Cmd+M)

Preferences for Replying -

(Found in Preferences, listed under Messages, the second item "Automatically quote the original message when replying"

  1. Automatic quoting = ON ("Automatically quote the original message when replying" check box is checked)
    1. verify when this is ON, the selected option becomes the default action when using the "Reply" toolbar button is clicked (in both HTML & Plain text format)
  2. Automatic quoting = OFF ("Automatically quote the original message when replying" check box is unchecked)
    1. verify there is NO quoted text in the message body when "start my reply above the quoted text" is selected (in both HTML & Plain text format)

Locations from which Reply option can be used

  1. Toolbar w/Preferences set to: Automatic quoting=ON & "start my reply above the quoted text" selected. (Perform specific tests for Mail & News messages) Use a message that contains a link, inserted image, paragraph of text and signature and /or vCard.
    1. Reply (Mail only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text. The reply is sent to only the Sender
    2. Reply All (Mail only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text. The reply is sent to the Sender and all other recipients
    3. Reply> (News only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text.
      2. Verify the default is to Newsgroups
      3. to Sender Only
        • Verify when this is selected, only the Sender of the message is placed in the To: field and the message is sent to only the Sender
        • Verify mnemonic (currently "S") for this button item works as directed
      4. to Newsgroup
        • Verify when this is selected, only the Newsgroup from the original message is placed in the To: field and the message is sent to only the Newsgroup
        • Verify mnemonic (currently "N") for this button item works as directed
        • Short cut key not tied to toolbar button, tested in Menu section of this spec
    4. Reply All> (News only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text
      2. Verify the default is to Sender and Newsgroups
      3. to Sender and All Recipients (For this case use a message that has multiple people and multiple groups in the addressing pane)
        • Verify when this is selected, only the Sender and mail recipients from the original message are placed in the Addressing field (not the newsgroups) and the message is sent to only those recipients
        • Verify mnemonic (currently "N") works as directed
      4. to Sender and Newsgroups
        • Verify when this is selected, only the Sender and Newsgroups from the original message are placed in the Addressing field (no other mail addresses) and the message is sent to only those recipients
        • Verify mnemonic (currently "r") works as directed
        • Short cut key not tied to toolbar button, tested in Menu section of this spec
  2. Menubar w/Preferences set to: Automatic quoting=ON & "start my reply above the quoted text" selected. (Perform specific tests for Mail & News messages) Can be found under menu item Messages while in the windows mentioned above. Use a message that contains a link, inserted image, paragraph of text and signature and /or vCard.
    1. Reply (Mail only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text. The reply is sent to only the Sender.
      2. Verify mnemonic (currently "R") works as directed
    2. Reply All (Mail only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text. The reply is sent to the Sender and all other recipients
      2. Verify mnemonic (currently "p") works as directed
    3. Reply> (News only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text.
      2. Verify the default is to Newsgroups
      3. to Sender Only
        • Verify when this is selected, only the Sender of the message is placed in the To: field and the message is sent to only the Sender
        • Verify mnemonic (currently "S") works as directed
      4. to Newsgroup
        • Verify when this is selected, only the Newsgroup from the original message is placed in the To: field and the message is sent to only the Newsgroup
        • Verify mnemonic (currently "N") works as directed
        • Verify Short Cut key (currently Ctrl+R) works as directed
    4. Reply All> (News only)
      1. Verify a click of this button will launch a compose window with the contents of the original message pasted in the body of the reply and the cursor positioned above the text
      2. Verify the default is to Sender and Newsgroups
      3. to Sender and All Recipients (For this case use a message that has multiple people and multiple groups in the addressing pane)
        • Verify when this is selected, only the Sender and mail recipients from the original message are placed in the Addressing field (not the newsgroups) and the message is sent to only those recipients
        • Verify mnemonic (currently "S") works as directed
      4. to Sender and Newsgroups (For this case use a message that has multiple people and multiple groups in the addressing pane)
        • Verify when this is selected, only the Sender and Newsgroups from the original message are placed in the Addressing field (no other mail addresses) and message is sent to only those recipients
        • Verify mnemonic (currently "N") works as directed
        • Short Cut Key (currently Ctrl+Shift+R) works as directed
  3. Context Menu (right mouse click on mail or news message to bring up the Context menu) Use a message that contains a link, inserted image, paragraph of text and signature and /or vCard.
    1. When a Mail message is selected
      1. Verify right mouse click will bring up a menu listing (2) options: Reply to Sender, Reply to All
      2. Verify for both of the options, you can Reply to a message in HTML format (change the format in the Preferences)
      3. Verify for both of the options, you can Reply a message in plain text format (change the format in the Preferences)
      4. Verify the mnemonic (aka-access keys=underlined character of a Context menu item) for each option listed below works as directed:
        • Reply to Sender Only (currently "R")
        • Reply to All (currently "P")
      5. Short Cut Key (combination of keys) not tied to Context Menu tested in Menu section of this test spec
      6. Verify for one of the options listed above, when you do a Reply using a domain outside of @netscape.com, the Intelligent Send dialog appears
    2. When a News message is selected
      1. Verify right mouse click will bring up a menu listing (4) options: Reply to Sender, Reply to Newsgroups,Reply to All
      2. Verify for news related options, you can Reply to a message in HTML format (change the format in the Preferences)
      3. Verify for news related options, you can Reply a message in plain text format (change the format in the Preferences)
      4. Verify the Mnemonic (aka-access keys=underlined character of a Context menu item) for each option listed below works as directed:
        • Reply to Newsgroup (as per specs "Y")
      5. Short Cut Key (combination of keys) not tied to Context Menu tested in Menu section of this test spec

Basic Functionality of Reply

  1. When quoting text in a Reply message
    1. Plain text compose Quoted text uses ">" to begin each quoted sentence
    1. HTML Quoted text does not use ">" to begin each quoted sentence but uses a blue bar "|"
  2. When Replying verify:
    1. Verify subject title is preceded with "Re:"
    2. Verify when sorting messages by Thread the message is indented under Parent message.
    3. Verify you have (2) blank lines by default (could have been changed in prefs.js) separating the quoted text.
  3. Quoting & Wrap Long Lines when Replying
    1. Quoting html to html & Reply as html
      1. Smart html editor figures out where and how to wrap long lines.
    2. Quoting plain text to html & Reply as html
      1. Quoting plain text to html does not reformat the original plain text message. Line formats are preserved via hard line breaks (<CR><LF>).
  4. Additional Reply testing (automatic quote enable - default)
    1. Reply to multiple plain text replies
    2. Reply to multiple HTML replies
    3. Reply to mixture of HTML & Plain text replies
    4. Reply All to multiple plain text replies
    5. Reply All to multiple HTML replies Reply All to mixture of HTML & Plain text replies

Compose Window when Replying

  1. Address pane
    1. Address field
      1. Verify the full address including email domain is inserted in the To: field
      2. Reply to a message that is addressed to a single recipient. Verify that the reply has the sender name in the To: field , the name is placed in the first recipient field and the cursor is placed in the body of the message as stated in the preference.
      3. Reply to a message that is addressed to multiple To: recipients. Verify only the sender is placed in the To: field, the name is place in the first recipient field, and the cursor is place in the body of the message as stated in the preference.
      4. Reply to a message that is addressed to To: and Cc: recipients. Verify only the sender is placed in the To: field, the name is place in the first recipient field, and the cursor is place in the body of the message as stated in the preference.
      5. Reply All to a message that is addressed to multiple recipients. Verify:
        • To: recipients are addressed as To: recipients
        • Cc: recipients are addressed as Cc: recipients
        • Bcc: recipients are addressed as Bcc: recipient
        • Group recipient is addressed as Group recipient
    2. Drag & Drop
      1. verify dragging a addresses from the Address Book to the Compose window address pane, placing name below the inserted Reply name works correctly
      2. verify dragging multiple addresses from the Address Book to the Compose window address pane, placing names below the inserted Reply name works correctly
    3. Copying & Pasting name
      1. verify copying and pasting names in the Compose window address pane, placing names below the inserted Reply name works correctly
    4. Deleting Name
      1. verify the menu option for delete does not work in the address field
      2. verify selecting a name and clicking the "Del" key twice removes: first the name, then the icon
      3. verify selecting one of the icons in the Address field and clicking the "Del" key removes the name and the icon (exception listed next)
      4. verify selecting the last remaining icon in the Address field and clicking the "Del" key does not remove the icon but will remove the name if there is a name one on the line
      5. Delete the recipient and address to a different recipient. Verify the message has been sent to the correct person .
      6. Use the Backspace key to delete all the recipients. Verify the last icon is not removed and nothing bad happens. (Note: We use to crash on the unix platform performing this test)
    5. Attachment tab (See Attachment test spec link above for more comprehensive tests)
      1. Using Toolbar button Attach, select one of each and verify they show up in the Attachment pane and arrive properly
      2. File (one of each)
        • Text
        • HTML
        • Binary (e.g. Gif/JPEG/BMP)
        • vCard
        • Java Applets
      3. Web Page
        • One that is valid
        • One that is not valid
      4. My Address Book card
      5. Signature (Preference setting)
    6. Option tab
      1. Signed & Encrypted (to be tested by TBD Security)
      2. Uuencode (covered in Attachments test spec , see link above)
      3. Format (covered in Intelligent Send test spec, see link above)
      4. Return Receipt (covered in Return Receipt test spec, see link above)
      5. Intelligent Send option (covered in Intelligent Send test spec, see link above)
    7. Subject field
      1. Verify the subject line has Fwd: at the beginning
      2. Send one of each priority options, verify they arrive with the proper priority
    8. Priority: Highest, High, Normal, Low, Lowest (test one of each)
    9. Message area (to be tested see Composition test spec, Plain Text test spec. HTML test spec)
  2. Address Book Picker when Replying to a message (Perform these tests with both Mail & News messages). Note: For Pinpoint addressing against a particular Directory, select the Directory in the Addressing preferences before typing the name in the addressing field.
    1. Addressing messages using the Pinpoint Addressing feature (automatic name completion) by typing a name in the Addressing field below the name that was inserted for the Reply To: that will match a name found in:
      1. Personal Address Book-verify the matching address fills in
      2. Netscape Phone Directory-verify the matching address fills in
      3. [public LDAP] Directory-verify the matching address fills in
    2. Perform the following operation using the Address picker (by clicking the Address toolbar button) while in a Reply-Compose window
      1. Select a name and click on the To: button-verify the address is added to the bucket, clicking OK fills in the name in the addressing field
      2. Select a name and click on the Cc: button-verify the address is added to the bucket, clicking OK fills in the name in the addressing field
      3. Select a name and click on the Bcc: button-verify the address is added to the bucket, clicking OK fills in the name in the addressing field
      4. Select a name, click on the To: button, then remove from bucket-verify the address does not fill in the To: field
      5. Click on the Cancel button to abort a selection
      6. Send message, verify sending to correct addresses
    3. Bug 103665 - Stressing the Address Picker dialog
      1. Start a compose message, click on Address button, then cancel operation
        • Manual testing= repeat this step manually several times (launch Address Picker, Cancel)
        • Automation testing=was written for Nova, automation script not transferable to 5.0 at this time
      2. Start a compose message, click on Address button, change LDAP directory, then cancel operation
        • Manual testing= repeat this step manually several times (launch Address Picker, Cancel)
        • Automation testing=was written for Nova, automation script not transferable to 5.0 at this time
  3. Spell check messages before sending=On for a Reply To message (Perform these tests with both Mail & News messages)
    1. Verify message is spell checked before reply is sent.
  4. Sending Action for a Reply To message (Perform these tests with both Mail & News messages)
    1. Send Now-verify the message is sent immediately
    2. Send Later-verify the message is put in the Unsent Messages (aka Outbox)
    3. Save as Draft-verify the message is put in the Drafts folder (try this with Draft folder=local and IMAP)
    4. Save as Template-verify the message is put in the Template folder (try this with Template folder=local and IMAP)
    5. Intelligent Send (See the Intelligent Send test spec link above)
    6. When replying to a Plain Text message and your format preference is set to "Use the HTML editor to compose messages", a HTML Compose window appears.
      When replying to a HTML message and your format preference is set to "Use the plain text editor to compose messages", a Plain Text Compose window appears. (TBD if Plain Text will stay).