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: IMAP Folders Functionality

Feature Test Spec: Mail and News Component

Mail and News Component: IMAP Folders Functionality

Written by Karen Huang

References

UI Specification:

Description

This Feature Test Spec described Feature Functionality for the Folders.

Table of Contents

Folders Feature Functionality

Open/View Folders

Methods: Single-click in folder pane / Menubar "Context" menu-> open / "Next" Navigate from previous mail folder

  1. First time using account: (No Summary Files present)
  2. Not first time using account:
    1. Open/View Empty Folders
    2. Open/View Folder w/ 5000 messages (What is Max holding messages for each folder?) (Note time taken. Compare it to 4.5 performance)
    3. Read-only privilege Folder (Use Messaging Server 4.0 to set privilege level)
    4. NoSelect Folder (Folder should not be openable) - Refer to Special Folder Functionality.
  3. View Folders of the same IMAP account from other client.

Create Folders

  1. Special Folders' Functionality:
    1. Special Folders for IMAP
      1. Inbox (*Only Microsoft Exchange & Cyrus Servers' Inboxs allow to create Subfolders)
      2. Send Folder
      3. Draft Folder
      4. Template Folder
  2. New Folders' Functionality: (at least 3 levels)
    Create Methods: Menubar / New Folder Dialog
    1. New 1st level Folder
    2. New 2nd level Folder
    3. New 3rd level Folder
    4. New 4th level Folder
    5. Manually Create Send Folder and its Subfolders
    6. Manually Create Draft Folder and its Subfolders
    7. Manually Create Template Folder and its Subfolders
    8. Trash Folder and its Subfolders
      1. Mark as Delete Model (*Only IMAP w/Mark as delete model - delete model may change in 5.0???)
      2. Move to the Trash Model
    9. Special Folder's Functionality (*IMAP only)
      1. Container (\NoSelect) Folder: (IMAP only)
        Method:Positive testing & Negative Testing
        1. Positive testing
          • Need unchecked "support dual-use folders" on Mail server Preference
          • e.g. SIMS, UW using Unix Mailbox message storage type:
            To create a container folder on Unix, create a hierarchy all at once: e.g "folder1/folder2", Folder1 will be No Select. (Folder should not be openable)
          Need to check IMAP Log: Folder LIST should return with a /NoSElect flag. Filing a message to this folder should fail
        2. Negative testing
          • Need check "support dual-use folders" on Mail server Preference and use standard New Folder dialog box.
          • e.g. Messaging Server 4.0 does support both types used
          • Creation Should Fail.
      2. Message-Only Folder
        • Need checked "doesn't support dual-use folders" on Mail server Preference
        • e.g. SIMS, UW using Unix Mailbox message storage type:to create a Message-Only folder on Unix, create a hierarchy all at once:e.g. "folder1/folder2", Folder2 will be Message-Only.- e.g. Messaging Server does support both type
        Need to check IMAP Log: Folder LIST should return with a /NoInferiors flag. Filing a subfolder to this folder should fail
  3. Create Max Folders (20-30 deep - Stress Test)
    1. Inbox
    2. New 1st level Folder
    3. New 2nd level Folder
    4. New 3rd level Folder
    5. New 4th level Folder
    6. Manually Create Send Folder and its Subfolders
    7. Manually Create Draft Folder and its Subfolders
    8. Manually CreateTemplate Folder and its Subfolders
    9. Trash Folder and its Subfolders
      1. Mark as Delete Model (*Only IMAP w/Mark as delete model - delete model may change in 5.0???)
      2. Move to Trash Model
    10. Special Folders' Functionality ( * IMAP only)
      1. Container (NoSetect) Folder: (IMAP only)
        Method: Positive testing & Negative Testing
        1. Positive testing
          • Need unchecked "support dual-use folders" on Mail server Preference
          • e.g. SIMS, UW using Unix Mailbox message storage type to create a container folder on Unix, create a hierarchy all at once:e.g "folder1/folder2", Folder1 will be No Select. (Folder should not be openable)
          Need to check IMAP Log: Folder LIST should return with a /NoSelect flag. Filing a message to this folder should fail
        2. Negative testing
          • Need checked "support dual-use folders" on Mail server Preference and use standard New Folder dialog box.
          • e.g. Messaging Server 4.0 does support both types used
          • Creation Should Fail
      2. Message-Only Folder
        • Need unchecked "support dual-use folders" on Mail server Preference
        • e.g. SIMS, UW using Unix Mailbox message storage type:to create a Message-Only folder on Unix, create a hierarchy all at once:e.g "folder1/folder2", Folder2 will be Message-Only.- e.g. Messaging Server does support both type
        Need to check IMAP Log: Folder LIST should return with a /NoInferiors flag. Filing a subfolder to this folder should fail
  4. Create Folders of the same IMAP account from other client.

Expand Folders

  1. Inbox
    1. Microsoft Exchange IMAP and Cyrus IMAP
  2. New Folders
    1. New 1st level Folder
    2. New 2nd level Folder
    3. New 3rd level Folder
    4. New 4th level Folder
  3. Default Special Folders
    1. Send Folder and its Subfolders
    2. Draft Folder and its Subfolders
    3. Template Folder and its Subfolders
    4. Trash Folder and its Subfolders
      1. Mark as Delete Model (*Only IMAP w/Mark as delete model)
      2. Move to Trash Model
  4. Special Folders
    1. NoSelect Folder (IMAP only)
    2. Dual-user folder (IMAP only)
  5. Scroll Bar will display and function correctly by the folders' expansion

Collapse Folders

  1. Inbox
    1. Microsoft Exchange IMAP and Cyrus IMAP
  2. New Folders
    1. New 1st level Folder
    2. New 2nd level Folder
    3. New 3rd level Folder
    4. New 4th level Folder
  3. Default Special Folders
    1. Send Folder and its Subfolders
    2. Draft Folder and its Subfolders
    3. Template Folder and its Subfolders
    4. Trash Folder and its Subfolders
      1. Mark as Delete Model (*Only IMAP w/Mark as delete model - delete model may change in 5.0???)
      2. Move to Trash Model
  4. Special Folders
    1. NoSelect Folder (IMAP only)
    2. Dual-user folder (IMAP only)
  5. Scroll Bar will disappear by the folders' collapse.

Expand/Collapse Folders

  1. Select some folders for repeating the expand/collapse action several times quickly
  2. Any relevant shortcuts or keyboard access methods.

Copy/Move (Drag & Drop) Folders

"Copy" apply to all level folders except the actions are " Move" between Server/Local folders and Default Special Folders

  1. Same Account:
    1. IMAP Server <-> Local Mail (with all messages)
      1. Same Level Folders (Include Inbox "exclude Messaging 4.1 Server", Default Special Folders "Send/Drafts/Template/Trash Folders" & Special Folders):
        1. 1st Level Folders to 1st Level Folders
        2. 2nd Level Folders to 2nd Level Folders
        3. 3rd Level Folders to 3rd Level Folders
      2. Different Level Folders (Include Inbox "exclude Messaging 4.1 Server", Default Special Folders "Send/Drafts/Template/Trash Folders" & Special Folders):
        1. 1st Level Folders to 2nd Level Folders / 2nd Level Folders to 1st Level Folders /Undo
        2. 2nd Level Folders to 3rd Level Folders / 3rd Level Folders to 2nd Level Folders
        3. 1st Level Folders to 3rd Level Folders / 3rd Level Folders to 1st Level Folders.
  2. Different Account:
    1. IMAP Server <-> IMAP Server (with all messages)
      1. Same Level Folders (Include Inbox "exclude Messaging 4.1 Server", Default Special Folders "Send/Drafts/Template/Trash Folders" & Special Folders):
        1. 1st Level Folders to 1st Level Folders
        2. 2nd Level Folders to 2nd Level Folders
        3. 3rd Level Folders to 3rd Level Folders
      2. Different Level Folders (Include Inbox "exclude Messaging 4.1 Server", Default Special Folders "Send/Drafts/Template/Trash Folders" & Special Folders):
        1. 1st Level Folders to 2nd Level Folders / 2nd Level Folders to 1st Level Folders.
        2. 2nd Level Folders to 3rd Level Folders / 3rd Level Folders to 2nd Level Folders.
        3. 1st Level Folders to 3rd Level Folders / 3rd Level Folders to 1st Level Folders.
    2. IMAP Server <-> POP Server (with all messages)
      1. Same Level Folders (Include Inbox "exclude Messaging 4.1 Server", Default Special Folders "Send/Drafts/Template/Trash Folders" & Special Folders):
        1. 1st Level Folders to 1st Level Folders
        2. 2nd Level Folders to 2nd Level Folders
        3. 3rd Level Folders to 3rd Level Folders
      2. Different Level Folders (Include Inbox "exclude Messaging 4.1 Server", Default Special Folders "Send/Drafts/Template/Trash Folders" & Special Folders):
        1. 1st Level Folders to 2nd Level Folders / 2nd Level Folders to 1st Level Folders.
        2. 2nd Level Folders to 3rd Level Folders / 3rd Level Folders to 2nd Level Folders.
        3. 1st Level Folders to 3rd Level Folders / 3rd Level Folders to 1st Level Folders.
  3. Error Message displayed when Drag & Drop folders to undroppable location (ex: within same folder)
  4. Undo Drag & Drop operations

Properties of Folders

Methods: Main Menu, right mouse Context Menu and Keyboard Shortcut

  1. Check Folder Name
    1. Inbox
      1. IMAP Server
    2. Folders
      1. 1st level Folder
      2. 2nd level Folder
      3. 3rd level Folder
      4. 4th level Folder
    3. Default Special Folders
      1. Send Folder and its Subfolders
      2. Draft Folder and its Subfolders
      3. Template Folder and its Subfolders
      4. Trash Folder and its Subfolders
    4. Special Folders
      1. NoSelect Folder (IMAP only)
      2. Messages-only Folder (IMAP only)
  2. Check Unread Message Count
    1. Folders without subfolders (include Inbox, Drafts, Template & Trash folders)
      1. 1st level Folder
      2. 2nd level Folder
      3. 3rd level Folder
      4. 4th level Folder
    2. Special Folders
      1. NoSelect Folder (IMAP only)
      2. Messages-only Folder (IMAP only)
  3. Check Total Message Count
    1. Folders without subfolders (include Inbox, Drafts, Template & Trash folders)
      1. 1st level Folder
      2. 2nd level Folder
      3. 3rd level Folder
      4. 4th level Folder
    2. Special Folders
      1. NoSelect Folder (IMAP only)
      2. Messages-only Folder (IMAP only)
  4. Check Wasted Space
    1. Trash Folder
      1. Mark as Delete Model / Compact Folders (*Only apply to IMAP w/Mark as delete model)
  5. Check Total Space Used
    1. Folders without subfolders (include Inbox, Drafts, Template & Trash folders)
      1. 1st level Folder
      2. 2nd level Folder
      3. 3rd level Folder
      4. 4th level Folder
    2. Special Folders
      1. NoSelect Folder (IMAP only)
      2. Messages-only Folder (IMAP only)

Rename Folders

Methods: Menu item, click on folder name and right mouse Context Menu

  1. Server Folders:
    1. IMAP4 Server:
      1. 1st level Folder
      2. 2nd level Folder
      3. 3rd level Folder
      4. 4th level Folder
      5. Subfolders of Inbox (exclude Messaging 4.1 server) & Default Special Folders (Send/Drafts/Template/Trash Folders)
      6. Special Folder
        1. Messages-only folder ???
        2. Dual-use Folder
      7. Folder with unusual ascii characters (can be renamed to different ascii characters
  2. Negative testing:
    1. Not-allow Rename Folders:
      1. Inbox Folders
      2. Default Special Folders
        1. Send Folder
        2. Draft Folder
        3. Template Folder
        4. Trash Folder
      3. Special Folders
        1. NoSelect Folder (IMAP only- Folder should not be openable)
    2. Rename Viewing Folder (rename a folder that is currently being viewed)
    3. Rename not opened Folder (rename a folder that has not yet been opened in this Communicator session)
    4. Cancel Rename (cancel rename just before commiting the action)
    5. Undo Rename (undo a folder rename - may or may not be supported)

Subscribe/Unsubscribe Folders (*IMAP only)

  1. With subscription turned on :
    Set up: Edit | Preferences | Mail & Newsgroups | Mail Servers | Select IMAP server | Edit button | Advanced tab | Checked "show only subscribed folders"
    1. Subscribe through the main subscribed dialog:
      1. 1st level Folder
      2. 2nd level Folder
      3. 3rd level Folder
      4. 4th level Folder
      5. Subfolders of Inbox (exclude Messaging 4.1 server) & Default Special Folders (Send/Drafts/Template/Trash Folders)
      6. Special Folder
        1. Container/Noselect Folder???
        2. Only relevant in server environments that do not support dual-use folders (e.g., SIMS; UW using Unix mbox message storage type. Messaging Server does support both types). To create a container folder on Unix, create a hierarchy all at once, e.g., "folder1/folder2". Folder1 will be NoSelect.
        3. Messages-only Folder ???
        4. Only relevant in server environments that do not support dual-use folders (e.g., SIMS; UW using Unix mbox message storage type. Messaging Server does support both types). To create a messages-only folder on Unix, create a hierarchy all at once, e.g., "folder1/folder2". Folder2 will be messages only.
        5. Dual-use Folder :
        6. Only relevant in server environments that support dual-use folders, like Messaging Server 4.0. To create a dual use folder, check the preference "support dual-use folders" and use the standard New Folder dialog box.
      7. Subfolder of Inbox (MSE & Cyrus servers)
      8. Folder with vary short/long names - Win32:128 characters, Unix: No limit, Mac: 8 characters, Win16: 8 characters
      9. Folder with unusual ascii characters - try several kinds (can be renamed to different ascii characters)
      10. Share Folder (if support)
      11. Public Folder???
      12. Folder with thousands of messages.
    2. Unsubscribe through the main subscribed dialog:
      1. 1st level Folder
      2. 2nd level Folder
      3. 3rd level Folder
      4. 4th level Folder
      5. Subfolders of Inbox (exclude Messaging 4.1 server) & Default Special Folders (Send/Drafts/Template/Trash Folders)
      6. Special Folder
        1. Container/Noselect Folder???
          Only relevant in server environments that do not support dual-use folders (e.g., SIMS; UW using Unix mbox message storage type. Messaging Server does support both types). To create a container folder on Unix, create a hierarchy all at once, e.g., "folder1/folder2". Folder1 will be NoSelect.
        2. Messages-only Folder ???
          Only relevant in server environments that do not support dual-use folders (e.g., SIMS; UW using Unix mbox message storage type. Messaging Server does support both types). To create a messages-only folder on Unix, create a hierarchy all at once, e.g., "folder1/folder2". Folder2 will be messages only.
        3. Dual-use Folder:
          Only relevant in server environments that support dual-use folders, like Messaging Server 4.0. To create a dual use folder, uncheck the preference "doesn't support dual-use folders and use the standard New Folder dialog box.
      7. Subfolder of Inbox (MSE & Cyrus servers)
      8. Folder with vary short/long names - Win32:128 characters, Unix: No limit, Mac: 8 characters, Win16: 8 characters
      9. Folder with unusual ascii characters - try several kinds (can be renamed to different ascii characters)
      10. Share Folder (if support)
      11. Public Folder???
      12. Folder with thousands of messages.