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: MailNews Functional / UI Tests > Account Settings Panels / Dialogs

Feature Test Spec: 6.0 Project

Mail and News Component:
Account Settings Panels / Dialogs

Written by Ninoschka Baca

References:

References:

Account Setup UI Specifications: http://www.mozilla.org/mailnews/specs/accounts

General Info:
The Account Settings Window/panels assists with editing and maintaining multiple accounts in one profile. Types of accounts include POP, IMAP and News accounts. All tests performed on Win32, Linux and the Mac.

Contents:

  1. Account Settings Visual
    Use the current specification to ensure the correct visuals are present.
    1. Verify the Shared buttons display for each panel selected
      1. Move Up
      2. Move Down
      3. Add Account
      4. Set as Default
      5. Remove Account
      6. OK
      7. Cancel
    2. Verify the appropriate panels display for each account type
      1. Mail Accounts (POP and IMAP)
        1. Identity Panel
          1. Title "Account Settings - <Account Name>"
          2. Account Name text box
          3. Your Name text box
          4. Email Address text box (required)
          5. Reply-to Address text box
            1. Gray text should display "Only needed if different from your email address"
          6. Organization text box
          7. Compose messages using
            1. Plain text radio button
            2. Rich text (html) radio button
              1. selected by default for mail accounts
          8. Attach this signature check box
            1. text box showing path and name of the signature file
            2. Choose button
          9. Advanced button
            1. When selected it displays an "Advanced Account Settings" dialog
              1. Should display various SMTP Servers if multiple SMTP Servers are present
        1. Server Panel (POP)
          1. Title " Server Settings - <Account Name>"
          2. Server Type displays "POP Mail Server"
          3. Server Name text box
          4. User Name text box
          5. Port text box
          6. Log onto this account at startup of Mail check box
            1. Not selected by default for the first account created
            2. Not selected by default for additional accounts
          7. "Check for new mail every # minutes" check box selected by default and set for every 10 minutes
            1. Automatically download any new messages check box
              1. is a subwidget
              2. not selected by default
          8. "Leave messages on server" check box not selected by default
            1. "Delete messages on server when they are deleted locally" check box
              1. is a subwidget
              2. not selected by default check box
          9. Empty Trash on exit
          10. "Limit message download to # kB per message" check box not selected by default
          11. Local mail directory.
        2. Server Panel (IMAP)
          1. Title "Server Settings - <Account Name>"
          2. Server Type displays "IMAP Mail Server"
          3. Server Name text box
          4. User Name text box
          5. Port text box
          6. Use secure connection (SSL)
          7. Log into this account at startup of Mail check box
            1. Selected by default for the first account created
            2. Not selected by default for additional accounts
          8. "Check for new mail every # minutes" check box selected by default and set for every 10 minutes
            1. Automatically download any new messages check box
              1. is a subwidget
              2. not selected by default
          9. "When I delete a message" drop down list should display these options:
            1. Move it to the Trash folder
            2. Mark it as deleted
            3. Remove it immediately
          10. Clean up ("Expunge") Inbox on exit check box
          11. Empty Trash on exit check box
          12. Advanced button launches the "Advanced IMAP Server" dialog:
            1. IMAP Server directory text box
            2. Show only subscribed folders check box
            3. Server supports folders that contain sub-folders and messages check box
            4. Personal namespace text box
            5. Public (shared) text box
            6. Other Users: text box
            7. Allow server to override these namespaces check box
            8. OK button
            9. Cancel button
          13. Local mail directory displays the directory path
        3. Copies and Folders
          1. Title "Copies and Folders Settings - <Account Name>"
            1. POP/IMAP
              1. "Place a copy in" check box should be selected by default
                1. Its button should display "Sent on <account>" by default
                2. Select its folder and a cascading menu displays all accounts and their folders
              2. Bcc <account email address>
              3. Bcc another address check box
                1. followed by a text box displaying the email address
              4. "Keep message drafts in" button should display "Drafts on <account>" by default
                1. Select its folder and a cascading menu displays all accounts and their folders
              5. "Keep message templates in" button should display "Templates on <account>" by default
                1. Select its folder and a cascading menu displays all accounts and their folders
      2. News Accounts
        1. Identity Panel
          1. Title "Account Settings - <News Account Name>"
          2. Account Name text box
          3. Your Name text box
          4. Email Address text box (required)
          5. Reply-to Address text box
            1. Gray text should display "Only needed if different from your email address"
          6. Organization text box
          7. Compose messages using
            1. Plain text radio button (selected by default for News accounts)
            2. Rich text (html) radio button
          8. Attach this signature check box
            1. text box showing path and name of the signature file
            2. Choose button
        2. News Server Settings
          1. Title <News Account Name> Server Settings
          2. Server Type "Newsgroup server (NNTP)"
          3. Server Name text box (disabled)
          4. Port text box
          5. User secure connection (SSL) check box
          6. "Check for new mail every # minutes" check box not selected by default
          7. "Ask me before downloading more than # messages" check box
          8. Verify local news directory
            1. "Choose..." button when selected displays the directory path
        3. News Copies and Folders
          1. Title "Copies & Folder Settings - <Account Name>"
          2. "Place a copy in" check box should be selected by default
            1. If the news account is the first account then the button displays "Sent on Local Folders" by default
            2. If a mail account is the first account then the button displays "Sent on <Mail account>" by default
            3. Select the folder and a cascading menu displays all accounts and their folders
          3. Bcc <account email address>
          4. Bcc another address check box
            1. followed by a text box displaying the email address
          5. "Keep message drafts in" button
            1. If the news account is the first account then the button displays "Drafts on Local Folders" by default
            2. If a mail account is the first account then the button displays "Drafts on <Mail account>" by default
            3. Select the folder and a cascading menu displays all accounts and their folders
          6. "Keep message templates in" button
            1. If the news account is the first account then the button displays "Templates on Local Folders" by default
            2. If a mail account is the first account then the button displays "Templates on <Mail account>" by default
            3. Select the folder and a cascading menu displays all accounts and their folders
      3. Local Folders
        1. Title "Local Folders Settings"
        2. Account Name text box
        3. Local Directory path
      4. Outgoing (SMTP) Server Settings
        1. Title "SMTP Server Settings"
        2. Server Name text box
        3. "Always use name and password" check box. The following are only available if this check box is selected:
          1. "User Name:" text box is a subwidget
        4. Use secure connection (SSL)
          1. "Never" radio button
          2. "When available" radio button
          3. "Always" radio button
        5. Advanced button
          1. When Advanced is selected it opens the "Advanced Outgoing (SMTP) Server Settings" dialog
            1. Add button launches the "SMTP Server" dialog and is used to add a new SMTP server.
              1. SMTP Server dialog
                1. Server Name text box
                2. "Always use name and password" check box. The following are only available if this check box is selected:
                  1. "User Name:" text box
                3. Use secure connection (SSL)
                  1. "Never" radio button
                  2. "When available" radio button
                  3. "Always" radio button
            2. Edit button.
              1. Displays SMTP server information, used to edit an existing SMTP server
              2. This button is only available if an account is selected/has focus
            3. Delete button
              1. Removes the selected SMTP server
              2. This button is only available if an account is selected/has focus
            4. Set as Default button
              1. Sets the selected SMTP server as the default account
              2. This button is only available if an account is selected/has focus
  2. Account Settings Functional
    1. Verify the Account Settings Shared buttons work as expected for each panel
      1. Move Up moves a selected account up in the account order
        1. Enabled if an account is selected
        2. Disabled
          1. if an account is not selected
          2. when Local Folders is selected
          3. when Outgoing (SMTP) Server is selected
      2. Move Down moves a selected account down in the account order
        1. Enabled if an account is selected
        2. Disabled
          1. if an account is not selected
          2. when Local Folders is selected
          3. when Outgoing (SMTP) Server is selected
      3. New Account launches the Account Setup Wizard
      4. Set as Default
        1. Enabled if an account is selected and it is not already a default
          1. The default account should be appended with "(Default)" {i.e. Account 1 (Default)}
          2. If there is one account then it automatically becomes the Default account and (Default) should still appear
          3. As new accounts are added the first account remains the default
        2. Disabled if the account selected is already the default
        3. Mail and News account are treated as separate items. A default Mail account and a default News account may exist at the same time. It should display "(default)" next to the account name.
          1. Set a default mail account so that "(Default)" is appended to the account name
          2. Set a default news account so that "(Default)" is appended to the account name
      5. Remove Account
        1. Enabled if an account is selected
        2. Disabled if an account is not selected
        3. A confirmation box should appear asking if the user wants to delete the account
        4. The entire account should be removed from Account Settings and the folder pane
      6. OK
        1. Should save the latest changes
      7. Cancel
        1. Should cancel the latest changes
    2. Verify each panel functions according to the specifications
      1. Mail Accounts (POP and IMAP)
        1. Identity Panel (POP/IMAP)
        1. Account Name
          1. Try default name which is userid@server
          2. Enter a Pretty Name
          3. Enter the same name for two accounts should display a message stating that this is not allowed.
        2. Your Name
        3. Email Address (required)
          1. Enter a valid email address
          2. Enter an invalid email address and a warning message should appear
            1. Leave the text box blank
              1. Leave the text box blank by entering nothing
              2. Leave the text box blank by entering a space
            2. Enter an incorrect format
              1. nnn
              2. nnn@
              3. nnn@nn
              4. @nn
              5. @nn.com
        4. Reply-to Address
        5. Organization
        6. Compose messages using
          1. Plain text so that Composer does not display the HTML Edit bar or the HTML menu items (i.e. Insert, Format)
          2. Rich text (html) so that Composer displays the HTML Edit bar and displays HTML menu items (i.e. Insert, Format)
        7. Attach this signature check box
          1. Select the check box, select the Choose button and select a signature file.
            1. Verify the correct path and signature file is references in the text box
            2. Verify a message sent from this identity also attaches the correct signature
          2. Deselect the check box
            1. Verify a message sent from this identity does not attach any signature
          3. Choose button
        8. Advanced button - Launches the Advanced Account Settings dialog
          1. Change the SMTP server and verify the messages are sent.
        1. Server Panel (POP)
          1. Title "Server Settings - <Account Name>"
          2. Server Type displays "POP Mail Server"
          3. Server Name text box
          4. User Name text box
          5. Log into this account at startup of Mail check box
            1. Not selected by default for the first account created
              1. When mail launches the Account Central page appears, not a login dialog
                1. If selected, then the Inbox is selected a login dialog appears and messages are retrieved.
            2. Not selected by default for additional accounts
              1. If selected then its login dialog should appear and messages are retrieved
          6. Check for new mail every # minutes (check box selected, numeric text box for # of minutes)
            1. With this option selected the biff icon should appear in the Taskbar, the system tray and the account level in the folder pane
            2. With this option deselected
              1. the biff icon should not appear in the Taskbar, the system tray, the account level or anywhere else
              2. the "Automatically download any new messages" widget should be disabled
            3. Enter a number to verify that the biff icon displays in the correct interval
            4. Enter text and an error message should appear stating that only numeric entries are valid
              1. Automatically download any new messages check box
                1. With this option selected, new messages will automatically be retrieved
                2. With this option not selected then only the mail headers will display
          7. Leave Messages on server check box
            1. Delete messages on server when they are deleted locally check box
              1. Enabled if "Leave Messages on server" check box is selected
              2. Disabled if "Leave Messages on server" check box is deselected
              3. When selected, delete messages from the Inbox, go to another system, get messages and the deleted messages should not be retrieved
              4. When deselected, delete messages from the Inbox, go to another system, get messages and the deleted messages should be retrieved
          8. Limit message download to # kB per message check box
            1. If selected
              1. retrieve message that are larger than the setting and verify only portions of the message are retrieved
              2. retrieve messages that are smaller than the setting and verify the entire message is retrieved
            2. If deselected
              1. retrieve message that are larger than the setting and verify the entire message is retrieved
              2. retrieve messages that are smaller than the setting and verify the entire message is retrieved
          9. Empty Trash on exit
            1. If selected then trash is removed upon exit
            2. If deselected then trash is not removed upon exit
          10. Local mail directory path
        2. Server Panel (IMAP)
          1. Title "Server Settings - <Account Name>"
          2. Server Type displays "IMAP Server Settings"
          3. Server Name text box
          4. User Name text box
          5. Use secure connection (SSL)
          6. Log into this account at startup of Mail check box
            1. Selected by default for the first account created
              1. When Mail launches, then the Inbox is selected a login dialog appears and messages are retrieved.
                1. If deselected, when mail launches the Account Central page appears, not a login dialog
            2. Not selected by default for additional accounts
              1. If selected then its login dialog should appear and messages are retrieved
          7. Check for new mail every # minutes (check box selected, numeric text box for # of minutes)
            1. With this option selected the biff icon should appear in the Taskbar, the system tray and the account level in the folder pane
            2. With this option deselected
              1. the biff icon should not appear in the Taskbar, the system tray, the account level or anywhere else
            3. Enter a number to verify that the biff icon displays in the correct interval
            4. Enter text and an error message should appear stating that only numeric entries are valid
          8. "When I delete a message" drop down list should display these options:
            1. Move it to the Trash folder
              1. Delete messages from any folder and verify messages are moved to the Trash folder
            2. Mark it as deleted
              1. Delete messages from any folder and verify messages are marked (not moved to the Trash folder)
            3. Remove it immediately
              1. Delete messages from any folder and verify messages are removed (do not appear in Trash folder)
          9. Clean up ("Expunge") Inbox on exit check box
          10. Empty Trash on exit
            1. If selected then trash is removed upon exit
            2. If deselected then trash is not removed upon exit
          11. Advanced button launches the "Advanced IMAP Server" dialog:
          12. Local mail directory path
        3. Copies and Folders (POP/IMAP)
          1. Title "Copies and Folders Settings - <Account Name>"
            1. "Place a copy in" check box should be selected by default
              1. Its button should display "Sent on <account>" by default
              2. Select the button and choose a folder on the same account
              3. Select the button and choose a folder on a different account
              4. Select the button and choose a folder on "Local Folders"
            2. Bcc <account email address>
              1. Create a message and verify the account is Bcc'd
            3. Bcc another address check box
              1. Select the check box and enter another email address (user2@netscape.net). Create a message and verify that this new email address is Bcc'd.
            4. "Keep message drafts in" button should display "Drafts on <account>" by default
              1. Select its folder and a cascading menu displays all accounts and their folders
              2. Select the button and choose a folder on the same account
              3. Select the button and choose a folder on a different account
              4. Select the button and choose a folder on "Local Folders"
            5. "Keep message templates in" button should display "Templates on <account>" by default
              1. Select its folder and a cascading menu displays all accounts and their folders
              2. Select the button and choose a folder on the same account
              3. Select the button and choose a folder on a different account
              4. Select the button and choose a folder on "Local Folders"
      2. News Accounts
        1. Identity Panel
          1. Account Name
            1. Try default name which is userid@server
            2. Enter a Pretty Name
            3. Enter the same name for two accounts should display a message stating that this is not allowed
            4. Your Name
          2. Your Name
          3. Email Address (required)
            1. Enter a valid email address
            2. Enter an invalid email address and a warning message should appear
              1. Leave the text box blank
                1. Leave the text box blank by entering nothing
                2. Leave the text box blank by entering a space
              2. Enter an incorrect format
                1. nnn
                2. nnn@
                3. nnn@nn
                4. @nn
                5. @nn.com
          4. Reply-to Address
          5. Organization
          6. Compose messages using
            1. Plain text so that Composer does not display the HTML Edit bar or the HTML menu items (i.e. Insert, Format)
            2. Rich text (html) so that Composer displays the HTML Edit bar and displays HTML menu items (i.e. Insert, Format)
          7. Attach this signature check box
            1. Select the check box, select the Choose button and select a signature file.
              1. Verify the correct path and signature file is referenced in the text box
              2. Verify a message sent from this identity also attaches the correct signature
            2. Deselect the check box
              1. Verify a message sent from this identity does not attach any signature
          8. Advanced button - Launches the Advanced Account Settings dialog
            1. Change the SMTP server and verify the messages are sent.
        2. News Server Settings
          1. Title "Server Settings - <News Account Name>"
          2. Server Type "Newsgroup server (NNTP)"
          3. Server Name text box (disabled)
          4. Port text box
            1. Enter a valid port number for NNTP (i.e. 119 )
            2. Enter an invalid port number
          5. Check for new mail every # minutes (check box selected, numeric text box for # of minutes)
            1. With this option selected the biff icon should appear in the Taskbar, the system tray and the account level in the folder pane
            2. With this option deselected
              1. the biff icon should not appear in the Taskbar, the system tray, the account level or anywhere else
            3. Enter a number to verify that the biff icon displays in the correct interval
            4. Enter text and an error message should appear stating that only numeric entries are valid
          6. "Ask me before downloading more than # messages" (check box followed by a numeric box)
            1. Enter various numbers and verify the correct number of messages appear
            2. Enter text and it should report an error
          7. Verify local news file
          8. Verify local directory path
        3. News Copies and Folders
          1. Title "Copies and Folder Settings - <Account Name>"
          2. "Place a copy in" check box should be selected by default
            1. If the news account is the first account then the button displays "Sent on Local Folders" by default
              1. Post a news message and verify a copy goes to the Local Folder's Sent folder
            2. If a mail account is the first account then the button displays "Sent on <Mail account>" by default
              1. Post a news message and verify a copy goes to the mail account's Sent folder
            3. Select the folder and a cascading menu displays all accounts and their folders
              1. Choose a folder on a different account and verify that a copy of the message goes to the appropriate Sent folder.
          3. Bcc <account email address>
            1. Post a message and verify the account is Bcc'd
          4. Bcc another address check box
            1. Select the check box and enter another email address (user2@netscape.net). Create a message and verify that this new email address is Bcc'd.
          5. "Keep message drafts in" button
            1. If the news account is the first account then the button displays "Drafts on Local Folders" by default
              1. Post a news message and verify a copy goes to the Local Folder's Drafts folder
            2. If a mail account is the first account then the button displays "Drafts on <Mail account>" by default
              1. Post a news message and verify a copy goes to the mail account's Drafts folder
            3. Select the folder and a cascading menu displays all accounts and their folders
              1. Choose a folder on a different account and verify that a copy of the message goes to the appropriate Drafts folder.
          6. "Keep message templates in" button
            1. If the news account is the first account then the button displays "Templates on Local Folders" by default
              1. Post a news message and verify a copy goes to the Local Folder's Templates folder
            2. If a mail account is the first account then the button displays "Templates on <Mail account>" by default
              1. Post a news message and verify a copy goes to the mail account's Templates folder
            3. Select the folder and a cascading menu displays all accounts and their folders
              1. Choose a folder on a different account and verify that a copy of the message goes to the appropriate Templates folder.
      3. Local Folders
        1. Title "Local Folders Settings"
        2. Account Name text box
          1. Change the name from Local Folders to another name and verify the change is displayed
            1. In Account Settings
            2. In the folder pane
        3. When Local Folders is selected the following buttons should be
          1. Disabled
            1. Move Up
            2. Move Down
            3. Set as Default
            4. Remove Account (Local Folders is a special account which cannot be deleted)
          2. Enabled
            1. Add Account
        4. Local Directory path
      4. Outgoing (SMTP) Server Settings
        1. Title "SMTP Server Settings"
        2. Server Name text box
        3. "Always use name and password" check box. The following are only available if this check box is selected:
          1. "User Name:" text box
        4. Use secure connection (SSL)
          1. "Never" radio button
          2. "When available" radio button
          3. "Always" radio button
        5. When Advanced is selected it opens the "Advanced Outgoing (SMTP) Server Settings" dialog
          1. Add button launches the "SMTP Server" dialog and is used to add a new SMTP server
            1. SMTP Server dialog
              1. Server Name text box
              2. "Always use name and password" check box. The following are only available if this check box is selected:
                1. "User Name:" text box
              3. Use secure connection (SSL)
                1. Never" radio button
                2. "When available" radio button
                3. "Always" radio button
          2. Edit button. Displays SMTP server information. Used to edit an existing SMTP server.
            1. Verify the button is enabled when an SMTP server is selected
            2. Verify the button is disabled when no SMTP server is selected
          3. Delete button
            1. Verify the button is enabled when an SMTP server is selected
            2. Verify the button is disabled when no SMTP server is selected
            3. Verify deleting an SMTP server is immediate
          4. Set as Default button.
            1. Verify the button is enabled when an SMTP server is selected
            2. Verify the button is disabled when no SMTP server is selected
            3. Verify "(default)" is appended to the SMTP server
  3. Accessibility
    1. Verify Mnemonics appear
      1. Verify mnemonics appear for the Shared buttons
      2. Verify mnemonics appear for all panels
    2. Verify Mnemonics are functional
      1. Verify mnemonics are functional for the Shared buttons
      2. Verify mnemonics are functional for all panels
    3. Verify navigating the Account Settings panels is possible through keyboard navigation
      1. Moving from account to accounts
      2. Moving between the account's various panels on the left pane (i.e. Account, Server, Copies and Folders)
      3. Moving between buttons
      4. Moving to various options for each panel on the right pane (Account Server, Copies and Folders)
      5. Selecting the Enter key performs an appropriate action for the item selected
        1. If a button is highlighted then the Enter key should perform its action (i.e. New Account should open the Account Wizard vs the OK button should close the Account Settings dialog)
      6. Selecting the Esc key performs an Escape action