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 > Mail & News: Move/Copy/Fcc Messsages

Feature Test Spec: Mail and News Component

Mail and News Component: Move/Copy/Fcc Messsages

Written by Sheela Ravindran

References

UI Specification: Main Mail Spec

Other: Not available yet

Description

Copy received messages from one folder to another folder, move received messages from one folder to another folder (aka File using toolbar button). Also, copy newly created messages to Sent folder and File Sent Messsage (File Carbon Copy ( Fcc)) newly created messages to a specified folder (this is in addition to a copy going to the Sent folder). These tests are for both Mail & News messages.

Basic Scenario - Move/Copy/Automatic Copy of Sent Messages/Fcc

  1. Received Mail messages can be Moved/Copied from folder to folder within these Mail/News windows
    1. 3 Pane UI
      1. Perform a Move at least once from this window
      2. Perform a Copy at least once from this window
    2. Stand-alone Message window, can be accessed by selecting a message, right mouse click, select Open In New Window.
      1. Perform a Move at least once from this window
      2. Perform a Copy at least once from this window
    3. Undo
      1. Perform a Move and Undo at least once from the 3-Pane Window, verify the Undo worked
      2. Perform a Copy and Undo at least once from the 3-Pane Window, verify the Undo worked
      3. Perform a File and Undo at least once from the 3-Pane Window, verify the Undo worked
  2. Received Messages can be Moved/Copied from folder to folder using these methods:
    1. Menu
      1. Move a message using the menu item, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message using the menu item, verify the message still resides in the originating folder and is also found in the target folder
    2. Toolbar
      1. Using the File button (same action as Move menu item), verify the message is removed from the originating folder and is now located in the target folder
    3. Mnemonics
      1. Move a message using the mnemonic for Move found in the menu, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message using the mnemonic for Copy found in the menu, verify the message still resides in the originating folder and is also found in the target folder
    4. Mouse (drag and drop to Trash)
      1. Move a message by selecting it and dragging it to another folder, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message using the menu item, verify the message still resides in the originating folder and is also found in the target folder
    5. Context Menu
      1. Move a message by a right mouse click on a message then select Move To> to move it to another folder, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message by a right mouse click on a message then select Copy To> to copy it to another folder, verify the message still resides in the originating folder and is also found in the target folder
  3. Number of received messages that can be Moved/Copied from folder to folder
    1. Single message
      1. Perform a single move at least once from one folder to another folder, verify move action as mentioned above
      2. Perform a single copy at least once from one folder to another folder, verify copy action as mentioned above
    2. Multiple messages
      1. Perform (at least once) a continuous selection of multiple messages and move from one folder to another folder, verify all messages were moved as mentioned above
      2. Perform (at least once) a continuous selection of multiple messages and copy from one folder to another folder, verify all messages were copied as mentioned above
    3. Selective messages (Example on Windows, use the Ctrl+Mouse click, On Mac, use Cmd+Mouse click. On Unix, use Ctrl+Mouse click.)
      1. Perform (at least once) a non continuous selection of multiple messages and move from one folder to another folder, verify all messages were moved as mentioned above
      2. Perform (at least once) a non continuous selection of multiple messages and copy from one folder to another folder, verify all messages were copied as mentioned above
    4. All messages
      1. Select all messages in a folder and move them to another folder, verify all messages were moved as mentioned above and empty folder is still listed in the 3-pane window
      2. Select all messages in a folder and copy them to another folder, verify all messages were copied as mentioned above and empty folder is still listed in 3-pane window
  4. Copy received messages from a Newsgroup to various mail folders
    1. IMAP Inbox
      1. copy a single message from a newsgroup folder to a IMAP Inbox, verify the message was copied to the target folder and still resides in the newsgroup
      2. copy a group of messages (multiple select) from a newsgroup to a IMAP Inbox, verify the messages were all copied to the target folder and all still reside in the newsgroup
    2. IMAP user defined folder
      1. copy a single message from a newsgroup folder to a IMAP user defined folder, verify the message was copied to the target folder and still resides in the newsgroup
      2. copy a group of messages (multiple select) from a newsgroup to a IMAP user defined folder, verify the messages were all copied to the target folder and all still reside in the newsgroup
    3. POP Inbox
      1. copy a single message from a newsgroup folder to a POP Inbox, verify the message was copied to the target folder and still resides in the newsgroup
      2. copy a group of messages (multiple select) from a newsgroup to a POP Inbox, verify the messages were all copied to the target folder and all still reside in the newsgroup
    4. POP user defined folder
      1. copy a single message from a newsgroup folder to a POP user defined folder, verify the message was copied to the target folder and still resides in the newsgroup
      2. copy a group of messages (multiple select) from a newsgroup to a POP user defined folder, verify the messages were all copied to the target folder and all still reside in the newsgroup
    5. (TBD)
    6. Verify both menu item Move and context menu item Move are disabled when a newsgroup message is selected while both the menu item Copy and context menu item Copy are enabled
    7. Verify the action of the File toolbar button is a copy when a newsgroup message is selected and button is used
  5. Move/Copy received messages from folder to folder using the standard folders within an account including:
    1. Inbox
      1. Move a message from another folder to the Inbox, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message from another folder to the Inbox, verify the message still resides in the originating folder and is also found in the target folder
    2. Sent
      1. Move a message from another folder to the Sent folder, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message from another folder to the Sent folder, verify the message still resides in the originating folder and is also found in the target folder
    3. Draft
      1. Move a message from another folder to the Draft folder, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message from another folder to the Draft folder, verify the message still resides in the originating folder and is also found in the target folder
    4. Unsent Messages
      1. Move a message from another folder to the Unsent Messages folder, verify you get an error message stating "Cannot copy messages into the "Unsent Messages" folder: That folder is only for storing messages to be sent later", and the message is not moved.
      2. Copy a message from another folder to the Unsent Messages folder, verify you get an error message stating "Cannot copy messages into the "Unsent Messages" folder: That folder is only for storing messages to be sent later", and the message is not copied.
    5. Trash
      1. Move a message from another folder to the Trash folder, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message from another folder to the Trash folder, verify the message still resides in the originating folder and is also found in the target folder
    6. User defined (a folder you created and named)
      1. Move a message from another folder one of your user defined folders, verify the message is removed from the originating folder and is now located in the target folder
      2. Copy a message from another folder to one of your user defined folders, verify the message still resides in the originating folder and is also found in the target folder
  6. Moving/Copying a received message between Accounts ( you must have multiple accounts set up to complete this test - at least 1 IMAP, 1 POP and one (TBD) account)
    1. POP folder to IMAP folder
      1. Move a message from a POP account folder to an IMAP account folder, verify the message is removed from the originating folder and is now located in the target folder
      2. Move a group of messages from a POP account folder to an IMAP account folder, verify the messages are removed from the originating folder and are now located in the target folder
      3. Copy a message from a POP account folder to an IMAP account folder, verify the message still resides in the originating folder and is also found in the target folder
      4. Copy a group of messages from a POP account folder to an IMAP account folder, verify the messages still reside in the originating folder and are also found in the target folder
    2. IMAP folder to POP folder
      1. Move a message from an IMAP account folder to an POP account folder, verify the message is removed from the originating folder and is now located in the target folder
      2. Move a group of messages from a IMAP account folder to an POP account folder, verify the messages are removed from the originating folder and are now located in the target folder
      3. Copy a message from a IMAP account folder to an POP account folder, verify the message still resides in the originating folder and is also found in the target folder
      4. Copy a group of messages from a IMAP account folder to a POP account folder, verify the messages still reside in the originating folder and are also found in the target folder
    3. [TBD]
  7. Copy to Sent folder a New Message (this test is performed from a New Msg (aka Compose) window)
    1. Account Setup - Copies and Folders panel, Copy to Sent folder = checked
      1. With the default POP Sent folder selected, verify a copy of a Sent message went into the POP Sent folder, close application/reopen and verify again
      2. With the default IMAP Sent folder selected, verify a copy of a Sent message went into the IMAP Sent folder, close application/reopen and verify again
      3. Other POP folder selected, verify a copy of a Sent message went into the selected POP folder, close application/reopen and verify again
      4. Other IMAP folder selected, verify a copy of a Sent message went into the selected IMAP folder, close application/reopen and verify again
    2. Account Setup - Copies and Folders panel, Copy to Sent folder =unchecked
      1. Send a New Message and verify without closing the application, a copy is not sent to the designated folder
      2. Send a New Message and verify, after closing and reopening the application, a copy is not sent to the designated folder.
      3. Send a New Message, select a folder from the File Carbon Copy menu list (located under menu item Message) and verify a copy only went to the Fcc designated folder.
  8. Fcc a copy of a newly composed Message (this test is performed from a New Msg (Compose) window)
    1. Using menu item File Carbon Copy (Fcc) plus copy to Sent folder = checked
      1. Select a POP folder from the list generated when selecting File Carbon Copy, send the message and verify a copy of the message went into the Fcc selected folder and the designated copy to Sent folder.
      2. Select an IMAP folder from the list generated when selecting File Carbon Copy, send the message and verify a copy of the message went into the Fcc selected folder and the designated copy to Sent folder.
      3. [TBD]
    2. Using menu item File Carbon Copy (Fcc) while copy to Sent folder = unchecked
      1. Select a POP folder from the list generated when selecting File Carbon Copy, send the message and verify a copy of the message went into the Fcc selected folder but did not go into the designated copy to Sent folder.
      2. Select an IMAP folder from the list generated when selecting File Carbon Copy, send the message and verify a copy of the message went into the Fcc selected folder but did not go into the designated copy to Sent folder.
      3. [TBD]
    3. Verify the Fcc information is only for filing purposes and is not displayed in the header as part of the addressing field.

Expanded Scenarios - Move/Copy/Automatic Copy of Sent Messages/Fcc

  1. 3 Pane UI collapsed to 2 pane UI
    1. Collapse the Message pane only, from the Thread pane, Move a message to another Folder within the same account, verify the move action as described above
    2. Collapse the Message pane only, from the Thread and Copy a message to another Folder within the same account, verify the copy action as described above
    3. Collapse the Sidebar (aka Folder pane) only, select a message and Move a message to another Folder within the same account, using the menu item, verify the Move action as described above
    4. Collapse the Sidebar (aka Folder pane) only and Copy a message to another Folder within the same account, verify the copy action as described above.
  2. 3 Pane UI collapsed to 1 pane UI
    1. Collapse the Thread pane and Folder pane then Move a message from the Message pane, verify the move action as described above
    2. Collapse the Thread pane and Folder pane then Copy a message from the Message pane, verify the copy action as described above
    3. Collapse the Sidebar (aka Folder pane) and Message pane then Move a message from the Thread pane, verify the move action as described above
    4. Collapse the Sidebar (aka Folder pane) and Message pane then Copy a message from the Thread pane, verify the copy action as described above
  3. Move/Copy a message when the number of messages in the mail folder is:
    1. No messages in selected folder, verify the Move and Copy in Menu items and the File toolbar button are disabled
    2. 1 message in the folder, verify for a move, the message is moved to target folder and the now empty folder is still listed in the Side bar. Verify for a copy the message still resides in the originating folder and appears in the target folder.
    3. 2-10 messages in the folder, Move or Copy selected message/s and verify they are moved or copied per actions described above
    4. 11-50 messages in the folder, Move or Copy selected message/s and verify they are moved or copied per actions described above
    5. 51-1000 messages in the folder, Move or Copy selected message/s and verify they are moved or copied per actions described above
  4. Interrupting Moving/Copying message when the number of messages in the mail folder is:
    1. 1 message (should have a large attachment so the move/copy takes at least 30 seconds so you can interrupt), verify the move/copy did not take place and the message is in the original folder is still intact
    2. 2-10 messages in the folder (should have a large attachments so the move/copy takes at least 30 seconds so you can interrupt), verify pressing the "Stop" button stops the process of the move/copy, all messages are complete (no matter which folder are now located), and they can be opened.
    3. 11-50 messages in the folder, verify pressing the "Stop" button stops the process of the move/copy, all messages are complete (no matter which folder are now located), and they can be opened.
    4. 51-1000 messages in the folder, verify pressing the "Stop" button stops the process of the move/copy, all messages are complete (no matter which folder are now located), and they can be opened.
  5. Move/Copy by dragging between POP and IMAP folders
    1. Drag a message from a POP folder to an IMAP folder, verify this simple drag process is a Move and the move is completed as described above
    2. Drag a message from an IMAP folder to a POP folder, verify this simple drag process is a Move and the move is completed as described above
    3. Ctrl+drag a message from a POP folder to an IMAP folder, verify this Ctrl+drag process is a Copy and the copy is completed as described above
    4. Ctrl+drag a message from an IMAP folder to a POP folder, verify this Ctrl+drag process is a Copy and the copy is completed as described above
    5. Drag a message from a newsgroup to an IMAP or POP folder, verify this simple drag process is a Copy and the copy is completed as described above
    6. Ctrl+drag a message from a newsgroup to an IMAP or POP folder, verify this Ctrl+drag process is a Copy (not a Move) and the copy is completed as described above
  6. Move/Copy message/s cannot be to the same folder where the message resides
    1. verify drag n drop to the same folder, you will get the icon which disallows the action
    2. verify the originating folder is disabled in the drop down list when using the menu item Move Message
    3. verify the originating folder is disabled in the drop down list when using the menu item Copy Message
    4. verify the originating folder is disabled in the drop down list when using the File toolbar button
  7. Move/Copy message/s when messages are sorted in different views
    1. Move a message from one folder to another after changing the sort order in the Thread view, verify the move action as described above, then sort back to the original order and verify the move was still successful
    2. Copy a message from one folder to another after changing the sort order in the Thread view, verify the copy action as described above, then sort back to the original order and verify the move was still successful
  8. Move/Copy a Replied message and Forward message
    1. Move a replied message from one folder to another, verify the move action as described above
    2. Copy a replied message from one folder to another, verify the copy action as described above
    3. Move a forwarded message from one folder to another, verify the move action as described above
    4. Copy a forwarded massage from one folder to another, verify the copy action as described above
  9. Visual
    1. Verify feedback through the status/progress bar for each Move/Copy/File action (since this feedback can be quick, multiple selection moves should be used for this test)
  10. Fcc
    1. Fcc to the same folder you selected for automatically sending copies to, verify you only get one copy in that folder
    2. Fcc a New Message with several recipients, verify you only get one copy in the designated Fcc folder
    3. Fcc a New Message with addressing that includes both a mail recipient and newsgroup recipient, verify you only get one copy in the designated Fcc folder

Stress Scenarios - Move/Copy/Automatic Copy of Sent Messages/Fcc

  1. Verify you are able to Move/Copy/File messages with the following attachments:, verify the appropriate action for each (Copy/Move/File), and the messages can be opened with contents intact.
    1. large attachment (100kb)
    2. html attachment
    3. text attachment
    4. mailto link
  2. Verify you can Copy/Move/File messages using one of the above mentioned methods with the following criteria:, verify the appropriate action for each (Copy/Move/File) and the messages can be opened with contents intact.
    1. to various levels within the local mail folders
    2. to various level within the IMAP folders,
    3. with multiple attachments
    4. html messages
    5. plain text messages
  3. Verify you can Move/Copy messages via drag & drop:
    1. Drag to move (news messages will just copy)
    1. from stand alone message window to the Sidebar (aka Folder pane)
    2. from message pane to the Sidebar (aka Folder pane)
    3. to Personal Toolbar in Browser
      1. from thread window
      2. from message window

Preferences/Account Setup: Settings for Automatic Copy of Sent Messages

  1. Location of this setting: Account Setup Dialog listed under Mail or News server as "Copies and Folders
    1. Verify each account, Mail and News, has a Copies and Folder section listed when expanded
    2. Verify, when Copies and Folders is selected for each account, the panel on the right side changes to display the setting for that account's Copies and Folders
    3. Check box for automatically placing a copy in a specified folder when sending:
      1. verify this box is check by default
      2. verify changing the status of this box saves this action when you OK the dialog and then reopen it again
      3. verify changing the status of this box saves this action when you OK the dialog, close the application, then reopen
      4. verify that changing this setting for a selected account, does not interfere with the setting for the other accounts
    4. "Place a copy in:"
      1. verify the default folder for each account is the local "Sent" folder and is displayed in the list box as "Sent" in "Local Mailbox"
      2. verify , after migrating a 4.x profile, the folder listed list as the designated Sent folder is the same as the one in the 4.x profile you just migrated
      3. verify, when down arrow is selected, a drop down list appears listing all the folders and nested folders for that account
      4. verify, when changing folder selection the pretty name displayed in the collapsed list box is "[folder name]" in "[server name Mailbox]"

Overview for Drag N Drop options

  1. Windows:
    1. Ctrl+drag to copy
    2. Drag to move (news messages will just copy)
  2. Macintosh
    1. Option key+drag to copy
    2. Drag to move (news messages will just copy)
  3. Unix:
    1. (unknown at this time)
    2. Drag to move (news messages will just copy)