You are here: Mozilla MailNews Functional / UI Tests > Send
Feature Test Spec: Mail and News Component
Mail and News Component: Send
Written by Sheela RavindranUpdated 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
- In general and for the all the test cases below verify the
following feed back while sending messages
- Verify that the compose window remains open until the message is sent successfully
- Verify a Progress Dialog appears in the mail compose window
- Verify the Dialog has a "Cancel" button
- Verify the Dialog has a Progress bar that shows percentage complete
- 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
- 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:
- Toolbar button "Send"
- Menu item File|Send Now
- Mnemonics for the menu item File|Send Now (Currently Ctrl+D)
- Short-cut/accelerator key (Currently from the spec: Ctrl+Enter)
- 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:
- Navigator (note this is done when Messenger is not opened)
- Send Page
- Messenger (3-Pane)
- 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)
- Drag the Thread pane above so that you have only
message pane visible, click New Msg and send a message.
- 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.
- 3 Pane UI collapsed to 2 pane UI
- Message Window (stand alone)- Verify correct send.
- Composer-Verify correct send.
- 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.
- Multiple 3-Pane windows opened-Verify you can compose a New Message and Send it while there are multiple messenger windows opened
- Layout of 3-Pane window is different from default (Sidebar (Folder) and Thread top panes, Message on bottom pane)
- Address Book-Verify correct send
- Verify Mail Notification appears when mail is received
- Verify sound alert
- Verify mail alert (sliding alert dialog that appears above the system tray in lower right hand corner)
- Verify mail notification icon (white envelope with a red flag that appears in the system tray)
- Posting News Message
- 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:
- Toolbar button "Send"
- Menu item File|Send Now
- Mnemonics for the menu item File|Send Now (Currently Ctrl+D)
- Short-cut/accelerator key (Currently as per the spec: Ctlrl+Enter)
- 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.
- Messenger (3-Pane)
- 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)
- Close the Thread pane only, click New Msg and post a
message.
- 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)
- 3 Pane UI collapsed to 2 pane UI
Send using the Addressing tab
- Send a message with no address or subject.
- 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"
- Send a message without required addressing formats:
- 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
- Send a message with an address but no Subject
- Verify you get the no subject dialog and allows to modify the text
- Verify OK to the dialog without modifying will have "no subject" text in the subject field when you receive the message
- Verify when delete the text "no subject" in the dialog has just blank in the subject field when you receive the message
- Send a message with address by selecting the recipient from the
"Select Adresses" Dlg
- Verify you get the Dlg "Select Adresses" when you click on the tool bar button Address
- Verify you can select a recipient from the dialog and sucessfully send and received the message
- Send a message with no Address but a Subject.
- Verify you get the no recipient dialog
- Send a message with nothing in the Body.
- Verify the message is sent, no prompt for an empty body.
- Verify a message with a signature or vCard, but no body is sent and received with signature or vCard included.
- Send a message to a bogus (invalid) email & newsgroup address
- 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
- 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
- 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
- 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.
- Send a message to a mail address and a newsgroup
- Verify the message is sent to both, and the window is closed.
- Send a message using all of the Addressing options (To: Cc: Bcc,
etc.)
- Verify the message is sent to all, and the window is closed.
Send using the Attachments tab--perform these in both HTML & Plain text
- 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:
- Toolbar button has widget that results in drop down with the
following items:
- Attach a File
- Attach a Web Page
- Attach a Personal vCard
- Toolbar button has widget that results in drop down with the
following items:
- Send a message with a Signature file attached. This can be done from Menu Item Edit/Mail/News Account Settings
- 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
- 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:
- Encrypt and digitally sign the message
- Encrypt the message but with no digital signature
- Digitally sign the message but with no encryption
- Send a message without any digital signature or encryption
Send using other Options - perform these in both HTML & Plain text
- 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)
- Encrypted
- Signed
- Return Receipt
- Uuencode instead of MIME for attachments
- Format
- 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)
- 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
- Copies and Folders - Mail
- Check box titled "Bcc [your account name displays here by
default]"
- 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)
- 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)
- check box=checked, send message to a test account that you
have access to, Get the message:
- Check box titled "Bcc another address: [ ]
- 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)
- 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)
- 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:
- Check box titled "Bcc [your account name displays here by
default]"
- Copies and Folders - News
- Check box titled "Bcc [your account name displays here by
default]"
- 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)
- 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)
- check box=checked, send message to a newsgroup, Get the
message:
- Check box titled "Bcc another address: [ ]
- 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)
- 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)
- check box=checked, enter email address for a test account
in the text box and send message to a newsgroup, Get the
message:
Other Send Variations-TBD
- Offline state:
- Verify Online/Offline icon is displayed in the left corner, indicating the current connection.
- Verify clicking on the icon toggles the connection between online and offline
- While in Offline state, verify the Send Button changes to Send Later (w/clock icon)
- Verify the messages goes to the Unsent Messages folder
- Send a message when several New message windows are opened.
- 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.
- 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.
- Send messages from the "Unsent Messages" folder (aka Outbox if
user already has an Outbox when upgrading)
- Verify you can open the message in the Unsent Message folder and edit before sending it
- Using Menu item "Send Unsent Messages", verify the messages are sent if you OK the dialog
- Closing Messenger with messages in the Unsent Messages folder, verify the messages are sent if you OK the dialog
- 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
- Send messages from the Drafts folder
- After opening the message, editing it and sending, verify the message is sent correctly and is removed from the Drafts folder
- Send a message using Reply (see Reply test spec)
- Send a message using Forward (see Forward test spec)
- Send with preference for Spell Check before sending checked
- Send a message to a recipient, verify the message has been checked for spelling and is correct.
- Send a message to the Drafts folder using the Save button, verify the message has been checked for spelling and is correct.
- Start a message then close the compose window without sending, verify you get a prompt for saving the message
- 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.
- 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)
- Verify the the message is sent and a Sent folder is created on your IMAP account
- 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)
- 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
- Send when hard drive is full
- 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)
- 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."
- 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.
- 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.
- Check box titled "Bcc [your account name displays here by
default]"