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 > Offline: General User Interface

Feature Test Spec: Mail and News Component

Mail and News Component: Offline: General UI

Written by Gary Chan

References:

UI and/or Functional Specifications: http://www.mozilla.org/mailnews/specs/offline/
Other: Laurel Carlson's original Offline UI test plan: http://www.mozilla.org/quality/mailnews/tests/sea-mn-offline-ui.html

Disclaimer: This testplan is based on Laurel Carlson's original testplan originally written for Seamonkey. The wording and testplans will be very similar and changes to the test plan are made where appropriate.

The testcases outlined in this document are intended to test the look and feel of the various UI components (preferences, main dialog, properties panels involving offline) involved with offline usage. Specific cases for use of these items as they pertain to mail, news or composition usage will be covered in separate appropriate offline test specs.

Fldr Pane Thrd Pane
Mesg Pane
  1. Offline: General Access
    1. Main menu item to go offline available (File|Offline|Work Offline)
      1. from Messenger window
        • mail selection
          • click folder pane
            • folder selection
            • server selection
          • click thread pane
          • click message pane
        • news selection
          • click folder pane
            • newsgroup selection
            • news server selection
          • click thread pane
          • click message pane
      2. from separate message window
        • mail selection
        • news selection
      3. from Browser window (File|Work Offline)
    2. Main menu item to go online available (File|Offline|Work Online)
      1. from Messenger window
        • mail selection
          • click folder pane
            • folder selection
            • server selection
          • click thread pane
          • click message pane
        • news selection
          • click folder pane
            • newsgroup selection
            • news server selection
          • click thread pane
          • click message pane
      2. from separate message window
        • mail selection
        • news selection
      3. from Browser window (File|Work Online)
    3. Main menu item to get Offline Settings (File|Offline|Offline Settings)
      1. brings up the "Mail & Newsgroup Account Settings - Offline and Disk Space" panel for that particular account with focus
      2. from Messenger window
        • mail selection
          • click folder pane
            • folder selection
            • server selection
          • click thread pane
          • click message pane
        • news selection
          • click folder pane
            • newsgroup selection
            • news server selection
          • click thread pane
          • click message pane
      3. from separate message window
        • mail selection
        • news selection
      4. disabled if if the item with focus does not have offline functionality
    4. Main menu item to synchronize/get to main select items dialog (File|Offline|Download/Sync Now)
      1. from Messenger window
        • mail selection
          • folder pane
            • folder selection
            • server selection
          • thread pane
          • message pane
        • news selection
          • folder pane
            • newsgroup selection
            • news server selection
          • thread pane
          • message pane
      2. from separate message window
        • mail selection
        • news selection
    5. Main menu item to get only flagged messages (File|Offline|Get Flagged Mesgs)
      1. from Messenger window
        • mail selection
          • not available if server selected in folder pane
          • not available if currently offline
          • available if folder selected in folder pane
          • available from thread pane
          • available from message pane
          • enabled when no messages flagged
          • enabled when single message flagged
          • enabled when multiple messages flagged
        • news selection
          • not available if server selected in folder pane
          • not available if currently offline
          • available if newsgroup selected in folder pane
          • available from thread pane
          • available from message pane
          • enabled when no messages flagged
          • enabled when single message flagged
          • enabled when multiple messages flagged
      2. from separate message window
        • mail selection
          • not available if currently offline
          • enabled when no messages flagged
          • enabled when single message flagged
          • enabled when multiple messages flagged
        • news selection
          • not available if currently offline
          • enabled when no messages flagged
          • enabled when single message flagged
          • enabled when multiple messages flagged
    6. Main menu item to get only selected messages(File|Offline|Get Selected Mesgs)
      1. from Messenger window
        • mail selection
          • not available if server selected in folder pane
          • not available if currently offline
          • available if folder selected in folder pane and mesg is selected
          • available from thread pane and mesg is selected
          • available from message pane and mesg is selected
          • disabled when no messages selected
          • enabled when single message selected
          • enabled when multiple messages selected
        • news selection
          • not available if server selected in folder pane
          • not available if currently offline
          • available if newsgroup selected in folder pane and mesg is selected
          • available from thread pane and mesg is selected
          • available from message pane and mesg is selected
          • disabled when no messages selected
          • enabled when single message selected
          • enabled when multiple messages selected
      2. from separate message window
        • mail selection
          • not available if currently offline
        • news selection
          • not available if currently offline
    7. Properties dialog panels access for Offline use
      1. mail folder properties (Select a Folder and Right Click to bring properties menu)
        • Offline tab present
        • Clicking offline tab works
        • allows only "select this folder for offline use" option
        • when checked or unchecked, change reflects in main select items dialog listing upon OK
        • selects only that folder, not its parent or subfolders
        • Download now button is present
        • Clicking Download Now button results in mesgs in that folder being downloaded
        • Ok and Cancel buttons work
        • general UI
          • Text is clear
          • Spelling
          • Text format within allotted space in panel
      2. newsgroup properties dialog (Select a Newsgroup and Right Click to bring properties menu)
        • Offline tab present
        • Clicking offline tab works
        • allows "select this newsgroup for offline use" option
        • Download now button is present
        • Clicking Download Now button results in mesgs in that folder being downloaded
        • Ok and Cancel buttons work
        • general UI
          • Text is clear
          • Spelling
          • Text format within allotted space in panel
      3. directory properties dialog (Addressbook, select a LDAP server, Right Click)
        Note: LDAP is new . There will not be any offline features as it relates to LDAP. This test is written based on 4.x implementation.
        • allows only select that directory to download
        • when checked or unchecked, change reflects in main select items dialog listing upon OK
    8. Account Central Window
      1. Text is clear
      2. Spelling
      3. Links work as expected
      4. Icon present (modern theme)
      5. offline settings link available for imap,webmail, and newsgroup accounts
    9. Context Menu
      1. Right click a Mail server
        • Text is clear
        • Spelling
        • Text format within allotted space in pane
        • various options work as expected
      2. Right click a Mail folder
        • Text is clear
        • Spelling
        • Text format within allotted space in pane
        • various options work as expected
      3. Right click a Mail message
        • Text is clear
        • Spelling
        • Text format within allotted space in pane
        • various options work as expected
      4. Right click a News server
        • Text is clear
        • Spelling
        • Text format within allotted space in pane
        • various options work as expected
      5. Right click a Newsgroup
        • Text is clear
        • Spelling
        • Text format within allotted space in pane
        • various options work as expected
      6. Right click a News message
        • Text is clear
        • Spelling
        • Text format within allotted space in pane
        • various options work as expected
  2. Global Offline Preferences
    [Verify it works via Browser, Messenger, Addressbook, Composer, or separate message/news window]
    1. Preferences|Offline & DiskSpace: overall panel look
    2. Preferences|Offline & DiskSpace| "When Starting"
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Default value is appropriate
      5. Option(s) enable/disable appropriately
      6. Options stick through exit
      7. Cancel doesn't edit options
    3. Preferences|Offline & DiskSpace| "When Going Online"
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Default value is appropriate
      5. Option(s) enable/disable appropriately
      6. Options stick through exit
      7. Cancel doesn't edit options
    4. Prefs|Offline & DiskSpace| "When Going Offline"
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Default value is appropriate
      5. Option(s) enable/disable appropriately
      6. Options stick through exit
      7. Cancel doesn't edit options
  3. Mail Offline & Disk Space Preferences (IMAP and WebMail)
    1. Mail&News Account Settings|<Mail server Name>|Offline & Disk Space: overall panel look
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Default value is appropriate
      5. Option(s) enable/disable appropriately
      6. Option(s) to edit the text fields
      7. Options stick through exit
      8. Select button brings up the window "Select Items for Offline Usage"
      9. Cancel doesn't edit options
  4. POP Disk Space Preferences
    1. Mail&News Account Settings|<POP account name>|Disk Space: overall panel look
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Default value is appropriate
      5. Option(s) enable/disable appropriately
      6. Option(s) to edit the text fields
      7. Options stick through exit
      8. Cancel doesn't edit options
      9. Doesn't say Offline nor have any Offline prefs
  5. News Offline & Disk Space Preferences
    1. Mail&News Account Settings|<Mail server Name>|Offline & Disk Space: overall panel look
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Default value is appropriate
      5. Option(s) enable/disable appropriately
      6. Option(s) to edit the text fields
      7. Select button brings up the window "Select Items for Offline Usage"
      8. Cancel doesn't edit options
      9. Options stick through exit
  6. Main Dialog(s): Synchronize/"Download and Sync Messages" (File|Offline|Download/Sync Now)
    1. Download and Sync Messages dialog overall look
      1. clear text
      2. layout/formatting
      3. spelling
      4. Option(s) enable/disable appropriately
      5. Options stick through exit
      6. Cancel doesn't edit options
    2. Download and Sync Messages dialog startup state
      1. initial state/no selections (only thing that will be checked is 'Send Unsent Mesgs')
      2. no directories configured in Communicator Note: As per my understanding , there will not be any offline features as it relates to LDAP. (4.x only)
      3. existing mail selection(s) in selected items for synch (Mail checkbox enabled/checked)
      4. existing news selection(s) in selected items for synch (Newsgroup checkbox enabled/checked)
      5. existing directory(ies) configured in Communicator, however none should be selectable for offline/synch Note: As per my understanding, there will not be any offline features as it relates to LDAP. (4.x only)
    3. Download and Sync Messages dialog: Contents/controls
      1. always have access to select items dialog (even if nothing is selected)
      2. options to engage configured areas for synch available and can be enabled/disabled appropriately
        • mail
        • news
        • Send unsent messages
        • Work offline once download/sync is complete
      3. keyboard access/tab order
      4. "Ok"/synchronize provision
      5. "Cancel" provision
      6. clicking the 'x' in right top corner results in the window being dismissed
  7. Main Dialog(s): Items for Offline Usage
    (File|Offline|Download/Sync now|Select Button) or (Edit|Mail/News Account settings|Server name|Offline&Disk Space|Select Button)
    1. Select Items dialog overall look
      1. clear text
      2. layout/formatting
      3. spelling
    2. Select Items dialog: Contents/controls
      1. POP accounts don't appear
      2. expand/collapse hierarchies for each configured area:
        • mail
        • news
        • directories Note: As per my understanding, there will not be any offline features as it relates to LDAP.
      3. checkbox or other toggle indicator for selection of items
        • present only at appropriate/selectable hierarchy levels
        • enables and disables
          • check box
      4. scroll bar works
      5. able to adjust the column headings
      6. keyboard access/tab order
      7. OK provision
      8. Cancel provision (bug 92522 )
      9. clicking the 'x' in right top corner results in the window being dismissed
  8. Work Online Prompt
    1. General UI
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Option(s) enable/disable appropriately
      5. Options stick through exit
      6. Cancel doesn't edit options
      7. clicking the 'x' in right top corner results in the window being dismissed
  9. Work Offline Prompt
    1. General UI
      1. Text is clear
      2. Spelling
      3. Text format within allotted space in panel
      4. Option(s) enable/disable appropriately
      5. Options stick through exit
      6. Cancel doesn't edit options
      7. clicking the 'x' in right top corner results in the window being dismissed
  10. Offline Indicator
    1. Present in these windows:
      1. Browser
      2. Composer/Editor page
      3. Mail/news compose window
      4. Messenger window
      5. Separate message window
      6. Separate newsgroup window
    2. Present but not working in these windows (bug 80970)
      1. In all Search windows (Mail/News Messages, Bookmarks/History)
      2. Subscribe Window
      3. History Window
      4. Address book window
    3. Changes state appropriately by these methods:
      1. mouse click
      2. main menu item
      3. startup pref
      4. option to go/not go offline within synchronize procedure
    4. When toggle state in one window, tracks in all other windows
      1. other windows open at time of toggle
      2. other windows opened after toggle
    5. Icon clear and according to spec/approved icon in all appropriate windows
      1. when in online state
      2. when in offline state
    6. Icon provides tooltip when mouse over in all appropriate windows
      1. when in online state Displays "You are online. Click the icon to go offline."
      2. when in offline state Displays "You are offline. Click icon to go online."
  11. File Menu Items
    1. Messenger
      1. When Online:
        • File menu displays: File|Offline|Work Offline
      2. When Offline
        • File menu displays: File|Offline|Work Online
    2. Browser
      1. When Online:
        • File|Work Offline
      2. When Offline
        • File|Work Online
    3. Enabled for downloaded mesgs on Mesgr
      1. open message
      2. save as file/template
      3. print
      4. delete message
      5. reply, reply all, forward, forward as, edit as new
    4. Disabled for non-downloaded mesgs on Mesgr
      1. open message
      2. save as file/template
      3. print
      4. delete message
      5. reply, reply all, forward, forward as, edit as new
  12. ToolBar
    1. Enabled for downloaded mesgs
      1. reply
      2. reply all
      3. forward
      4. print
    2. Disabled for non-downloaded mesgs
      1. reply
      2. reply all
      3. forward
      4. print
  13. Context Menus (bug 108115)
    1. Enabled for downloaded mesgs
      1. reply
      2. reply all
      3. forw
      4. edit as new
      5. save as
      6. print
    2. Disabled for non-downloaded mesgs
      1. reply
      2. reply all
      3. forw
      4. edit as new
      5. save as
      6. print
  14. Offline envelope/news icons
    1. Mail
      1. Modern theme
        • downloaded mesgs - dark gray envelope icon
        • non-downloaded mesgs - light gray envelope icon
      2. Classic
        • downloaded mesgs - blueish/purplish envelope icon
        • non-downloaded mesgs - white envelope icon
    2. News
      1. Modern theme
        • downloaded mesgs - dark gray news icon
        • non-downloaded mesgs - light gray news icon
      2. Classic
        • downloaded mesgs - blueish/purplish news icon
        • non-downloaded mesgs - white news icon