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.



Feature Test Spec

Project Mach V
Mail and News Component
Local Folders/POP Account Folder Functionality

Written by: Sheela Ravindran

History
 
Revision Date Draft  Updated By
1st Draft 11/26/2001 Created Sheela Ravindran
2nd Draft 12/06/2001 Updated Sheela Ravindran

References

UI Specification:  Mail UE Specs , Nova Test Specs

Description

This feature Test Spec covers the test cases for both POP and Local Folders.  Run the below test cases on both local folders as well as POP account folders.
Note: There will be a few test cases that needs to be checked with off-line test specs for other off-line functionality tests.  Test cases covered in this test spec applies to POP account folders and Local folders.  And the results and verifications noted in this document follow "Move to trash" Delete model.

Table of Contents

  • Create Folders
  • Expand and Collapse Folders
  • Delete Folders
  • Move (Drag & Drop) Folders
  • Rename Folders
  • Compact Folders
  • Empty Trash
Folders Feature Functionality
  • Create Folders
A. Special Folders Functionality:
    1.Special Folders created with POP account:
       a. Inbox
       b. Drafts
       c.  Sent
       d. Trash
B. Local Folders Functionality:  Local folders will always follow any Mail account( IMAP, POP, NNTP).
    Note: Local Template folder should include pre formatted messages readily available to use by the user if he chooses to.
    a. Unsent Messages
    b. Drafts
    c. Templates
    d. Sent
    e. Trash
C. Methods of Creating New Folders:
    1.Folder creation and naming is done using the "New Folder" dialog:
       a. Within Mail, using the drop down menu, "File", "New", "Folder".
       b. Within the Folder Pane, using the context menu, "New Folder...".
       c.  From another dialog, using the "New Folder..." button.
    2.Create Functionality test: Using one of the above create folders. ( at least 3 levels)
        a.Select POP inbox and create a sub folder to inbox
        b.Create folders at top level(account level)
        c.Create folders at the second level
        d.Create folders at the third level
        e.Create folders at the fourth level
        f. Create folder with various names
        g.Create folders with various lengths
        h.Create folders beginning with various characters like ( ., /, \., ?) etc.
        i. Create sub folders at different levels
        j. Manually create special folders and its sub folders (sent, drafts, templates)
        k.Create folder with the same name as the existing one.  Verify the following dlg appears:
          " A folder with that name already exists.  Please enter a different name."  OK.
  • Expand and Collapse Folders
Perform expand and collapse together.  For example, you collapse the Mail Server icon to hide the folders then expand the Mail Server icon to show all the folders.  Perform all these test cases for imap account, pop account, news account, and  local folders.

A.Folders can be expanded/collapsed from various Mail/News windows
        1.Folder pane in the 3 Pane UI
        2.Alternate 3 pane Mail/News window
B.Folders should be expanded/collapsed for the following accounts
 1.Imap, POP, News, Local folders with single account in a profile
 2.Multiple accounts in one profile.  Test expand/collapse folders in a profile with four different accounts with news and local folders
 1.Expand
    a.Expand the Mail Server icon to display all the folders in the root
    b.Expand a folder
    c.Expand a sub folder
    d.Collapse an expanded folder then expand it
    e.Expand some folders while leaving others collapsed
    f.Expand the folders so that the vertical scroll bar has to appear
    g.Expand folders after some of the column heading have been hidden
    h.Expand folders after some of the column heading have been exposed
    i.Re-ordering the columns header before expanding folders
    j.Expand folders by selecting unread column only from the column selector widget in the folder pane
    k.Expand folders by selecting total column only from the column selector widget in the folder pane
    l.Expand folders by selecting both total and unread columns from the column selector widget in the folder pane
2.Collapse
    a.Collapse the Mail Server icon to hide all the folders in the root
    b.Collapse a  folder
    c.Collapse a sub folder
    d.Expand a collapsed folder then collapse it
    e.Collapse some folders while leaving others expanded
    f.Collapse the folders so that the vertical scroll bar goes away
    g.Collapse folders threads after some of the column heading have been hidden
    h.Collapse folders after some of the column heading have been exposed
    i.Re-ordering the columns header before collapsing folders
    j.Collapse folders after selecting unread column only from the column selector widget in the folder pane
    k.Collapse folders after selecting total column only from the column selector widget in the folder pane
    l.Collapse folders by selecting both total and unread columns from the column selector widget in the folder pane

Extended Scenarios
Test expand and collapse in the 3 Pane UI by collapsing the Message pane and/or Thread pane to create 2 pane windows and 1 pane
window.
A.3 Pane UI collapsed to 2 pane UI
        1.Collapse the Thread pane only and try to expand the hierarchy of folders
        2.Collapse the Thread pane only and try to collapse the hierarchy of folders
        3.Collapse the Message pane only and try to expand the hierarchy of folders
        4.Collapse the Message pane only and try to collapse the hierarchy of folders
B.3 Pane UI collapsed to 1 pane UI
        1.Collapse the Thread pane and Message pane then try to expand the hierarchy of folders
        2.Collapse the Thread pane and Message pane then try to collapse the hierarchy of folders
NAVIGATION
Keyboard and Mouse functions.  For each of the buttons, menu options, and keyboards options, use these tools in any compose window.
A.Expand/Collapse Methods
        1.Mouse
        2.Keyboard
             a.Arrow keys
             b.Numeric keypad
             c.Plus and minus keys

  • Delete Folders
The test cases below applies to deleting a single folder and its contents. If you have a folder with messages and sub folders selecting that folder should delete the messages in that folder as well as the sub folders and its messages. Delete operation of a folder moves the folder to the trash of that account.
A.Location from where the folders can be deleted
        1.3 pane UI
        2.Alternate 3 pane UI
B.Methods deleting a folder
        1.Delete tool bar button
        2.Menu item"Delete folder" Enabled when a folder is selected.
        3.Context menu while the focus is in the folder pane
        4.Drag and Drop folder to Trash
        5.From the keyboard, "Delete" key
C.  Verify that you get a confirmation dlg before trying to delete a folder
         "Are you sure you want to move the selected folder into the trash"  "OK" "Cancel"
           Verify clicking on OK button moves the folder and its contents to the trash
            Verify clicking on Cancel button does not delete the folder or its contents
D. Preference that is associated with confirming before deleting a folder. Change this pref. from Edit|Preferences|Mail&Newsgroups
    Verify when the preference " Confirm when moving folders to trash" is checked that you are prompted with the confirmation dialog.
    Verify when the preference "Confirm when moving folders to trash" unchecked you are not prompted with the confirmation dialog
E.Delete Functionality to test
        1.Delete folder at top level of hierarchy
        2.Delete folder at middle level of hierarchy
        3.Delete folder at end of hierarchy
        4.Delete folder with nested folders
        5.Delete folder with no nested folders
        6.Delete folder with various number of messages in it
        7.Delete folder with no messages
        8.Delete system folders
             a.Inbox-" Move to trash" model, verify the inbox should not get deleted.
             b.Sent-Verify based on copies and folder settings if it is default, then folder should not be deleted
             c.Unsent Messages Verify based on copies and folder settings this folder is not deleted.
             d.Template-Verify based on copies and folder settings if it is default, then this folder should not be deleted
             e.Draft-Verify based on copies and folder settings if it is default, then this folder should not be deleted
             f.Trash-"Move to trash" model, verify that the trash folder should not get deleted.
        9.Delete user defined folders
Extended Scenarios and Test cases
 A.3 Pane UI collapsed to 2 pane UI
        1.Collapse the Thread pane only and delete a folder
        2.Collapse the Message pane only and delete a folder
 B.3 Pane UI collapsed to 1 pane UI
        1.Collapse the Thread pane and Message pane then delete a folder
 C.Open messages are closed or left open when its parent folder has been deleted
        1.All platforms should have consistent behavior
        2.Can you perform file/reply/forward to open message
 D.Undeleting a folder(s) ( Not applicable to this release)
 E. Deleting multiple folders ( Not applicable to this release)
 E.Interrupting delete folder process
 F.Delete a folder then try to
        1.Filter a message to it
        2.Open folder
        3.Move folder
        4.Rename folder
        5.Delete folder again to remove it from trash
 G.Deleting a folder that is currently being filtered to
        1.Update filter dialog should appear
  • Move Folders
Moving a folder re-locates an existing folder to its new location. Drag and Drop of folders from one account to another account is available when the user has logged into both the accounts.  Else the cursor changes to the "No Drop" graphic(circle with line across)
A. Location for moving folders
     1. 3 Pane UI
     2. Alternate 3 Pane UPI
B. Methods of deleting a folder
     1.Drag and Drop
     2.Delete button(Folder is selected in the folder pane)
     3.File menu item(Folder selected in the folder pane)
     4.Delete/Backspace key
C. Folders Behavior with Drag and Drop with multiple accounts
     1.Dragging a folder within an account should move the folder
     2.Dragging a folder across accounts should copy the folder
     3.Dragging a folder to trash a different account trash folder should also copy the folder and its contents.
D. Folder Functionality Tests
1.Move folder to top of folder hierarchy
2.Move folder to middle of folder hierarchy
3.Move folder  lowest level of folder hierarchy
4.Move folder that contain sub folder(s)
5.Move sub folder to an existing sub folder
6.Move more than one folder at a time
7.Move a folder to a location where the folder name already exists
8.Move a system folder
   a.Inbox
   b.Sent
   c.Unsent Message
   d.Draft
   e.Template
   f.Trash
C.Move multiple folders at once (Not applicable for this release)
D.Moving folder between IMAP and POP
    1.Move POP folder to Server
    2.Move IMAP folder to Local folder
E.Moving a folder that is currently being filtered to
    1.Update filter dialog should appear
F.Open messages are closed or left open when its parent folder has been moved
    1.All platforms should have consistent behavior
    2.Can you perform file/reply/forward to open message
Extended Scenarios
A.3 Pane UI collapsed to 2 pane UI
    1.Collapse the Thread pane only and move a folder
    2.Collapse the Message pane only and move a folder
B.3 Pane UI collapsed to 1 pane UI
    1.Collapse the Thread pane and Message pane then move a folder
C.Copy folder to new location
     1.Control+drag
     2.Shift+drag
D.Move command location
     1.Mouse (dragging)
     2.View menu option (all platforms)
E.Move a folder then try to
    1.Filter a message to it
    2.Open folder
    3.Move folder
    4.Rename folder
    5.Delete folder
F.Number of messages in folder
    1.No message
    2.1 message in the folder
    3.2-10 messages in the folder
    4.11-50 messages in the folder
    5.51-XXXX messages in the folder
G.Number of folders in top level folder
   1.No folder
   2.1 folder
   3.2-10 folders
   4.51-XXXX folders
H.Visual feedback
    1.Status bar
    2.Progress bar
    2.Cylon appears( Activity with Netscape icon)
    3.Error dialog that appears if moving a folder where the folder already exist
  • Rename Folders
A.Location to Rename Folders
    1.3 Pane UI
    2.Alternate 3 Pane UI
B.Methods of Renaming Folders
   1.Inline in folder pane or Context menu item(By selecting a folder and using the context menu)
   2.Folder Properties Dlg
      a. Properties Dlg from the context menu
      b. Menu item Edit|Properties
   3.File menu item(User defined folder selected in the folder pane)
C.Rename Functionality Test
    1.Rename folder at various level of hierarchy
        a.Top of hierarchy
        b.Middle of hierarchy
        c.End of hierarchy
    2.Rename folder with nested folders
    3.Rename folder with no nested folders
    4.Rename folder with various number of messages in it
    5.Rename folder with no messages
    6.Rename system folder. Verify system folders cannot be renamed.  Also, folders that are default with copies and folders     preference cannot be renamed. System folders are Inbox, Sent, Unsent Message, Template, Draft, Trash.
    7.Rename user defined folders
    8.Rename folder to existing folder name then cancel
    9.Rename folder to existing folder name then to a new name
   10.Rename folder using various characters that may conflict (i.e., period, /, \, *)
   11.Re-order the column heading before renaming the folder
D.Rename a folder that is currently being filtered to
        1.Update filter dialog should appear
E.Open messages are closed or left open when its parent folder has been deleted
        1.All platforms should have consistent behavior
        2.Can you perform file/reply/forward to open message
 Extended Features
A.3 Pane UI collapsed to 2 pane UI
        1.Collapse the Thread pane only and rename a folder
        2.Collapse the Message pane only and rename a folder
B.3 Pane UI collapsed to 1 pane UI
        1.Collapse the Thread pane and Message pane then rename a folder
C.Rename a folder then try to
        1.Filter a message to it
        2.Open folder
        3.Move folder
        4.Rename folder
        5.Delete folder
D.IMAP and local folders
        1.Rename a IMAP folder then drag it  to local
        2.Rename a local folder then drag it to the server
E.Visual and dialog/control test
        1.The folder name should appear with a box around it and name highlighted.
        2.Clicking outside the box before renaming should cancel the action.
        3.Renaming folder and clicking outside the box should change it to the new name
        4.Renaming and clicking OK button should change it to the new name
        5.Renaming and clicking Cancel button should dismiss the dlg and not change the name.
  • Compact Folder(s)
When messages are moved or deleted from a folder the messages are moved to trash but the original message is not purged. However this message is not seen by the user in that folder.  Compacting folder(s) will remove these messages and will free up the disk space.
Users can compact single folder or multiple folders depending upon which method they choose to compact.  Context menu item "Compact This Folder" will compact the selected folder only.  Menu item File|Compact folder will compact all the folders from where the messages were moved or deleted.

A.Location from where folders can be compacted
    1. 3 Pane UI
    2. Alternate 3 Pane
B.Starting a Compact operation
    1.Menu item
    2.Context menu
C.Methods of compacting folder
   1. Manually compact folders
       a. Menu item File|Compact Folders

  • Delete or move messages from inbox and other folders.  Check the file size in a file manager (explorer) of inbox and other folders.

  • Verify that manually selecting compact folders from the file menu item compacts the folders
    Verify the file size has been reduced and that it did actually compress and free up the disk space in the file manager(explorer)
           b.Context menu " Compact This Folder".
    Delete or move messages from a local folder or inbox. Check the file size in the file manager(Explorer).   Right click on the folder and select "Compact This Folder". Verify that the only that folder is compacted and not others.  Check the file size to see if it is reduced.
       2.Preference Setting for Auto Compacts Folders
          Change the preference settings from Edit|Preferences|Offline and Disk Space
          Check the preference" Compact folders when it will save over ['N'] KB
    Delete or move messages from the folders which will exceed the threshold limit in the pref.
    Exit and restart the application.
    Verify that you are prompted with the dlg "Do you wish to compact all local & offline folders to save diskspace" OK   button and  "Cancel" button.
    Clicking on OK button should compact all the local folders, offline folders & also inbox.
    Clicking on "Cancel" should not compact the folders.
    D.Visual feedback
        1.  Status bar ( TBD) Currently specifies "Compacting inbox...." Compating followed by the folder name.
        2. Progress bar -Shows the actual progress
    Extended Scenarios
    A.3 Pane UI collapsed to 2 pane UI
            1.Collapse the Thread pane only and compress the current folder you are in
            2.Collapse the Message pane only and compress any folder
            3.Collapse the Folder pane only and compress the current folder you are in
    B.3 Pane UI collapsed to 1 pane UI
            1.Collapse the Thread pane and Message pane then compress any folder
            2.Collapse the Folder pane and Message pane then compress the current folder you are in
            3.Collapse the Folder pane and Thread pane then compress the current folder you are in
    C.Compress different folders
            1.System folder
                 a.Inbox
                 b.Sent
                 c.Draft
                 d.Unsent messages
                 e.Template
                 f.Trash
            2.User define folder
    D.Other compact functionality tests
      1.Get messages while folders are being compacted.
        Verify displays dlg " The folder is being processed.  Please wait until processing is complete to get messages" OK button.
        Verify when you push OK button the compaction continues and followed by another Get Message messages are received.
     2.Biff going at the same time when folders are being compacted.
        Verify that when messages are auto retrieved using Biff the messages are not lost. Also that the message is received after the compaction process
    3.Compact folders with low on Disk space
       Verify that when you are compacting folders with less disk space we show a warning dialog to the user
       "The folder "%S" could not be compacted because writing to folder failed. Verify that you have enough disk space, and that you have write privileges to the file system, then try again."  OK
    Verify after clearing up the disk space that you are able to compact folders
    4.Compact folders with low on Disk space while there are new message to be received.
       Verify that we show the above dlg to let the user know about the low disk space.
       Verify after clearing the disk space the compaction occurs succesfully.
       Verify you also received the new messages that you had to receive in the account with Get Message or Biff.
    5.Compact folders with filters set up and messages received and filtered after compaction
       Verify that when you have filters setup for messages to be received in the specified folder gets filtered properly after compaction(There is an existing bug where the message does not get filtered to the specified folder which is received during compaction.
    • Empty Trash
    Empty trash command should remove all the messages and the folders from Trash folder.  Check and verify after each test case below that the trash folder has been compressed after empty trash.
    Note:  Empty trash works on the trash folder for the account selected in the folder pane incase of multiple accounts.  There are many known bugs to make empty trash work for all the accounts and including menu item that should have a drop down stating the accounts for which empty trash should work.
    A.Empty Trash areas to test
        1.3 Pane UI
        2.Alternate 3 pane UI
    B.Empty Trash functionality to test
            1.Removes messages
            2.Removes folders
            3.Compacts Trash folder
    C.Empty trash when contents of Trash Folder has the following:
            1.Message
            2.Folder(s)
            3.Sub folder(s)
            4.Combination of above
    D.Using Delete options to purge messages from the Trash folder
            1.Delete single message
            2.Multiple messages
            3.Selective messages
            4.All messages
    Extended Scenarios
    A.3 Pane UI collapsed to 2 pane UI
            1.Collapse the Thread pane only and empty the trash
            2.Collapse the Message pane only and empty the trash
    B.3 Pane UI collapsed to 1 pane UI
            1.Collapse the Thread pane and Message pane then empty the trash
    C.Test Empty Trash command in different folders
            1.System folder
                 a.Inbox
                 b.Sent
                 c.Unsent Message
                 d.Template
                 e.Draft
                 f.Trash
            2.User defined folders
    D.Test Empty Trash from multiple accounts
        1.IMAP
        2.POP
        3.Local Folders Trash
    E.Number of messages in Trash folder
            1.No message
            2.1 message in the folder
            3.2-10 messages in the folder
            4.11-50 messages in the folder
            5.51-XXXX messages in the folder
    F.Number of folder in Trash folder
            1.No folder
            2.1 folder
            3.2-10 folders
            4.11-50 folders in the folder
            5.51-XXXX folders
    G.File size of Trash folder (POP)
            1.less than 1 MB
            2.1-5 MB
            3.Greater than 5 MB
    H.Visual feedback (TBD)
            1.Status/progress bar
            2.Confirmation to remove folder(s)