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