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 > Address Book Sidebar/Quick Search

Feature Test Spec: Mail and News Component

Mail and News Component: Address Book Sidebar/Quick Search

Written by Ninoschka Baca

References:

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.

  1. Verify the UI components are present in the default state
    1. Look in: displays the Personal Address Book
    2. for: text box displays a flashing cursor
    3. Name column followed by a column selector widget
    4. Select the column selector widget and it displays two items (Name, Email)
    5. Name menu item shows checkmark since it is enabled
    6. Cards and lists for the Personal Address Book appear below the Name column
    7. Scrollbar appears to the right if the names/lists exceeds the available vertical space
  2. Tab order:
    1. Tab moves downwards
    2. Shift+Tab moves upwards
    3. Tab multiple times so focus moves from Sidebar Address Book and goes to the next pane (3pane QS, AB QS)
    4. 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)
    5. Tab to "Look in:" pull down, select down/up arrows should display all address books
    6. Tab into Quick Search text box and flashing cursor should display
    7. Tab into results pane which displays all cards/lists, select down/up arrows should move between cards and lists
    8. Ctrl+Tab moves to next pane
    9. Ctrl+Shift+Tab moves back to the previous pane
  3. Mnemonic access
    1. None
  4. Context Menus
  5. Preferences:
    1. None
  6. Manipulating the Look in pull down menu: Select the following type of address books and verify all its cards/lists are displayed
    1. Select the Personal Address Book
    2. Select the Collected Address Book
    3. Select a new address book
    4. Select a Comm 4.x imported address book
    5. Select a Eudora imported address book
    6. Select an Outlook address book
    7. Select an Outlook Express address book
    8. Select a text format imported address book
      1. LDIF
      2. *.csv
      3. *.txt
      4. *.tab (tab delimited)
  7. Operations on the results pane
    1. Select the card/list, select the Compose button and verify the card's email address populates the addressee area, send/receive the message
    2. Drag-n-Drop a card/list to a new message/compose window, send/receive the message
    3. Change columns displayed
      1. Only Name
      2. Only Email
      3. Name and Email
    4. Sort
      1. Sort should function on the column selected (Name or Email)
      2. Sort, and sort widget should reflect the order for the column selected (ascending or descending)
      3. Sort again and the sort widget should change direction to reflect the new order (ascending or descending)
      4. Change address book
  8. Initiating searches - Basics:
    1. When text for cards/lists are typed in the search bar text field, matches display in the results pane
    2. When additional text is added the search further refines and displays appropriate results in results pane
    3. When backspacing the search scope adjusts appropriately and displays matches relative to the text
    4. No selection is made in the search/results pane by default
    5. Search is done only on the address book currently selected
    6. Search results are displayed using the same sort order as set before the search was intiated
  9. Clearing searches - Basics:
    1. Backspace to beginning of text field
    2. Select another address book
    3. When search is cleared, user should be returned to full address book contents
  10. Operations on search results:
    1. Select the card/list, select the Compose button and verify the card's email address populates the addressee area, send/receive the message
    2. Drag-n-Drop a card/list to a new message/compose window, send/receive the message
    3. Sort
    4. Results should display initially in same sort as in the results pane
    5. Sort should be available and function correctly in results
    6. Sort results, then search again - should sort according to most recent sort specified
    7. Change columns
    8. Change address book
  11. Criteria tests:
    1. matching first name:
      1. various length strings
      2. special characters
      3. spaces
    2. matching last name:
      1. various length strings
      2. special characters
      3. spaces
    3. matching display name:
      1. long name
      2. partial name
      3. special characters
      4. spaces
    4. matching email address
      1. long address
      2. partial address
      3. weird email addresses
  12. Verify QuickSearch functions with various address books
    1. Personal Address Book
    2. Collected Address Book
    3. New Address Book
    4. Imported address books from:
      1. Comm 4.x
      2. Eudora
      3. Outlook
      4. Outlook Express
      5. Text format
        1. CSV
        2. LDIF
        3. *.tab (tab delimited)
        4. *.txt
  13. Additional tests:
    1. Verify QuickSearch functions with the offline feature:
      1. go offline then initiate search
      2. initiate search when online, go offline