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 - Autocomplete Addressing

Feature Test Spec: Mail and News Component

Mail and News Component: Address Book - Autocomplete Addressing

Written by Fenella Gor

References

Autocomplete UI Specification: http://mozilla.org/mailnews/specs/autocomplete/

Description

Names typed into the addressing pane of the mail compose window are compared with names in local address books. There are possible results from autocomplete: there is a unique match, there are multiple matches, or there is no match. In any of these cases, the appropriate completion string appears to the right of the insertion point.

The testspec provides guidelines to test automatic name completion in the Addressing Pane of the Mail Compose window.

In order to do this testing, you must bring up the Composer and Address Book windows.

Enable the Address Autocompletion option in the Edit|Preference|MailNewsgroups|AddressBook

  • First Name
    • Type one character into the addressing pane of the mail compose window
      1. verify that a drop down list appearing to the right of the insertion point.
      2. verify that all the matches, including last names, that are displayed in the the Personal Address Book and Collected Address Book,.appear in the list
      3. verify that you can mouse click and select an address from the list
      4. verify that you can arrow down to select an address from the list.
      5. verify that you can arrow up to select an address from the list.
      6. verify that if there is no match, a string will be completed by adding the @netscape.com to the end.
    • Type two characters
      1. verify that a different drop down list appearing to the right of the insertion point.
      2. verify that all the matches, including last names, that are displayed in the the Personal Address Book and Collected Address Book, appear in the list
      3. verify that you can mouse click and select an address from the list
      4. verify that you can arrow down to select an address from the list.
      5. verify that you can arrow up to select an address from the list.
      6. verify that if there is no match, a string will be completed by adding the @netscape.com to the end.
    • Type three characters
      1. verify that a different drop down list appearing to the right of the insertion point.
      2. verify that all the matches, including last names, that are displayed in the the Personal Address Book and Collected Address Book, .appear in the list
      3. verify that you can mouse click and select an address from the list
      4. verify that you can arrow down to select an address from the list.
      5. verify that you can arrow up to select an address from the list.
      6. verify that if there is no match, a string will be completed by adding the @netscape.com to the end.
    • Type a full name
      1. verify that a different drop down list appearing to the right of the insertion point.
      2. verify that all the matches, including last names, that are displayed in the the Personal Address Book and Collected Address Book, appear in the list
      3. verify that you can mouse click and select an address from the list
      4. verify that you can arrow down to select an address from the list.
      5. verify that you can arrow up to select an address from the list.
      6. verify that if there is no match, a string will be completed by adding the @netscape.com to the end.
  • Last Name
    • Type a last name
      1. verify that a drop down list appearing to the right of the insertion point.
      2. verify that all the matches, including last names, that are displayed in the the Personal Address Book and Collected Address Book,.appear in the list
      3. verify that you can mouse click and select an address from the list
      4. verify that you can arrow down to select an address from the list.
      5. verify that you can arrow up to select an address from the list.
      6. verify that a name list may appear even though it may not be the last name.
      7. verify that if there is no match, a string will be completed by adding the @netscape.com to the end.
    • Type a first name followed by a space and then last name
      1. verify that a drop down list appearing to the right of the insertion point.
      2. verify that all the matches, including last names, that are displayed in the the Personal Address Book and Collected Address Book, appear in the list
      3. verify that you can mouse click and select an address from the list
      4. verify that you can arrow down to select an address from the list.
      5. verify that you can arrow up to select an address from the list.
      6. verify that a name list may appear even though it may not be the last name.
      7. verify that if there is no match, a string will be completed by adding the @netscape.com to the end.
  • Nick name
    • Type in a nick name
      1. verify that a drop down list appearing to the right of the insertion point.
      2. verify that all the matches, including last names, that are displayed in the the Personal Address Book and Collected Address Book, appear in the list
      3. verify that you can mouse click and select an address from the list
      4. verify that you can arrow down to select an address from the list.
      5. verify that you can arrow up to select an address from the list.
  • Email address
    • Type in an email address
      1. verify that a autocomplete list comes up when you type the characters.
      2. verify that once you start typing the @ sign, the list disappears
  • Deleting an address from the list
    • Populate the address field with 3 autocomplete addresses, delete one of it and then send the message
      1. Verify that the mail does not send to the deleted address.
  • Misc:
    • From the Header drop-down menu,
      1. select the cc field, enter some text, verify that autocomplete works
      2. select the Bcc field, enter some text, verify that autocomplete works
      3. select the Reply-to field, enter some text, verify that autocomplete works
      4. select the Newsgroup field, enter some text, verify that autocomplete does not work.
      5. select the Followup-to field, enter some text, verify that autocomplete does not work.

Address autocompletion option in the Edit|Preference|MailNewsgroups|AddressBook

  • Local Address Book
    • When addressing a message verify that it autocompletes with an address you know is only in a local address book.
    • Deselect this option and verify that autocomplete does not perform on local address books.
  • Select Directory Server
    • When addressing a message verify that it autocompletes with an address you know is only in the directory server.
    • Deselect this option and verify that autocomplete does not perform on the directory server.
  • Local Address Books and Directory Server
    • When addressing a message verify that it autocompletes with entries in a local address book and a directory server.
    • Deselect both options and verify that autocomplete does not perform on a local address book and a directory server.