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 > Send

Feature Test Spec: Mail and News Component

Mail and News Component: Send

Written by Sheela Ravindran
Updated by Gregg Meehan

References:

UI Specification: Message Compose Spec, Mail Compose: Sending Feedback

Other: Mail Notify test spec, Return Receipt test spec, Format test spec, Attachments test spec, Forward test spec, Reply test spec (note: all links may not be active yet)

Any items that are greyed out are not in Mach V

Description

Perform these tests in both HTML & Plain text compose modes. Send/Post to both Mail/News for each below unless specifically noted. NOTE: "Unsent Messages" folder will be titled "Outbox" if user already had "Outbox" when upgrading-Outbox was the name in earlier versions.

Sending Feed Back

  1. In general and for the all the test cases below verify the following feed back while sending messages
    1. Verify that the compose window remains open until the message is sent successfully
    2. Verify a Progress Dialog appears in the mail compose window
      1. Verify the Dialog has a "Cancel" button
      2. Verify the Dialog has a Progress bar that shows percentage complete
      3. Verify the Dialog has Subject field that displays the same information as the subject field in the compose window

This Dialog may sometimes appear and disappear very quickly. Send a message with a large attachment in order to see the progress bar.

Location for Sending/Posting a Message

  1. Verify you can Send a New Message to an email address using the following locations to launch a New message window. Perform sending mail in both HTML/Plain text with the following variations in message window:
    1. Toolbar button "Send"
    2. Menu item File|Send Now
    3. Mnemonics for the menu item File|Send Now (Currently Ctrl+D)
    4. Short-cut/accelerator key (Currently from the spec: Ctrl+Enter)
    5. Menu item File|New|Mail Message. Selection should be on a Mail Message when in a Messenger or Message window which will provide an empty addressing field:
    6. Navigator (note this is done when Messenger is not opened)
      1. Send Page
    7. Messenger (3-Pane)
      1. 3 Pane UI collapsed to 2 pane UI
        • Drag the Thread pane above so that you have only message pane visible, click New Msg and send a message.
          • verify an empty addressing pane at first, type in an address
          • verify it's sent to the correct addresss (the one you typed in).
        • Collapse the Message pane only, select a mail message, click New Msg and send a message. (verify same as above)
        • Collapse the Sidebar (Folder pane) only, select a mail message, click New Msg and send a message. (verify same as above)
      2. 3 Pane UI collapsed to 1 pane UI ( Each test case verify as above)
        • Drag Sidebar (Folder) bar to far right to make it the only pane visible, select a Folder, click New Msg and send a message.
        • Collapse Sidebar (Folder pane) and close the Thread pane, click New Msg and send a message.
        • Collapse the Message pane and Sidebar (Folder pane), select a mail message, click New Msg and send a message.
    8. Message Window (stand alone)- Verify correct send.
    9. Composer-Verify correct send.
    10. New Msg (can launch a second instance of a New message window)-Open second message window, fill in addressing pane and body. Verify correct send and closing of the 2nd window, leaving the first New message window opened and all contents still there.
    11. Multiple 3-Pane windows opened-Verify you can compose a New Message and Send it while there are multiple messenger windows opened
    12. Layout of 3-Pane window is different from default (Sidebar (Folder) and Thread top panes, Message on bottom pane)
    13. Address Book-Verify correct send
    14. Verify Mail Notification appears when mail is received
      1. Verify sound alert
      2. Verify mail alert (sliding alert dialog that appears above the system tray in lower right hand corner)
      3. Verify mail notification icon (white envelope with a red flag that appears in the system tray)
  • Posting News Message
  1. Verify you can Post a New message to a newsgroup using the following locations to launch a New Message window. Perform posting a message in both HTML/Plain text with following variations from the message window:
    1. Toolbar button "Send"
    2. Menu item File|Send Now
    3. Mnemonics for the menu item File|Send Now (Currently Ctrl+D)
    4. Short-cut/accelerator key (Currently as per the spec: Ctlrl+Enter)
    5. Menu item File|New|Message. Selection should be on a Newsgroup or news message so that the newsgroup address will be inserted in the addressing field.
    6. Messenger (3-Pane)
      1. 3 Pane UI collapsed to 2 pane UI
        • Close the Thread pane only, click New Msg and post a message.
          • verify the selected newsgroup address is inserted in the addressing pane
          • verify it's sent to the correct newsgroup address.
        • Collapse the Message pane only, select a news message, click New Msg and post a message. (verify same as above)
        • Collapse the Sidebar (Folder pane) only, select a news message, click New Msg and post a message. (verify same as above)
      2. 3 Pane UI collapsed to 1 pane UI
        • Drag Sidebar (Folder) bar to far right to make it the only pane visible, select a newsgroup, click New Msg and post a message. (verify same as above
        • Collapse Sidebar (Folder pane) and close the Thread pane, click New Msg and post a message. (verify same as above)
        • Collapse the Message pane and Sidebar (Folder pane), select a news message, click New Msg and post a message. (verify same as above)

Send using the Addressing tab

  1. Send a message with no address or subject.
    1. Verify you get the no subject dialog first. It states "You did not specify a subject for this message. If you would like to provide one, please type it now" click the OK button and you will get the no recipient dialog which states "No recipients were specified. Please enter a recipient in a To: line, or a newsgroup in a Group: line"
  2. Send a message without required addressing formats:
    1. Verify you get no recipient dialog if you don't have either To: or Group as an addressing field. You must have one of these in the addressing pane
  3. Send a message with an address but no Subject
    1. Verify you get the no subject dialog and allows to modify the text
    2. Verify OK to the dialog without modifying will have "no subject" text in the subject field when you receive the message
    3. Verify when delete the text "no subject" in the dialog has just blank in the subject field when you receive the message
  4. Send a message with address by selecting the recipient from the "Select Adresses" Dlg
    1. Verify you get the Dlg "Select Adresses" when you click on the tool bar button Address
    2. Verify you can select a recipient from the dialog and sucessfully send and received the message
  5. Send a message with no Address but a Subject.
    1. Verify you get the no recipient dialog
  1. Send a message with nothing in the Body.
    1. Verify the message is sent, no prompt for an empty body.
    2. Verify a message with a signature or vCard, but no body is sent and received with signature or vCard included.
  2. Send a message to a bogus (invalid) email & newsgroup address
    1. For mail, verify the message is sent, the window is closed & you receive a bounce back message that the email address is incorrect, when you enter a invalid email address in the To: addressing field
    2. For news groups, verify the message is sent, the window is closed & you receive a bounce back message that the email address is incorrect when you enter a valid newgroup name in the To: addressing field
    3. For news, verify you receive a dialog "The newsgroup header is not valid", if you enter a invalid newsgroup name in a Group: addressing field
    4. For news, verify you receive a dialog "The newsgroup header is not valid", if you enter a valid email address in a Group: addressing field.
  3. Send a message to a mail address and a newsgroup
    1. Verify the message is sent to both, and the window is closed.
  4. Send a message using all of the Addressing options (To: Cc: Bcc, etc.)
    1. Verify the message is sent to all, and the window is closed.

Send using the Attachments tab--perform these in both HTML & Plain text

  1. Send a message with an attachment, verify the attachments are attached when received ( Other test cases for more extensive testing of Attachments are available, see Attachements test spec). Perform sending attachments with the following variations:
    1. Toolbar button has widget that results in drop down with the following items:
      1. Attach a File
      2. Attach a Web Page
      3. Attach a Personal vCard
  2. Send a message with a Signature file attached. This can be done from Menu Item Edit/Mail/News Account Settings
  3. Send a message with all of the attachment options, verify all of the attachments are attached when received.

Send using the Encryption and Digital Signature--perform these in both HTML & Plain text

  1. Send a message with encryption and a digital signature, verify it is received correctly. Verify that independently you can override the settings in the Security panel of the Mail and Newsgroups Account Settings. Perform sending digitally signed and encrypted messages with the following variations:
    1. Encrypt and digitally sign the message
    2. Encrypt the message but with no digital signature
    3. Digitally sign the message but with no encryption
    4. Send a message without any digital signature or encryption

Send using other Options - perform these in both HTML & Plain text

  1. Send a message with one of the following options located in the Message menu list. Verify that the options work as specified when message is sent. (see other test cases for more extensive testing of Return Receipt, Uuencode (in Attachments test spec), Format (in Intelligent Send test spec), Encrypted & Signed (not in spec yet)
    1. Encrypted
    2. Signed
    3. Return Receipt
    4. Uuencode instead of MIME for attachments
    5. Format
  2. Send a message using a combination of the options. Verify the options work as specified when message is sent. (see other test cases for more extensive testing of Return Receipt, Uuencode (in Attachments test spec), Format (in Intelligent Send test spec), Encrypted & Signed (not in spec yet)
  3. Send a message when the Addressing pane is collapsed after you have entered a valid address, verify the message is sent and received.

Send using other options in Account Settings/Copies and Folders

  1. Copies and Folders - Mail
    1. Check box titled "Bcc [your account name displays here by default]"
      1. check box=checked, send message to a test account that you have access to, Get the message:
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open your mail box and verify you received the message, but Bcc is not listed in the message view or the page source
        • Verify that the Bcc is only visible in the Sent folder where the copy of the message sent is placed (this test covered in the Send spec) (bug#61621)
      2. check box=unchecked, send message to a test account that you have access to, Get the message.
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open your mail box and verify you received the message, but Bcc is not listed in the message view or the page source
        • verify that the Bcc is not visible in the Sent folder where the copy of the message sent is placed (this test covered in the Send spec)
    2. Check box titled "Bcc another address: [ ]
      1. check box=checked, enter email address for a test account in the text box and send message to another test account that you have access to, Get the message from the account you sent to:
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open the message for the account you Bcc'd and verify the message was received, but Bcc is not listed in the message view or the page source
        • verify that Bcc is visible in the copy of the message that was sent to the Sent folder (covered in the Send spec)
      2. check box=unchecked, enter email address for a test account in the text box and send message to another test account that you have access to, Get the message from the account you sent to:
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open the message for the account you Bcc'd and verify the message was received, but Bcc is not listed in the message view or the page source
        • verify that Bcc is not visible in the Sent folder where the copy of the message sent is placed from the account where you sent it from.(this test covered in the Send spec)
  2. Copies and Folders - News
    1. Check box titled "Bcc [your account name displays here by default]"
      1. check box=checked, send message to a newsgroup, Get the message:
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open the message in the newsgroup, verify the Bcc is not listed in the message view or the page source
        • verify the only place the Bcc is visible is in the copy of the message that was sent to the Sent folder (covered in the Send spec)
      2. check box=unchecked, send message to a newsgroup, Get the message.
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open the message in the newsgroup, verify the Bcc is not listed in the message view or the page source
        • verify Bcc is not visible in the copy of the message that was sent to the Sent folder (this test covered in the Send spec)
    2. Check box titled "Bcc another address: [ ]
      1. check box=checked, enter email address for a test account in the text box and send message to a newsgroup, Get the message:
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open the message in the account you Bcc'd, verify the Bcc is not listed in the message view or the page source
        • verify the only place the Bcc is visible is in the copy of the message that was sent to the Sent folder (covered in the Send spec)
      2. check box=unchecked, enter email address for a test account in the text box and send message to a newsgroup, Get the message
        • verify the header does not have the Bcc listed
        • verify when message is viewed using menu item View|Page Source, Bcc is not listed
        • Open the message in the account you Bcc'd, verify the Bcc is not listed in the message view or the page source
        • verify Bcc is not visible in the copy of the message that was sent to the Sent folder (this test covered in the Send spec)

    Other Send Variations-TBD

    1. Offline state:
      1. Verify Online/Offline icon is displayed in the left corner, indicating the current connection.
      2. Verify clicking on the icon toggles the connection between online and offline
      3. While in Offline state, verify the Send Button changes to Send Later (w/clock icon)
      4. Verify the messages goes to the Unsent Messages folder
    2. Send a message when several New message windows are opened.
      1. Verify the message is sent to the correct address of the sent message, the sent message window is closed and the other New message windows are still opened.
      2. Verify each of the other opened windows will send & close when sent, leaving the remaining windows opened. Continue until all messages are sent leaving no window opened.
    3. Send messages from the "Unsent Messages" folder (aka Outbox if user already has an Outbox when upgrading)
      1. Verify you can open the message in the Unsent Message folder and edit before sending it
      2. Using Menu item "Send Unsent Messages", verify the messages are sent if you OK the dialog
      3. Closing Messenger with messages in the Unsent Messages folder, verify the messages are sent if you OK the dialog
      4. Opening Messenger with messages in the Unsent Messages folder, verify the messages are sent if you OK the dialog and the message is no longer in that folder
    4. Send messages from the Drafts folder
      1. After opening the message, editing it and sending, verify the message is sent correctly and is removed from the Drafts folder
    5. Send a message using Reply (see Reply test spec)
    6. Send a message using Forward (see Forward test spec)
    7. Send with preference for Spell Check before sending checked
      1. Send a message to a recipient, verify the message has been checked for spelling and is correct.
      2. Send a message to the Drafts folder using the Save button, verify the message has been checked for spelling and is correct.
      3. Start a message then close the compose window without sending, verify you get a prompt for saving the message
      4. Send a message to the Unsent Message Folder using the Send Later menu item, verify the message has been checked for spelling and is correct.
    8. Send a message when the preference for Copies and Folders is pointing to a Sent folder on an IMAPserver but it doesn't exist (rename your sent folder to test this)
      1. Verify the the message is sent and a Sent folder is created on your IMAP account
    9. Send a message when the preference for Copies and Messages is pointing to a Local Sent folder, but it doesn't exist. (rename your sent folder to test this)
      1. Verify the the message is sent and a Sent folder is created on your local drive and a copy of the sent message is in the Sent folder
    10. Send when hard drive is full
      1. Create a situation where your hard drive is full. Try to Send a message, you should get a message that it can't save to temp file. (Test spec for Compose covers this too, this is a stress test)
    11. Send with no connection, verify a prompt comes us stating "There was no response. The server could be down or not responding. If you are unable to connect again later, contact the server's administrator."
    12. Send a message when you have removed your email Identity (remove this information in the Preference for Mail & Newsgroups|Identitiy). Verify you get an error message "Your email address has not been specified. Before sending email or news messages, you must specify a return address in Mail and News preferences." Verify when entering this informatin you can now compose and send a message.
    13. Send a message when you have an incomplete email Identity (remove the @xxx.xxx information in the Preference for Mail & Newsgroups|Identity|Email address). Verify you get an error message "The return email address set in Preference is: [incomplete name you have entered in Identity preference ] This appears to be incomplete (it contains no '@'). Example of correct email addresses are 'fred@xyz.com' and 'sue@xyz.gov.com'. " Verify when entering this informatin you can now compose and send a message.
      Send a message when you have removed your Outgoing Server name (you can remove this information in the Preference for Mail & Newsgroups|Mail Servers). Verify you get a message when clicking Send, " No outgoing mail (SMTP) server has been specified in Mail and News Preferences." Verify when entering this informatin you can now send.