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 > Component Address Book Advanced Search

Feature Test Spec: 6.0 Project

Mail and News Component
Address Book/Advance Search

Written by Ninoschka Baca

References:

UI Specifications: Address Book Specification (http://mozilla.org/mailnews/specs/search)

ONLINE/Offline: Local Address Book Search Criteria definition
Noun Criteria Verb 1 Verb 2 Verb 3 Verb 4 Verb 5 Verb 6 Verb 7 Object/value type
Any Name (produces results using First Name, Last Name and Display Name) contains doesn't contain is isn't begins with ends with sounds like text field
Email contains doesn't contain is isn't begins with ends with sounds like text field
Any Number (produces results using all phone number fields) contains doesn't contain is isn't begins with ends with sounds like text field
City contains doesn't contain is isn't begins with ends with sounds like text field
Street contains doesn't contain is isn't begins with ends with sounds like text field
Nickname contains doesn't contain is isn't begins with ends with sounds like text field
Work Phone contains doesn't contain is isn't begins with ends with sounds like text field
Home Phone contains doesn't contain is isn't begins with ends with sounds like text field
Fax contains doesn't contain is isn't begins with ends with sounds like text field
Pager contains doesn't contain is isn't begins with ends with sounds like text field
Mobile contains doesn't contain is isn't begins with ends with sounds like text field
Screen Name contains doesn't contain is isn't begins with ends with sounds like text field
Title contains doesn't contain is isn't begins with ends with sounds like text field
Organization contains doesn't contain is isn't begins with ends with sounds like text field
Department contains doesn't contain is isn't begins with ends with sounds like text field
Additional Email contains doesn't contain is isn't begins with ends with sounds like text field
  1. General UI components:
    1. Check general UI items are present
    2. Status Bar -
      1. Once the search is complete, the number of results is displayed ("X matches found").
      2. If no matching search results are found the statusbar should display the text "No matches found".
    3. Check that mnemonic indicators are present
  2. Accessibility
    1. Tab order
      1. Tab moves left to right then down
      2. Shift+Tab moves backwards
    2. Arrow keys
      1. Tab to "Match all of the following"/"Match any of the following" area, check that right/left arrow keys switch between the two
      2. Tab to results pane, down/up arow keys should move between multiple results
      3. Down arrow opens all drop down lists
    3. Mnemonic access
    4. Preferences:
      1. None. No prefs associated with this feature -- maybe in the future to allow criteria options
  3. Check search is generally functioning when search applied to a
    1. Personal address book
    2. Collected address book
    3. New address book (File|New Address Book)
    4. Imported address book
    5. External address book
  4. BASIC: Execute a simple single search for each criteria to verify it's engaging:
    1. a search which will yield at least one match
    2. a search which will yield multiple matches
    3. a search which will validly yield no matches
  5. Executing searches:
    1. Single criteria search : Note: the And/Or function shouldn't really enable until multiple criteria lines are entered for a search. This is a current bug in Nova/4.5 RTM, 6.0 and will likely stay that way for the next 6.x release.
      1. AND option selected (doesn't really make sense, but check search isn't affected by this)
      2. OR option selected (doesn't really make sense, but check search isn't affected by this)
    2. Multiple criteria
      1. AND
        • Sample each criteria type available
        • No result: matches on only one/some of the specified criteria
        • Search yields matches on all of the specified criteria
        • No match on either/any criteria
        • Illogical/negating AND criteria
        • two criteria search
        • three criteria search
        • four criteria search
        • five criteria search
      2. OR
        • Sample each criteria type available:
        • Search yields matches on one of the specified criteria
        • Search yields matches on all of the specified criteria
        • No match on either/any criteria
        • two criteria search
        • three criteria search
        • four criteria search
        • five criteria search
      3. Switching AND/OR: Verify ability to switch between logical AND ("match all of the following") and logical OR ("match any of the following"):
        • No allowance for combination AND OR searches.
        • Verify for newly entered criteria.
        • Verify on criteria already specified for AND switching to OR.
        • Verify on criteria already specified for OR switching to AND.
        • Verify this can toggle back and forth
    3. Tests for TEXT FIELD values:
      1. Partial string match
      2. Special characters
      3. Single word search
      4. Multiple word search
      5. Really short string
      6. Really long string
      7. cut and paste from other sources into text field :
        • without carriage return
        • with carriage return
        • with special characters
    4. Stop search (Note: stops only search network activity, won't stop display to results pane -- bug 44582)??
    5. Consecutive searches:
      1. Clear in between
      2. Don't Clear in between
    6. Close dialog while search ongoing
  6. Results Pane
    1. Sorting order after a search
      1. Default columns
        • Name
        • Email
        • Work Phone
        • Organization
        • Screen Name
      2. Additional columns
        • Nickname
        • Home Phone
        • Fax
        • Page
        • Mobile
        • Additional Email
        • Title
        • Department
    2. Edit Address Card
      1. Double-click
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. Properties button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      3. Properties via context menu???
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
    3. Delete
      1. Use "Delete" button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. Use the delete key on the keyboard:
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      3. Delete via context menu:
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
    4. Create New Message ???
      1. New Message button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. New Message via context menu
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
    5. Move to another AB
      1. Drag-n-drop
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. Move button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      3. Move via context menu
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
    6. Edit mailing list
      1. Double-click
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. Properties button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      3. Properties via context menu
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
    7. Delete mailing
      1. Use "Delete" button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. Use the delete key on the keyboard:
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      3. Delete via context menu:
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
    8. Create new message
      1. New Message button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. New Message via context menu
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
    9. Move mailing list
      1. Drag-n-drop
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      2. Move button
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
      3. Move via context menu
        • for single result selection
        • for contiguous multiple result selection
        • for non-contiguous multiple result selection
        • for multiple result selection across different folders
        • from Personal address book
        • from Collected address book
        • from New address book
        • from Imported address book
        • from External address book
  7. Error or adverse conditions
    1. No matches found
    2. Connection interrupted while search in progress