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