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/Quick Search

Feature Test Spec: Mail and News Component

Mail and News Component: Address Book/Quick Search

Written by Ninoschka Baca

References:

UI Specifications: Address Book Specification (http://mozilla.org/mailnews/specs/addressbook/#SearchBar)

A. General UI components:

  1. Menu item View|Show/Hide|Search bar
    1. hides or shows search bar above results pane when toggled
    2. menu item shows checkmark next to menu item when enabled
  2. Search bar components:
    1. Descriptive/criteria text: "Name or Email contains"
    2. text field
    3. Clear button which clears search text field and results
    4. Advanced button which takes user to the Advanced Directory Search window
    5. Tooltip over text field
  3. Tab order:
    1. accessible by tabbing
    2. Tab moves clockwise
    3. Shift+tab moves counter clockwise
    4. Tab out of QS moves focus to the results pane
    5. Shift+tab out of QS moves focus to the directory pane
    6. Tab into results pane, down/up arrows should move between entries
    7. Tab into card pane should highlight all links/buttons
    8. Tab into directory pane, down/up arrows should move between address books and mailing lists
    9. Ctrl+Tab moves to next pane (convenient if on a link in the card pane and need to quickly move to next pane)
  4. Mnemonic access
  5. Preferences:
    1. None. No prefs associated with this feature -- maybe in the future to allow criteria options

B.Initiating searches - Basics:

  1. When text is 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 selected in the directory pane
  6. Search results are displayed using the same sort order as set before the search was intiated
  7. "Stop" button is enabled when search a search is in progress
  8. Number of matches are displayed in the status bar ("X matches found")

C.Clearing searches - Basics:

  1. Backspace to beginning of text field
  2. Clear button
  3. Select another address book
  4. When search is cleared, user should be returned to full address book contents

D.Operations on search results:

  1. Properties button
  2. Compose button
  3. Delete button
  4. Double click entry and the card should appear in an edit dialog
  5. Drag-n-Drop entry to another address book
  6. Show Name As
    1. Results should display initially in same order as in the results pane
    2. Show Name As should be available and function correctly in results
    3. Change Show Name As option - should display results in new format (First, Last, Display Name)
    4. Sort results, then search again, should display results in the format currently selected
  7. Sort
    1. Results should display initially in same sort as in the results pane
    2. Sort should be available and function correctly in results
    3. Sort results, then search again - should sort according to most recent sort specified
  8. Change columns
  9. Show/Hide card summary pane (aka card pane)
  10. Collapse/Expand address book in directory pane

E.Returning to directory pane:

  1. View|Show Name As setting should apply as before the search
    1. First Name
    2. Last Name
    3. Display Name
  2. View|Sort setting should apply as before the search
    1. Name - Work Phone options
    2. Ascending/Descending
  3. When returned to folder view, all appropriate commands should be enabled and usable:
    1. Toolbars
    2. Menus
    3. Context menus
    4. Shortcuts

F.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

G.Content tests - check display when selecting through links/buttons in the card pane

  1. web pages
  2. links
  3. Get Map button

H.Varied/Address Books

  1. Make sure QuickSearch is usable with various address books -- should work with all types
    1. personal address book
    2. collected address book
    3. mailing list selected
    4. imported address book selected
      1. Comm 4.x
      2. Eudora
      3. Outlook
      4. Outlook Express
      5. Text format
        1. csv
        2. ldif
        3. tab delimited
        4. txt
  2. Make sure QuickSearch acts appropriately when clearing a search by selecting a list in various address book

I.Additional tests:

  1. Make sure QuickSearch is usable with offline feature:
    1. go offline then initiate search
    2. initiate search when online, go offline