The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

Feature Test Spec

5.0 Project (seamonkey)
Mail and News Component
LDAP

Written by: Peter Mock

History:

122198    Created document.  This test spec is to cover LDAP specific features not covered in the Address Book test spec.
010599    Adding additional test cases.
012599    Adding additional test cases.

References:
UI Specification:  Address Book UI
Other: Customizing LDAP Setting For Communicator 4.5



* For non LDAP tests, refer to the mail address book test spec found here.

Managing LDAP

  1. Adding a New Directory using the menu item New Directory (for basic information on how to add a new Directory see link above on How to Create...)
    1. Verify the dialog title is "Directory Server Property"
    2. Verify the dialog consists of the following and the layout  is correct
    3. "General" tab
      1. "Description:" text box
        • verify you can enter any character or combination of characters in this text box
        • verify the name is saved when closing the dialog (note: you must enter data in both Description and LDAP Server text boxes for the New directory to be accepted)
      2. "LDAP Server:" text box
        • verify you can enter any character or combination of characters in this text box
        • verify the name is saved when closing the dialog (note: you must enter data in both Description and LDAP Server text boxes for the New directory to be accepted)
      3. "Search Root:" text box
        • verify you can enter any character or combination of characters in this text box
        • verify the name is saved when closing the dialog (note: you must enter data in both Description and LDAP Server text boxes for the New directory to be accepted)
      4. "Port Number:" text box
        • verify a valid port works (numeric digits -unlimited)
        • invalid port number does not crash (non numeric digits), gives proper error message "Please give numeric digits only"
        • verify the digit is saved when closing the dialog (note: you must enter data in both Description and LDAP Server text boxes for the New directory to be accepted)
      5. "Maximum Number of Hits:" text box
        • verify correct action for the numeric entry.  You receive a status message stating "Too many entries found.  Please enter more search criteria." if you have entered a number lower than the expected results.  Example, enter a number like "5" and search on a name like "Mary".
        • verify the digit is saved when closing the dialog (note: you must enter data in both Description and LDAP Server text boxes for the New directory to be accepted)
      6. "Secure" check box
        • verify it holds when changed (closing dialog, then communicator)
        • verify the port number automatically changes to the secure port number
        • verify that a search is started.  If the server supports a secure port you will get results.  If the server doesn't support a secure server, you will get an LDAP error "Failed to bind..."
        • verify the Secure icon (padlock) in the bottom left hand corner, changes from unlocked to locked.
      7. "Login with name and password" check box (New feature in this location)
        • verify it holds when changed (closing dialog, then communicator)
        • verify correct action
      8. "Save Password" check box (New feature in this location)
        • verify it holds when changed (closing dialog, then communicator)
        • verify correct action
    4. Off-line Settings  (this is covered in the Directory Replication test spec)
    5. Action buttons  (verify they work correctly)
      1. Verify Help works by clicking this button while the "Directory Server Property" dialog is up.  This should bring up the NetHelp window with the location for adding directories in the right frame.
      2. Verify Cancel works by typing in information in all fields, then click this button.  Verify the directory is not added to the Address Book.
      3. Verify OK works by adding information for a new directory, then click this button.  Verify the directory is added to the Address Book and is located in the left  (Directory) pane.
  2. Editing an existing Directory
    1. Make changes to various fields in the "Directory Info" dialog  and verify they hold after closing the dialog and closing Communicator
      1. Verify changes to the Description field
      2. Verify changes to the LDAP Server field
      3. Verify changes to the Server Root field
      4. Verify changes to the Port Number field
      5. Verify changes to the Maximum Number of Hits
    2. Make changes to various fields in the "Directory Info" dialog and verify they work
      1. Verify changes to the Description field
      2. Verify changes to the LDAP Server field
      3. Verify changes to the Server Root field
      4. Verify changes to the Port Number field
      5. Verify changes to the Maximum Number of Hits
  3. Removing selected Directory pane using:
    1. Menu item
    2. Toolbar button
    3. Accelerator Key
    4. Mnemonic
    5. For each of the above verify you get a prompt:
      1. "Deleting "directory name" will remove this directory.  Are you sure you still want to delete this directory."
        • Verify OK will remove the selected directory
        • Verify Cancel does not remove the directory


Managing Directories

  1. Adding Multiple directories
    1. Verify you can multiple directories
      1. Add sufficient number to fill the directory window to force the vertical scroll bar to appear
      2. Add a directory with the same description name as another directory
      3. Add a directory with the same LDAP Server name as another directory
      4. Add a directory with the same server root as another directory
      5. Add a directory with all the same information
    2. Verify you can add up to 20 directories (total number of directories is yet to be determine)
  2. Adding Bogus or fictitious directories
    1. Verify you receive an error message such as "Failed to bind to 'xyz directory' due to LDAP error 'Can't connect to the LDAP server' (0x5B)" if the directory server is fictitious
    2. Verify you receive a error/no error  message when adding a new server with incomplete information
      1. blank Description
      2. blank LDAP Server
      3. blank Server Root
      4. blank Port number
      5. blank Maximum Number of Hits
  3. Reordering directories
    1. Verify you can reorder the directory list by dragging it to a new position
      1. To the top of the list
      2. To the middle of the list
      3. To the end of the list
    2. Verify you can select and move multiple directories at once
      1. To the top of the list
      2. To the middle of the list
      3. To the end of the list
  4. Deleting multiple directories
    1. Verify you can select and remove multiple directories at once
      1. Verify you receive a dialog prompt asking for confirmation.  The dialog may read, "Deleting 'xyz directory' will remove this directory. Are you sure you still want to delete this directory?"
      2. Verify you receive a dialog prompt for each directory you have highlighted
      3. Verify you can cancel the delete operation of one directory and continue deleting the other directories
      4. Verify that the deleted directories have been removed from the Directories pane
    2. Verify you can delete directories using the following methods
      1. Menu item
      2. Toolbar button
      3. Accelerator Key
      4. Mnemonic
      5. For each of the above verify you get a prompt:
        1. "Deleting "directory name" will remove this directory.  Are you sure you still want to delete this directory."
          • Verify OK will remove the selected directory
          • Verify Cancel does not remove the directory


Finding Addresses (Searching)

  1. Browsing VLV (Virtual)  Directories (this test covered under Finding Addresses in  Address Book)
  2. Searching non-VLV Directories
    1. Verify the type down text field does not begin until some interval (mission control setting)
    2. Verify a short list (fits within pane) does not display a scroll bar
    3. Verify a long list (doesn't fit inside the pane) displays a scroll bar
    4. Verify for a long list, the results will display to fill the pane, and scrolling will cause additional queries to display the remaining results
    5. Verify you can perform a limited type down searches of a List in results pane (limited means typing a single character starts a new search based on the single character, it is not based on a string of characters like searches from the text box)
  3. Adding names into Personal Address Book.  Use the Netscape Phone Book
    1. Perform a directory query that produces an unique search and add it to your Personal Address Book.  Expected result: Verify the address was added.
      1. Drag match to your Personal Address Book.
      2. Expand the Personal Address Book to expose a mailing list.  Drag the address to the mailing list icon.
    2. Perform a directory query that produces multiple results and add the addresses to your Personal Address Book.  Expected result: Verify the address(s) was added.
      1. Drag multiple matches to your Personal Address Book.
      2. Expand the Personal Address Book to expose a mailing list.  Select multiples addresses and drag it to the mailing list icon
    3. Perform negative tests
      1. Try to drag the an address from the Netscape Phone Book to another directory to verify you receive a no drag icon
      2. Try to drag an address card from your Personal Address Book to the Netscape Phone book to verify that you receive a no drag icon
      3. Select the Netscape Phone Book in the Directory pane and try to drag it to the address pane to verify that you receive a no drag icon
      4. Select the Netscape Phone Book in the Directory pane and try to drag it to the search criteria pane to verify that you receive a no drag icon
  4. Ordering the addresses
    1. Click on the column heading to sort the list by ascending order
      1. Name
      2. Email
      3. Organization
      4. Phone Number
      5. City
      6. Nickname
    2. Repeat the section above. Close and reopen the Address Book.  Verify the order is retained
    3. Click on the column heading to sort the list by descending order
      1. Name
      2. Email
      3. Organization
      4. Phone Number
      5. City
      6. Nickname
    4. Repeat the section above. Close and reopen the Address Book.  Verify the order is retained
    5. Changing the order of the column
      1. Move the Name column to a new position
      2. Move the Email column to a new position
      3. Move the Organization column to a new position
      4. Move the Phone Number column to a new position
      5. Move the Nickname column to a new position
    6. Repeat the section above. Close and reopen the Address Book.  Verify the order is retained
  5. Viewing the address
    1. Double click on a address to open it.  Verify you can view its attributes
    2. Verify it contains the following attributes (from Netscape Phone Book)
      1. mailhost
      2. Last Name
      3. Employee Type
      4. mailalternateaddress
      5. Object Class
      6. loginshell
      7. First Name
      8. gidnumber
      9. maildeliveryoption
      10. uid
      11. Email
      12. uidnumber
      13. Name
      14. homedirectory
    3. Close the user attribute window
Copyright © 1998-2000 The Mozilla Organization.
Last modified January 17, 2000.