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