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 > Account Setup Wizard

Feature Test Spec: Mail and News Component

Mail and News Component: Account Setup Wizard

Written by Ninoschka Baca

References

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

General Info

The Account Setup Wizard assists in the creation of multiple accounts which include POP, IMAP and News accounts. All tests performed on Win32, Linux and the Mac.

Table of contents

  1. Account Setup Wizard Access
  2. Account Setup Wizard Visual
  3. Account Setup Wizard Functional
  4. New Account Setup dialog
  5. Mail Account Setup dialogs
  6. POP/IMAP
  7. News Account Setup dialogs
  1. Account Setup Wizard Access
    While in the Mail application this section tests the general look and feel of the Account Setup Wizard when adding a new account and verifies if the Account Setup settings are saved.
    1. Verify the various ways to access the Account Setup Wizard
      1. For any profile with no mail account try these various ways of opening Mail
        1. Select the File|New|Message menu from the following components:
          1. Browser
          2. Address Book
          3. Composer
        2. Select the Taskbar's Mail icon from the following components:
          1. Browser
          2. Address Book
          3. Composer
        3. Use the mail flag (i.e. netscape.exe -mail)
        4. Create additional accounts through the Mail menu item
          1. Edit|Mail/News Account Settings, select the "New Account" button
    2. Use the Account Setup Wizard to create POP, IMAP and News accounts. These are some ideas for different profiles:
      1. 2 POP accounts
      2. 2 IMAP accounts
      3. 1 POP, 1 IMAP, 1 News accounts
      4. 2 POP, 2 IMAP, 2 News accounts
      5. Multiple News accounts
  2. Account Setup Wizard Visual
    Verify the Account Setup Wizard displays the correct dialogs for POP, IMAP and News accounts. Use the latest Account Setup Specification for details.
    1. New Account Setup (1st dialog shared by all)
      1. Verify the list of account types is displayed in the correct order
        1. Email Address
        2. Newsgroup account
    2. Email Address (POP/IMAP)
      1. Identity
      2. Server Information
        1. The Outgoing SMTP Server text box appears the first time a POP or IMAP account is created
          1. If an Outgoing SMTP Server was defined for an account then creating additional accounts will not display an option to enter another Outgoing SMTP Server
      3. Account Name
      4. Congratulations
    3. News
      1. Identity
      2. Server Information
      3. Account Name
        1. By default the Account Name field is pre populated with a news server name
      4. Congratulations
  3. Account Setup Wizard Functional
    1. New Account Setup dialog
      1. Verify only one radio button is selected at a time in the "New Account Setup" dialog:
        1. Email Address
        2. Newsgroup account
      2. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
      3. Verify the Back button is disabled
      4. Verify the Next button is enabled and advances to the next dialog
      5. Verify the Finish button is disabled
      6. Verify the Tab key advances through the dialog elements
      7. Verify selecting Shift+Tab goes back to the previous dialog elements
      8. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
      9. Verify the Enter key performs the function of the button currently selected
        1. If the Cancel button is selected then the Enter key closes the Account Wizard
        2. If the Next button is selected then the Enter key advances to the next dialog
      10. Verify disabled elements do not perform any action
      11. Verify the Mnemonics perform the correct function
    2. Mail Account Setup Wizard dialogs
      1. Email Address (POP/IMAP dialogs)
        1. Identity dialog
          1. Verify the cursor displays in the "Your Name" text box
          2. Verify the "Your Name" text box is enabled
            1. Enter a name in the "Your Name" text box
            2. Include numbers in the name
            3. Include special characters in the name (i.e. @, #, /, !)
          3. Verify the "Email Address" text box is enabled
            1. Enter a basic email address nnn@nnn.com
          4. Verify a message box appears for incorrect entries
            1. "Your Name"
              1. Leave the text box blank by entering nothing
              2. Leave the text box blank by entering a space
            2. "Email Address"
              1. Leave 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
          5. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
          6. Verify the Back button is enabled and goes to the previous dialog
          7. Verify the Next button is enabled and advances to the next dialog
          8. Verify the Finish button is disabled
          9. Verify the Tab key advances through the dialog elements
          10. Verify selecting Shift+Tab goes back to the previous dialog elements
          11. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
          12. Verify the Enter key performs the function of the button currently selected
            1. If the Cancel button is selected then the Enter key closes the Account Wizard
            2. If the Back button is selected then the Enter key goes to the previous dialog
            3. If the Next button is selected then the Enter key advances to the next dialog
          13. Verify disabled elements do not perform any action
          14. Verify the Mnemonics perform the correct function
        2. Server Information dialog
          1. Verify the "Server Type" pull down menu is enabled
            1. Select an IMAP option
            2. Select a POP option
          2. Verify the "Server Name" text box is enabled
          3. Verify the "Server Name" in the Outgoing (SMTP) Server section is:
            1. present for the first POP or IMAP account
            2. not present for a second POP or IMAP account
          4. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
          5. Verify the Back button is enabled and goes to the previous dialog
          6. Verify the Next button is enabled and advances to the next dialog
          7. Verify the Finish button is disabled
          8. Verify the Tab key advances through the dialog elements
          9. Verify selecting Shift+Tab goes back to the previous dialog elements
          10. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
          11. Verify the Enter key performs the function of the button currently selected
            1. If the Cancel button is selected then the Enter key closes the Account Wizard
            2. If the Back button is selected then the Enter key goes to the previous dialog
            3. If the Next button is selected then the Enter key advances to the next dialog
          12. Verify disabled elements do not perform any action
          13. Verify the Mnemonics perform the correct function
        3. Account Name dialog
          1. Verify the cursor displays in the "Account Name" text box
          2. Verify the "Account Name" text box is prefilled
          3. Verify the "Account Name" can be changed
            1. Try a basic name such as Home, Work
            2. Try a name with spaces (i.e. "News Account")
            3. Try a name with special characters (i.e. @, #, /, !)
          4. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
          5. Verify the Back button is enabled and goes to the previous dialog
          6. Verify the Next button is enabled and advances to the next dialog
          7. Verify the Finish button is disabled
          8. Verify the Tab key advances through the dialog elements
          9. Verify selecting Shift+Tab goes back to the previous dialog elements
          10. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
          11. Verify the Enter key performs the function of the button currently selected
            1. If the Cancel button is selected then the Enter key closes the Account Wizard
            2. If the Back button is selected then the Enter key goes to the previous dialog
            3. If the Next button is selected then the Enter key advances to the next dialog
          12. Verify disabled elements do not perform any action
          13. Verify the Mnemonics perform the correct function
        4. Congratulations dialog
          1. Verify the "Account Name, User Name, Email Address, Incoming Server, Incoming Server Type and SMTP Server" are summarized
          2. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
          3. Verify the Back button is enabled and goes to the previous dialog
          4. Verify the Next button is disabled
          5. Verify the Finish button is enabled
            1. When selected the Account Setup Wizard closes
            2. Focus then goes to:
              1. the 3-pane for the first account
              2. the Account Settings dialog if it is a second account
          6. Verify the Tab key advances through the dialog elements
          7. Verify selecting Shift+Tab goes back to the previous dialog elements
          8. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
          9. Verify the Enter key performs the function of the button currently selected
            1. If the Cancel button is selected then the Enter key closes the Account Wizard
            2. If the Back button is selected then the Enter key goes to the previous dialog
            3. If the Next button is selected then the Enter key advances to the next dialog
            4. If the Finish button is selected then the Account Wizard closes and focus goes to:
              1. the 3-pane pane for the first account
              2. the Account Settings dialog if it is a second account.
          10. Verify disabled elements do not perform any action
          11. Verify the Mnemonics perform the correct function
        5. Verify the Account Settings are saved by selecting Edit|Mail/News Account Settings
          1. Verify the Mail Identity information is correct
            1. Account Name should display
            2. Your Name
            3. Your Email Address
          2. Verify the Mail Server Settings are correct
            1. Server Type should reference POP or IMAP
            2. Server Name should reference the mail server name entered
            3. "Log into this account at startup of Mail"
              1. Not selected by default for the POP accounts
              2. Selected by default for the first IMAP account
                1. Not selected for additional IMAP accounts
          3. Verify the Copies and Folders Settings are correct
            1. POP/IMAP
              1. "Place a copy in" checkbox should be selected by default
                1. Its button should display "Sent on <account>" by default
              2. "Keep message drafts in" button should display "Drafts on <account>" by default
              3. "Keep message templates in" button should display "Templates on <account>" by default
        6. Verify that the Outgoing SMTP Server panel displays the correct entry for the Outgoing SMTP Server Name
    3. News Account Setup Wizard dialogs
      1. New Account Setup dialog (1st dialog shared by all. Go to section B1 for more details)
      2. Identity dialog
        1. Verify the cursor displays in the "Your Name" textbox
        2. Verify the "Your Name" text box is enabled
          1. Enter a name in the "Your Name" text box
          2. Include numbers in the name
          3. Include special characters in the name (i.e. @, #, /, !)
        3. Verify the "Email Address" textbox is enabled
          1. Enter a basic email address nnn@nnn.com
        4. Verify a message box appears for incorrect entries
          1. "Your Name"
            1. Leave text box blank
              1. Leave the text box blank by entering nothing
              2. Leave the text box blank by entering a space
          2. "Email Address"
            1. Leave the "Email Address" textbox blank
              1. Leave the textbox blank by entering nothing
              2. Leave the textbox blank by entering a space
            2. Enter an incorrect format
              1. nnn
              2. nnn@
              3. nnn@nn
              4. @nn
              5. @nn.com
        5. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
        6. Verify the Back button is enabled and goes to the previous dialog
        7. Verify the Next button is enabled and advances to the next dialog
        8. Verify the Finish button is disabled
        9. Verify the Tab key advances through the dialog elements
        10. Verify selecting Shift+Tab goes back to the previous dialog elements
        11. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
        12. Verify the Enter key performs the function of the button currently selected
          1. If the Cancel button is selected then the Enter key closes the Account Wizard
          2. If the Back button is selected then the Enter key goes to the previous dialog
          3. If the Next button is selected then the Enter key advances to the next dialog
        13. Verify disabled elements do not perform any action
        14. Verify the Mnemonics perform the correct function
      3. Server Information dialog
        1. Verify the "Server Name" textbox is enabled
          1. Enter a valid Server Name
          2. Include numbers in the name
          3. Include special characters in the name (i.e. @, #, /, !)
        2. Verify a message box appears for incorrect entries
          1. Leave the "Server Name" textbox blank by entering nothing
          2. Leave the "Server Name" textbox blank by entering a space
        1. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
        2. Verify the Back button is enabled and goes to the previous dialog
        3. Verify the Next button is enabled and advances to the next dialog
        4. Verify the Finish button is disabled
        5. Verify the Tab key advances through the dialog elements
        6. Verify selecting Shift+Tab goes back to the previous dialog elements
        7. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
        8. Verify the Enter key performs the function of the button currently selected
          1. If the Cancel button is selected then the Enter key closes the Account Wizard
          2. If the Back button is selected then the Enter key goes to the previous dialog
          3. If the Next button is selected then the Enter key advances to the next dialog
        9. Verify disabled elements do not perform any action
        10. Verify the Mnemonics perform the correct function
      1. Account Name dialog
        1. Verify the cursor displays in the "Account Name" text box
        2. Verify the "Account Name" text box is prefilled
        3. Verify the "Account Name" can be changed
          1. Try a basic name such as Home, Work
          2. Try a name with spaces (i.e. "News Account")
          3. Try a name with special characters (i.e. @, #, /, !)
        4. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
        5. Verify the Back button is enabled and goes to the previous dialog
        6. Verify the Next button is enabled and advances to the next dialog
        7. Verify the Finish button is disabled
        8. Verify the Tab key advances through the dialog elements
        9. Verify selecting Shift+Tab goes back to the previous dialog elements
        10. Verify the Escape key closes the Wizard and returns focus to the Account Settings dialog
        11. Verify the Enter key performs the function of the button currently selected
          1. If the Cancel button is selected then the Enter key closes the Account Wizard
          2. If the Back button is selected then the Enter key goes to the previous dialog
          3. If the Next button is selected then the Enter key advances to the next dialog
        12. Verify disabled elements do not perform any action
        13. Verify the Mnemonics perform the correct function
      2. Congratulations!
        1. Verify a summary of the "Account Name, Email Address and News Server Name" is displayed
        2. Verify the Cancel button closes the Wizard and returns focus to the Account Settings dialog
        3. Verify the Back button is enabled and goes to the previous dialog
        4. Verify the Next button is disabled
        5. Verify the Finish button is enabled
          1. When selected the Account Setup Wizard closes
            1. Focus then goes to:
              1. the 3-pane for the first account
              2. the Account Settings dialog if it is a second account
        6. Verify the Tab key advances through the dialog elements
        7. Verify selecting Shift+Tab goes back to the previous dialog elements
        8. Verify the Enter key performs the function of the button currently selected
          1. If the Cancel button is selected then the Enter key closes the Account Wizard
          2. If the Back button is selected then the Enter key goes to the previous dialog
          3. If the Finish button is selected then the Account Wizard closes and focus goes to:
            1. the 3-pane pane for the first account
            2. the Account Settings dialog if it is a second account
        9. Verify disabled elements do not perform any action
        10. Verify the Mnemonics perform the correct function
      3. Verify the Accounts Settings are saved by selecting Edit|Mail/News Account Settings
        1. Verify the News Identity information is correct
          1. Account Name by default is the news server name
          2. Your Name
          3. Your Email Address
        2. Verify the News Server Settings are correct
          1. Server Type should reference NNTP
          2. Server Name should reference the news server name entered
        3. Verify the Copies and Folders Settings are correct
          1. If the news account is the first account then entries point to Local Folders:
            1. "Place a copy in" checkbox should be selected by default
              1. Its button should display "Sent on Local Folders" by default
            2. "Keep message drafts in" button should display "Drafts on Local Folders" by default
            3. "Keep message templates in" button should display "Templates on Local Folders" by default
          2. If a mail account already exists then the news account points to the settings for the mail account:
            1. "Place a copy in" checkbox should be selected by default
              1. Its button should display "Sent on <account>" by default
            2. "Keep message drafts in" button should display "Drafts on <account" by default
            3. "Keep message templates in" button should display "Templates on <account>" by default