You are here: Mozilla MailNews Functional / UI Tests > Address Book Sidebar/Quick Search
Feature Test Spec: Mail and News Component
Mail and News Component: Address Book Sidebar/Quick Search
Written by Ninoschka BacaReferences:
UI Specifications: Quick Search Specification (http://rocknroll/users/jglick/publish/QkSearch/QkSearch1.html)
Setup
1. Create and populate address books
- Login to any mail account and read incoming messages and send messages to populate the Collected Address Book
- Open the Address Book
- Populate the Personal Address Book with cards and lists
- Create a new address book and populate it with cards and lists
- Import an address book (i.e. from Comm 4.x, Eudora, Outlook, Outlook Express, Text format such as *.ldif, *.csv, *.txt, *.tab)
2. Add the Address Book tab to the Sidebar
In the Sidebar select the Tabs button, select Customize My Sidebar..., in the left panel expand the "Recommended" widget, select Address Book, select the Add button and "Address Book" should now display in the right panel titled "Tabs in My Sidebar:", press the OK button and the main 3pane window should now display an Address Book tab in the Sidebar.
- Verify the UI components are present in the default state
- Look in: displays the Personal Address Book
- for: text box displays a flashing cursor
- Name column followed by a column selector widget
- Select the column selector widget and it displays two items (Name, Email)
- Name menu item shows checkmark since it is enabled
- Cards and lists for the Personal Address Book appear below the Name column
- Scrollbar appears to the right if the names/lists exceeds the available vertical space
- Tab order:
- Tab moves downwards
- Shift+Tab moves upwards
- Tab multiple times so focus moves from Sidebar Address Book and goes to the next pane (3pane QS, AB QS)
- Shift+tab multiple times so focus moves upwards and eventually out of the Sidebar Address Book and goes to the previous pane (3pane folder pane, AB directory pane)
- Tab to "Look in:" pull down, select down/up arrows should display all address books
- Tab into Quick Search text box and flashing cursor should display
- Tab into results pane which displays all cards/lists, select down/up arrows should move between cards and lists
- Ctrl+Tab moves to next pane
- Ctrl+Shift+Tab moves back to the previous pane
- Mnemonic access
- None
- Context Menus
- Preferences:
- None
- Manipulating the Look in pull down menu: Select the following type
of address books and verify all its cards/lists are displayed
- Select the Personal Address Book
- Select the Collected Address Book
- Select a new address book
- Select a Comm 4.x imported address book
- Select a Eudora imported address book
- Select an Outlook address book
- Select an Outlook Express address book
- Select a text format imported address book
- LDIF
- *.csv
- *.txt
- *.tab (tab delimited)
- Operations on the results pane
- Select the card/list, select the Compose button and verify the card's email address populates the addressee area, send/receive the message
- Drag-n-Drop a card/list to a new message/compose window, send/receive the message
- Change columns displayed
- Only Name
- Only Email
- Name and Email
- Sort
- Sort should function on the column selected (Name or Email)
- Sort, and sort widget should reflect the order for the column selected (ascending or descending)
- Sort again and the sort widget should change direction to reflect the new order (ascending or descending)
- Change address book
- Initiating searches - Basics:
- When text for cards/lists are typed in the search bar text field, matches display in the results pane
- 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 currently selected
- Search results are displayed using the same sort order as set before the search was intiated
- Clearing searches - Basics:
- Backspace to beginning of text field
- Select another address book
- When search is cleared, user should be returned to full address book contents
- Operations on search results:
- Select the card/list, select the Compose button and verify the card's email address populates the addressee area, send/receive the message
- Drag-n-Drop a card/list to a new message/compose window, send/receive the message
- Sort
- Results should display initially in same sort as in the results pane
- Sort should be available and function correctly in results
- Sort results, then search again - should sort according to most recent sort specified
- Change columns
- Change address book
- Criteria tests:
- matching first name:
- various length strings
- special characters
- spaces
- matching last name:
- various 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:
- Verify QuickSearch functions with various address books
- Personal Address Book
- Collected Address Book
- New Address Book
- Imported address books from:
- Comm 4.x
- Eudora
- Outlook
- Outlook Express
- Text format
- CSV
- LDIF
- *.tab (tab delimited)
- *.txt
- Additional tests:
- Verify QuickSearch functions with the offline feature:
- go offline then initiate search
- initiate search when online, go offline
- Verify QuickSearch functions with the offline feature: