The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

Feature Test Spec

      5.0 Project (Seamonkey)
      Mail and News Component
      Get Messages

Written by: Esther Goes
Original specs by Peter Mock & Laurel Carlson

History:
121698 Started update from original Nova spec
102299 Updating spec for Seamonkey
102799 Updating spec for Seamonkey
 

References:
UI Specification:  No spec yet- merging Nova test specs
Other:  None



Description: Get New Messages menu item and Get Msg Toolbar button retrieves new messages from both Mail & News servers.  Note: Get Next [N] Messages menu item still (TBD).

Basic Functionality

  1. Get New Messages
    1. Mail/News message retrieval from various windows, verify Get Msg works in each of these views.
      1. 3 Pane UI
        • Menu
          • Get New Messages
          • Get New Messages - drop down list
          • Mnemonic
        • Toolbar Button
          • Get Msg
          • Get Msg drop down menu  - contains the name of each account separately, plus an "All Accounts" option.
          • Use the drop down menu to select an account and retrieve mail for the selected account only. Only one account can be selected at a time using the drop down menu.
        • Context menu
          • Folder pane w/Mail Server selected, right mouse click, menu reads Get New Messages for this Account
          • Folder pane w/Newsgroup selected, right mouse click, menu reads Get New Messages for this Newsgroup (TBD)Message Window -stand alone window
      2. 2 Pane UI -Folder pane hidden
        • Menu
          • Get New Messages
          • Get New Messages - drop down list
          • Mnemonic
        • Toolbar Button
          • Get Msg
          • Get Msg drop down menu  - contains the name of each account separately, plus an "All Accounts" option.
          • Use the drop down menu to select an account and retrieve mail for the selected account only. Only one account can be selected at a time using the drop down menu.
        • Context menu
          • Folder pane w/Mail Server selected, right mouse click, menu reads Get New Messages for this Account
          • Folder pane w/Newsgroup selected, right mouse click, menu reads Get New Messages for this Newsgroup (TBD)Message Window -stand alone window
      3. Address Book (using Inbox icon from Communicator Task Bar)
        • Component Bar
      4. Browser Window (using Inbox icon from Communicator Task Bar)
        • Component Bar
      5. Editor Window (using Inbox icon from Communicator Task Bar)
        • Component Bar
    2. Password (Mail & News)
      1. No password
        • verify new messages are not retrieved when leaving the password dialog empty then clicking OK
      2. Incorrect password
        • verify new messages are not retrieved when giving an incorrect password then clicking OK
        • verify a Login failed dialog comes up, after clicking OK, a second password dialog window comes up
      3. After incorrect password, re-enter correct password in same session
        • verify new messages are retrieved after entering the correct password in the second password dialog window
      4. Password Saved from previous session (Remember Password preference=True, located in Account Setup under Server)
        • verify no password dialog comes up when doing a Get Msg the first time af for accounts that have Remember Password checked.
    3. Enable/Disable conditions: (News)
      1. Get New Messages
        • verify this is enabled (when a Mail Server, Newsgroup or Mail Folder is selected)
        • verify this is disabled when a News Server is selected
      2. Get Next [# entered in Account Setup] Messages
        • verify this is enabled when a  Newsgroup is selected
        • verify this is disabled when a News Server, Mail Server or Mail Folder is selected
    4. Interrupting Get New Messages operation
      1. Canceling Get Msg operation right away (you may have to have a very large number of new messages to this test this in order to slow the download process enough to Cancel)
        • verify the downloading process is stopped
      2. Cancel during downloading of mail messages (may have to have a very large attachment for this test to slow the download process enough to Cancel)
        • verify the downloading process is stopped
      3. Cancel during downloading of news messages (may have to have a very large number of new messages to this test this in order to slow the download process enough to Cancel)
        • verify the downloading process is stopped
      4. After interrupting get mail operation, get mail again
        • verify the Get Msg toolbar button and Get New Messages menu item are enabled
        • verify all messages are downloaded
    5. Items to check in all download cases for Mail and News messages
      1. verify Progress dialog corresponds to action (may have to have a very large number of new messages to this test this in order to display the Progress dialog)
      2. verify Status bar text corresponds to action (may have to have a very large attachment for this test to slow the download process enough to see the status display)
      3. verify the mail folder returns to useable state (enabled and can navigate, etc.)
      4. verify newsgroup returns to useable state (enabled and can navigate, etc.)
      5. verify the proper number of news headers news downloaded (per set number in Account Setup)
    6. Mail Inbox in various states
      1. verify Get New Messages from the menu or Get Msg toolbar button works with Mail Inbox in the following states:
        1. Inbox closed
        2. Inbox Empty, no messages
        3. Sorted  in different columns
          • Ascending order
          • Descending order
          • by Thread
            • Collapsed
            • Expanded
          • by Subject
          • by Sender
          • by Date
          • by Unread
          • by Size
          • by Status
          • by flag
        4. All messages read
        5. All message unread
    7. Get New Messages - Multiple Accounts (have at least 2 POP, 2 IMAP, 2 News and 2 other (TBD),  uncheck the checkbook for "Check for new mail every [] minutes" for each account.
      1. Send message/s to some of your accounts: 1 POP, 1 IMAP, 1 TBD and 1 Newsgroup, verify clicking the Get Msg button gets the mail for ALL accounts for which the user is currently logged plus the account that is currently selected. Mail should first be retrieved for the account that is selected (and then the other accounts the user is currently logged into). If the user is not currently logged into the account selected, the Logon Dialog is displayed, gets the new message/s for each of the mail accounts.  Verify you see the visuals:
        • verify for each mail account you sent a message to (located in the SideBar), the inbox contains a little green diamond
        • verify status bar reads - TBD
        • TBD
      2. Send message/s to all of your accounts:  verify clicking the Get Msg button gets the mail for ALL accounts for which the user is currently logged plus the account that is currently selected. Mail should first be retrieved for the account that is selected (and then the other accounts the user is currently logged into). If the user is not currently logged into the account selected, the Logon Dialog is displayed, gets the new message/s for each of the mail accounts.  Verify you see the visuals:
        • verify for all mail accounts you sent a message to (located in the SideBar), the inbox contains a little green diamond
        • verify status bar reads - TBD
        • TBD
      3. Send message/s to newsgroups only:  clicking Get Msg does not display visuals for mail accounts:
        • verify for each newsgroup you sent a message to (located in the SideBar), the inbox contains a little green diamond (TBD)
        • TBD verify status bar reads - TBD
        • TBD
    8. New Messages appearance in Inbox of mail account and newsgroup
      1. Verify when you click New Msg and a new message is received, the Thread pane scrolls to top if your sort order is Descending or to the bottom if your order is Ascending, allowing the new message to be visible immediately.
    9. General Feedback for Getting Mail and News
      1. During mail download for Mail and News
        • Status/progress bar (can only be seen if the download takes enough time to warrant one)
      2. After mail download for Mail
        • Mail notification indicator (Inbox with a little green diamond)
        • Sound (TBD)
        • Focus of window after message retrieval
      3. Error messages are informative and correct
Basic Functionality Tests - Preferences tied to Get Messages (Edit|Account Setup)
  1.  Server panel - Mail
    1. Check box for "Check for new mail every [  ] minutes"
      1. check box =checked, minutes=10; verify Get Msg works immediately, overriding the minutes set in this preference
      2. check box=unchecked, minutes=10; verify Get Msg works immediately, overriding the minutes set in this preference
    2. Check box  for "Automatically down load any new messages"
      1. check box =checked, minutes=10; verify Get Msg works immediately, overriding the minutes set in this preference
      2. check box=unchecked, minutes=10; verify Get Msg works immediately, overriding the minutes set in this preference
  2. Server panel - News
    1. Check box titled "Always use name and password"
      1. check box =checked, verify when Get Msg is clicked, the "Netscape User Prompt" dialog comes asking for user name, then the "Password Entry" dialog comes up asking password, give correct information then verify operation is completed
      2. check box=unchecked, verify when Get Msg is clicked no user or password dialogs come up and the operation is completed
    2. Check box titled "Ask me before downloading more than [  ] messages"
      1. check box =checked, verify when Get Msg is clicked, a "Download Headers" dialog comes up, if there are more messages to be downloaded than the number entered in this box
      2. check box=unchecked, verify when Get Msg is clicked and there are more new messages than the number set in this box, that no "Download Headers" dialog comes up and all the new messages are downloaded.
  3. Copies and Folders - Mail
    1. Check box titled "Bcc [your account name displays here by default]"
      1. 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
        • Note: 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)
      2. 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
        • Note: the only place the Bcc would have been visible is in the copy of the message that was sent to the Sent folder (this test covered in the Send spec)
    2. Check box titled "Bcc another address: [                        ]
      1. 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
        • Note: 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)
      2. 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
        • Note: the only place the Bcc would have been visible is in the copy of the message that was sent to the Sent folder (this test covered in the Send spec)
  4. Copies and Folders - News
    1. Check box titled "Bcc [your account name displays here by default]"
      1. 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
        • Note: 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)
      2. 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
        • Note: the only place the Bcc would have been visible is in the copy of the message that was sent to the Sent folder (this test covered in the Send spec)
    2. Check box titled "Bcc another address: [                        ]
      1. 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
        • Note: 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)
      2. 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
        • Note: the only place the Bcc would have been visible is in the copy of the message that was sent to the Sent folder (this test covered in the Send spec)
Advanced Functionality Tests - Preference for downloading New messages (Edit|Account Setup)
  1. "Ask me before downloading more than [N] messages" =OFF or unchecked.  Get New Messages results=No Warning
    1. There are  messages on server.
    2. No new messages on server. Check for appropriate (status bar) message.
    3. Interrupt download.
    4. Download after previous interruption.
    5. Download large number of messages.
    6. Perform when opening group
    7. Perform when group already opened (getting more messages)
  2. "Ask me before downloading more than [N] messages" = ON or checked.
    1. Open a group with no more than N messages to download. No warning should appear.
    2. Open a group with no messages to download. No warning should appear.
  3. "Ask me before downloading more than [N] messages" = ON or checked.  Open a group, get all messages
    1. There are more than N new messages on server.
    2. Cancel before download
    3. Interrupt download.
    4. Download after previous interruption.
    5. Download large number of messages.
  4. "Ask me before downloading more than [N] messages" = ON or checked. Open a group, get N messages
    1. There are more than N new messages on server.
    2. Interrupt download.
  5. "Ask me before downloading more than [N] messages" = ON or checked. Get New Messages, group already open
    1. There are less than N new messages
    2. There are more than N new messages, use download all option in warning dialog
    3. There are more than N new messages, use download N option in warning dialog
      1. don't mark remaining headers read
      2. do mark remaining headers read
    4. There are no new messages
    5. Interrupt download
  6. "Ask me before downloading more than [N] messages" =OFF or unchecked.  Get Next N (older) messages, group already open
    1. There are N older messages not retrieved. Get Next N messages, check for proper amount downloaded. Verify they're the older messages, not new.
    2. There are way more than N older messages not retrieved. Get Next N messages repeatedly. Verify each time downloads older messages, not new or duplicates.
    3. Repeat Get Next N until there are no more (older) messages to get. Verify handling, appropriate message.
    4. Get N older messages after:
      1. initial chunk download doesn't mark remaining headers read
      2. initial chunk download does mark remaining headers read
  7. "Ask me before downloading more than [N] messages" =OFF or unchecked.  Using both Get New Messages and Get Next N
    1. Get New Messages after having done a partial download and a Get Next N, verify appropriate new  messages are retrieved.
      1. there are no new messages, but there are older messages
      2. there are new messages, but no older messages
      3. there are new messages  and older messages
    2. Alternate Get Next [N] Messages and Get New Messages a few times, verify each gets it appropriate older vs. newer messages.
  8. Download warning preference setting
    1. Check default N size in edit box on first enable, verify it's set at 500
    2. Check the download warning dialog for accuracy when default value of 500 is exceeded during download.
    3. Check general properties/aesthetics of download headers warning dialog
    4. Download warning dialog modal tests:
      1. exit with dialog up  from group window
      2. exit with dialog up from other mail window
      3. exit with dialog up from a web window
    5. Enable/disable from preferences dialog
      1. enable from disabled state
        • use existing value for N
        • change value for N
      2. disable from enabled state
        • manually clear edit box N number
        • leave edit box N as is
    6. Change N from warning dialog
      1. Verify number changes in dialog
      2. Verify proper (changed) number of now downloads
      3. Verify preferences dialog now shows changed N
  9. Special (ref  bug #77400):  Verify unread count after using [N] download to download only a few headers (do not mark remaining read), read a few messages then exit and return.


 
 
 
Copyright © 1998-2000 The Mozilla Organization.
Last modified November 1, 1999.