You are here: Mozilla MailNews Functional / UI Tests > Address Book Specification
Feature Test Spec: Mail and News Component
Mail and News Component: Address Book/General
Written by Esther Goes, Fenella Gor, Ninoschka BacaReferences:
- UI Specification: Address Book UI Specification
- Other: How To Create Address Books, Cards, Lists, Directories, etc.
Contents
- Address Book
-
Managing Address Books
Address Book
- Visual - Verify the Address Book as the following:
- Window Title "Address Book" and a close "X" button
- Window is resizable and moveable
- Menubar (see Sea-Monkey Messenger Address Book for Menubar lists)
- Toolbar (see Sea-Monkey Messenger Address Book Toolbar buttons) Note: Search button disabled unless LDAP Directory selected.
- Directory (Address Book) pane
- Two Local Address Book: Personal Address Book" and the
"Collected Addresses.
- Personal Address Book is the user's default Address Book
- "Collected Addresses" address book is associated with the "Email Address Collection" feature
- Users are able to create additional Local Address Books as desired
- A separator bar
- This pane should display a scroll bar if contents does not fit in pane.
- Two Local Address Book: Personal Address Book" and the
"Collected Addresses.
- Results Pane (upper right side of Address Book window)
- Displays a list of cards and lists for the selected Address Book
- Default columns include: "Name" "Email", "Work Phone", "Organization" and "ScreenName".
- Should display a scroll bar if contents does not fit in pane.
- Card View Pane (lower right side of Address Book window)
- Displays the contents of the selected card.
- Title for the Card "Card for (name or person goes here)" in large bold font.
- Should display a scroll bar if contents does not fit in the pane.
- Should display a buddy icon for screen names
(requirements: screen name is present, an email is present
and an IM is sent between the recipients to see the buddy
icon appear)
- Points of Entry
- "Address Book" icon in the Task bar within the "Quick Access" area included in each of the components (Navigator, Messenger)
- "Address Book" menu item listed under "Tasks" from each of the components (Navigator, Messenger, Address Book etc)
- "Address" button on Toolbar of Mail Composition window
- Functionality
- Verify the Address Book pane can be collapsed and expanded using vertical split bar.
- Verify the Card View pane can be collapsed and expanded using the horizontal split bar.
- Verify the lists in the left pane can be collapsed and expanded using the expand/collapse icons (right arrow/downward arror) located to the left of the Address Book.
- Verify that <Tab> will change the focus to the next
logical control as follows:
- Directory Pane-Address Book at top of the list
- Results Pane-Card at the top of the list
- Card View Pane (links in the pane in this order down left side, then down right side)
- Verify the Address Books, expanded Lists and subscribed LDAP Directories are displayed in the Directory pane
- Verify the drag and drop action for Card(s) and List(s)
- right pane-Card(s) to List=copy
- right pane-Card(s) to left pane-Address Book=copy
- right pane-Card(s) to left pane-List in the same address book=copy
- right pane-Card(s) to left pane-List in a different address book=copy
- either pane-List(s) to any List or Address book=copy
- Verify the Command/Control Key action for Card(s) and
List(s) (This is known as the using the modifier key, Windows
uses Shift+drag)
- right pane-Card(s) to List=move
- right pane-Card(s) to left pane-Address Book=move
- right pane-Card(s) to left pane-List in the same address book=move
- right pane-Card(s) to left pane-List in a different address book=move
- Verify the functionality in Directory Pane
- single click on Address Book=selects the address book and displays the contents of the Address Book in the Results list
- double click on Address Book=Brings up Address Book Information
- double click on a Directory=brings up the Directory Server Informatin dialog which can be edited
- single click on mailing list=selects the mailing list and displays the mailing lists in the Results pane
- double click on mailing list in the Result pane=brings up the mailing list Mailing List dialog which can be edited
- single click on Directory=selects the directory, and displays either nothing or the last set of search results in the results list
- Control+Click(Win/X)=select a discontinuous group of Address Books/Lists and Directories, highlights the selection leaves Results pane and Card View pane alone with the last view still visible.
- Shift+Click=selects a contiuous group of Address Books/Lists and Directories, highlights the selection leaves Results pane and Card View pane alone with the last view still visible.
- Option+Click or Extended Press and Hold (Mac), Right Mouse Click (PC & Unix)= popup context menu for Address Book, List or Directory or list base on what was selected at the time of right mouse click (see Sea-Monkey Messenger Address Book spec listed above for menu list)
- Verify the functionality in Results Pane
- single click on a card= selects a single card and
displays the detailed information in the Card View pane
- verify this view only shows headings that contains information that the user has previoulsy entered (each card may display different headings)
- verify this view only allows user to click a link to bring up a New Msg window, you cannot edit the information on the card in this view
- double click on a card=opens the "Card Dialog - Display" in a separate window for the card that was selected.
- single click on a mailing list=selects the mailing list
- double click on mailing list=brings up the mailing list Mailing List dialog which can be edited
- Control+Click(Win/X)=select a discontinuous group of cards/mailing lists and Card View pane displays nothing
- Shift+Click=selects a contiuous group of cards/mailing lists and Card View pane displays nothing
- Right Mouse Click = popup context menu for card or list base on what was selected at the time of right mouse click (see Sea-Monkey Messenger Address Book spec listed above for menu list)
- single click on a card with a screen name, select the IM button and verify the IM compose window appears prefilled with the screen name.
- select more than one card, each having a screen name,
select the IM button and verify a chat process
initiates.
- single click on a card= selects a single card and
displays the detailed information in the Card View pane
- Verify the functionality in the Card View Pane
- Double click on a card in the result pane.
- Verify it opens a card dialog.
- Verify this dialog only shows headings of the card.
- Verify that user cannot edit the information on the card in this Display Window
- Verify Card pane can be collapsed by dragging the separator bar.
- Verify that data entered in the Card displayed in the card view pane.
- Click on email address.
- Verify that compose window opens with address fill in.
- Verify compose window has focus
- Click on URL link.
- Verify that browser window opens with URL displayed. Verify Address Book opens but browser window has focus
- Click on Screen name.
- Verify IM compose window opens with screen name filled. Address still opens but IM compose window has focus.
- Double click on a card in the result pane.
- Verify functionality in Card Dialog - Display ( lower right
side)
- This dialog only shows headings
- Click on the Edit button = brings up the Card Dialog - Edit Mode
- Click on the Close button = closes the window
- Click on X widget to close the dialog
- Enter Name, Address, Inst Msg and Other into the card
- Verify info are displayed in the card view pane.
- Verify layout and functionality in Card Dialog - Edit Mode
- New card dialog can be launched:
- In Address Book, From File->New Address Book Card
- From Toolbar button, click on Edit (field has data)
- From Address Book Menu item - New Card
- From Address book, Menu Item, Edit-> Car Properties
- From a stand alone Message Window imder Message menu list) - "Add Address to Address Books..."
-
- Verify New Card if there is no match,
- Or existed card be prompted -should the card be updated.
- From a stand alone Message Window under Message menu list) - Add All to Address Book..."
-
- Verify New Card if there is no match,
- Or existed card be prompted -should the card be updated.
- Context menu - New Card/Edit
-
- Directory pane, selection on an Address Book, Mailing list or Directory (click New Card)
- Results pane, card or mailing list is selected - Edit Card
- Card View pane, double-click anywhere on the pane
- Verify layout for the Card Dialog - Edit mode is the
same for both a New Card or Editing an existing Card (with
exceptions noted below in first two bullet items *)
- * New Card dialog has a title bar with the title "New Card". The title is completed with the Display name after clicking OK on the card. Existing card title "Card for [Display Name]". Also has a close "X" button
- * For a New Card only, there is an "Add Card to:" drop down menu. This menu is not available for a card in Edit mode, it is replaced with static text "Location: [Name of Address Book where card is located]".
- Verify dialog has a set of tabs in which the user can add information about a contact. The tabs include: Name, Address & Other.
- Verify all fields for each Tab are active text entry fields.
- Dialog OK, Cancel and Help buttons
- Verify correct headings in Bold for each section on the tab.
- Verify the Tab name is in Bold for the tab that has focus
- Verify functionality of text entry fields located on each Tab.
- New card dialog can be launched:
- Verify initial state when an address book directory is
selected and the state after selection
- for an Address Book
- Verify the first name is selected in the list when a personal address book is first selected
- Verify that what was previously viewed in an address book, appears in the results pane when that address book is selected again in the same session
- for an Address Book
Managing Address Books
- Placement of Added or Edited Cards
- A newly created Card should be listed in the Results pane, when the Address Book it was added to, is selected
- A newly created Card should be listed in the Results pane according to the Sort order of the Address Book at the time it is added. (Example, if sort order is by email|ascending and you add a card with the name AAA and an email address zzz@nowhere.com, this card should be placed at the bottom of the list in the Results pane.
- A newly created card that is added to the Address Book that is selected in the Directory pane, should display immedialtely in the Results pane.
- A newly created Card that is added to an Address Book that is not selected in the Directory pane, should display in the Results pane only when that address book is selected
- An edited Card should change location in Results pane immediately, if the change is in the field the list is sorted by.
-
Adding Cards using the Email Address
Collection Feature
- Verify in the Preferences for the Mail &
Newsgroups|Addressing panel that the checkbox to Add email
addresses to the Personal Address Book is selected by default.
- Verify sending a message places the recipients email address in the Personal Address Book
- Verify changing the Email Address Collection feature works
when it uses the Collected Address Book instead of the Personal
Address Book. When sending a message the recipients email
address should be placed in the Collected Address
Book.
- Verify changing the Email Address Collection feature works
when it uses a user defined address book. When sending a
message the recipients email address should be placed in the
user defined address book.
- Verify in the Preferences for the Mail &
Newsgroups|Addressing panel that the checkbox to Add email
addresses to the Personal Address Book is selected by default.
- Adding and Editing Lists (for basic information on how to
create a list see link above on How to Create...)
- Verify layout of a New List
- Verify the dialog title "Mailing List" and a close "X" button
- Verify this dialog is moveable and resizable
- Verify the dialog consists of the following:
- Verify the "Add to:" pop-up" list defaults to the Personal Address Book at the top for the list in the Directory pane.
- List Name
- List Nickname
- Description
- List Bucket titled "Type names or drag addresses into the mailing list below
- Stop button
- Remove button
- Up and Down arrow buttons for reordering names in List bucket
- Action buttons (OK,Cancel,Help)
- Status bar indicating Secure and Online/Offline
- Verify the placement of the List dialog when New List
is selected or Edit|Properties is selected when a list is
to be edited
- New List - placement is to the right of the Address Book window
- Editing a List - placement is to the right of the Address Book window
- Verify the placement of the List in Address Book Window
- Creating a List while a mailing list is selected in the Directory pane=the new list will appear in the Directory pane (in alphabetical order) under the Address Book where the currently selected list is located (even though it is a sub-list). It will also show in the Results pane as part of the content for the selected list .
- Creating a List when an address book is selected=the new list will appear under the address book that it was created in and in the Results pane
- Verify placement of names in a new list is in order of entry.
- Verify order of names on list can be changed using the Up and Down arrow. Verify this order is save after closing the application and reopening it.
- Verify a message addressed to a list, sends the message with the names in the addressing field in the order as they appear on the list.
- Adding data to a New List
- Verify you can change to another Address book using the pop-up list and the list is saved in the target Address book selected.
- Enter data for a List Name
- verify valid names (unique name for selected Address Book) are accepted.
- verify invalid names (non-unique for selected Address Book) are not accepted an gives proper error message
- Enter data for a List Nickname
- verify valid names work
- verify invalid names (non-unique for selected Address Book) gives proper error message
- Enter data for the Description
- valid description
- verify there is no invalid description
- Enter no data in any field, OK, verify you get an error message "You must enter a list name". Note:You can not save this list with no name.
- Enter long lines of data in various fields, OK card, open this card to verify data was saved, no truncation, no crash.
- Enter data in various fields, check the HTML box, OK, open this card to verfiy the HTML box is still checked.
- Enter data in various fields, Cancel, verify this card
was not created
- Description
-
- valid description
- verify there is no invalid description
- Verify the placement of the List in Address Book Window
- Creating a List while a mailing list is selected in the Directory pane=the new list will appear in the Directory pane (in alphabetical order) under the Address Book where the currently selected list is located (even though it is a sub-list). It will also show in the Results pane as part of the content for the selected list .
- Creating a List when an address book is selected=the new list will appear under the address book that it was created in and in the Results pane
- Verify order of names on list can be changed using the Up and Down arrow. Verify this order is save after closing the application and reopening it.
- Verify a message addressed to a list, sends the message with the names in the addressing field in the order as they appear on the list.
- Editing a List
- Verify that from the Directory and Results pane you can select and edit a list by clicking the Edit button on the toolbar
- Verify Edit and OK works and it is saved.
- Verify Edit and Cancel works and it doesn't save the changes
- Verify layout of a New List
- New Msg:
- Verify that when click on New Msg, it brings up a Compose
window that contains a
- populated email address in the To field if email address is selected.
- populated mail list in the To field if mail list is selected.
- Verify that when click on New Msg, it brings up a Compose
window that contains a
- Moving Cards and Lists
- Verify that you can drag and drop from pane to pane (see Drag and Drop section above)
- Verify that you can drag and drop to/from Address Book (see Drag and Drop section above)
- Verify that you can drag and drop a person's name from a Directory to an Address Book (see Drag and Drop section above)
- Deleting Cards and Lists
- Verify you can delete a Card in top level of an Address
Book using the following, verifying the card is removed from
the Address Book. Cards are only listed in the Results pane.
- Menu item (Edit/Delete Card) single selection
- Menu item (Edit/Delete) multiple selections
- Toolbar Delete button
- Accelerator Key
- Mnemonic
- Delete a Card on a mailing list using the following:
- verify the card is removed only from the selected
mailing list. (Note: if user upgraded or imported from
4.5x, cards will be in both the Address Book and lists as
they were in 4.5x. However, unlike 4.5x when cards are
deleted from lists using 5.0 they are not going to be
deleted from the Address Book too.) Cards are only listed
in the Results pane.
- Menu item (Edit/Delete) single selection
- Menu item (Edit/Delete) multiple selections
- Toolbar Delete button
- Accelerator Key
- Mnemonic
- verify the card is removed only from the selected
mailing list. (Note: if user upgraded or imported from
4.5x, cards will be in both the Address Book and lists as
they were in 4.5x. However, unlike 4.5x when cards are
deleted from lists using 5.0 they are not going to be
deleted from the Address Book too.) Cards are only listed
in the Results pane.
- Deleting a List from the Directory pane:
- Menu item (Edit/Delete) single selection
- Menu item (Edit/Delete) multiple selections
- Toolbar Delete button
- Accelerator Key
- Mnemonic
- Deleting a List from an Address Book that is displayed in
the Results pane:
- Menu item (Edit/Delete) single selection
- Menu item (Edit/Delete) multiple selections
- Toolbar Delete button
- Accelerator Key
- Mnemonic
- Deleting a List from the Results pane when it is the child
of a selected lists in the Directory pane using:
- Menu item (Edit/Delete) single selection
- Menu item (Edit/Delete) multiple selections
- Toolbar Delete button
- Accelerator Key
- Mnemonic
- Verify you can delete a Card in top level of an Address
Book using the following, verifying the card is removed from
the Address Book. Cards are only listed in the Results pane.
- Creating and Editing Address Books (for basic information on
how to create an Address Book see link above on How to Create...)
- Create a New Address Book using File|New Address Book
- Verify the dialog title "New Address Book"
- Verify the dialog layout contains the following :
- "Name" text field
- Action buttons (OK, Cancel)
- Verify valid names (unique) are accepted
- Verify invalid names (not unique) gives a prompt "You already have an address book or directory with this name. Please enter a different name."
- Verify OK works, by typing in a unique name then clicking "OK" , new address book should be listed in left (Directory) pane.
- Verify the placement of the Address books are listed below the topmost address book or directory in left (Directory) pane.
- Verify Cancel works, by typing in a unique or non-unique name, then clicking Cancel. Valid name should not show up anyplace in Address book. Canceling an Invalid name should not remove the name that was unique to the invalid name.
- Verify Address books and Directories are reorderable.
- Editing an Address Book
- Verify you can select an address book for editing.
- Verify you can open the address book properties using: right mouse click|Properties, Edit toolbar button, Edit|Properties from menu bar and double clicking on selected address book.
- Verify valid names (same as above)
- Verify invalid names give a prompt (same as above)
- Verify OK works, by typing in a new unique name then clicking "OK" , newly named address book should be listed in left (Directory) pane in same place as before edit.
- Verify Cancel works, by typing in a unique or non-unique new name, then clicking Cancel. Address book name should not change.
- Create a New Address Book using File|New Address Book
- Deleting Address Books selected in the Directory pane using:
- Menu item
- Toolbar Delete button
- Accelerator Key
- Mnemonic
- For each of the above verify you get a prompt:
- Verify OK will delete the selected address book.
- Verify Cancel does not delete the address book or any of it's cards or mailing lists.
- Verify that you are not allowed to delete the Collected and Personal address books.
- Result pane functionality
- Verify that Result pane contains the following headings:
- Name
- Work Phone
- Organization
- ScreenName
- Verify that you can resize the column headings
- Verify that after exit and relaunch, column heading width sticks.
- Verify that you may sort each of the columns
- Verify that when you sort, the upward and downward arrow exists in the column heading.
- Verify that Result pane contains the following headings:
- Adding a New Directory using the menu item New Directory, includes: Visual layout of dialog, Offline settings and functionality of Action buttons. (this is covered in the LDAP test spec, LDAP Test Spec)
- Editing an existing Directory (this is covered in the LDAP test spec, LDAP Test Spec)
- Removing a Directory listing from Directory pane (this is covered in the LDAP test spec, LDAP Test Spec)
Gray area means feature is not available.
- Visual - Verify the Address Book as the following: