You are here: Mozilla MailNews Functional / UI Tests > Mail & News: Select Addresses
Feature Test Spec: Mail and News Component
Mail and News Component: Select Addresses
Written by: Olga MilenkayaReferences
UI Specifications: Address Book Specification
http://mozilla.org/mailnews/specs/addressbook/#AddressSelection
The "Select Addresses" dialog is used to select addresses when composing a mail message.
- Entry points
- It is accessible from the Mail Compose window only, by clicking on the "Address" button on the Toolbar
- It is accessible from the Mail Compose menu "Options|Select Addresses...".
- General UI components:
- Size and location is sticky
- The dialog is resizable. bug 131959
- The dialog is sticky, which means that changing location or size if saved and visible with current and next session.bug 131959.
- "Look in" drop-down field with existing address books.
- Search bar components:
- Descriptive text/label: "for"
- text field
- Clear button which clears search text field and results
- List of cards accosiated with the address book.
- "Address Message to" list with cards moved by using To, Cc, Bcc buttons.
- To, Cc, Bcc buttons.
- "Remove" button, which is enabled only if "Address message to" list has at least one entry.
- "New" button - always enabled.
- "Edit" button - enabled when a card is selected. bug 117264
- Tab navigation:
- All fields are accessible by tabbing
- Tab moves clockwise
- Shift+Tab moves counter clockwise
- Tab out of QS moves focus to the cards list.
- Shift+tab out of QS moves focus to the "Look in" drop-down list.
- Tab into results pane, down/up arrows should move between entries. bug 135560
- Tab into card pane should highlight first entry on the list.
- Tab into directory pane, down/up arrows should move between address books and mailing lists
- Tab Navigation and Enter key on Focused buttons bug 134273, 134301
- Keyboard access to all fields and buttons by using mnemonics. bug 135748
- Preferences:
- None. No prefs associated with this feature
- Size and location is sticky
- Basic Functionality
- Users select one or more entries in the a) card list or b) results pane, and clicks the "To", "Cc" or "Bcc" buttons to add the recipients. Test by using mouse - Pass. Test by using keyboard - bugs 134256, 134301.
- Double clicking on a card entry also adds the person to the "To" list.
- Select Addresses dialog is modal to the Compose window.
- "New" button provides ability to create a new card. New Card dialog becomes modal to the Select Addresses dialog. bug 134273
- "Edit" button provides ability to edit an existing card from this dialog. Card Edit dialog becomes modal to the Select Addresses dialog.
- Default columns are: "Name" and "Email".
- The columns are resizable by dragging the separator bar between column headers.
- Sorting: Columns can be reordered by dragging and dropping the column headers.
- The column size and order is sticky for each Address Book.
- Related data in the AB field, Cards, List of Addresses. bug 134268
- Initiating searches - Basics:
- When text is typed in the search bar text field, matches display in the list of cards.
- When additional text is added the search further refines and displays appropriate results in results pane
- When backspacing the search scope adjusts appropriately and displays matches relative to the text
- No selection is made in the search/results pane by default
- Search is done only on the address book selected in the directory pane
- Search results are displayed using the same sort order as set before
- Search results are changed for different Address Books when keep the same search string.
- Clearing searches - Basics:
- Backspace to beginning of text field
- Clear button
- When search is cleared, user should be returned to full address book contents
- Clearing search for another address book brings this address book contents in full.
- Clear search for empty address book - bug 134299
- Criteria tests:
- matching first name:
- various length strings
- special characters
- spaces
- matching last name:
- variouis length strings
- special characters
- spaces
- matching display name:
- long name
- partial name
- special characters
- spaces
- matching email address
- long address
- partial address
- weird email addresses
- matching first name:
- Content tests - check display when selecting through
links/buttons in the card pane
- web pages
- links
- Get Map button
- Varied/Address Books
1. Make sure Search is usable with various address books -- should work with all types
- personal address book
- collected address book
- mailing list selected
- imported address book selected
- Comm 4.x
- Eudora
- Outlook
- Outlook Express
- Text format
- csv
- ldif
- tab delimited
- txt
- Additional tests:
1. Make sure QuickSearch is usable with offline feature:- go offline then initiate search
- initiate search when online, go offline