|
|
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
-
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...)
-
Verify the dialog title is "Directory Server Property"
-
Verify the dialog consists of the following and the layout is correct
-
"General" tab
-
"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)
-
"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)
-
"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)
-
"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)
-
"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)
-
"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.
-
"Login with name and password" check box (New feature in this location)
-
verify it holds when changed (closing dialog, then communicator)
-
verify correct action
-
"Save Password" check box (New feature in this location)
-
verify it holds when changed (closing dialog, then communicator)
-
verify correct action
-
Off-line Settings (this is covered in the Directory Replication test
spec)
-
Action buttons (verify they work correctly)
-
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.
-
Verify Cancel works by typing in information in all fields, then click
this button. Verify the directory is not added to the Address Book.
-
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.
-
Editing an existing Directory
-
Make changes to various fields in the "Directory Info" dialog and
verify they hold after closing the dialog and closing Communicator
-
Verify changes to the Description field
-
Verify changes to the LDAP Server field
-
Verify changes to the Server Root field
-
Verify changes to the Port Number field
-
Verify changes to the Maximum Number of Hits
-
Make changes to various fields in the "Directory Info" dialog and verify
they work
-
Verify changes to the Description field
-
Verify changes to the LDAP Server field
-
Verify changes to the Server Root field
-
Verify changes to the Port Number field
-
Verify changes to the Maximum Number of Hits
-
Removing selected Directory pane using:
-
Menu item
-
Toolbar button
-
Accelerator Key
-
Mnemonic
-
For each of the above verify you get a prompt:
-
"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
-
Adding Multiple directories
-
Verify you can multiple directories
-
Add sufficient number to fill the directory window to force the vertical
scroll bar to appear
-
Add a directory with the same description name as another directory
-
Add a directory with the same LDAP Server name as another directory
-
Add a directory with the same server root as another directory
-
Add a directory with all the same information
-
Verify you can add up to 20 directories (total number of directories is
yet to be determine)
-
Adding Bogus or fictitious directories
-
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
-
Verify you receive a error/no error message when adding a new server
with incomplete information
-
blank Description
-
blank LDAP Server
-
blank Server Root
-
blank Port number
-
blank Maximum Number of Hits
-
Reordering directories
-
Verify you can reorder the directory list by dragging it to a new position
-
To the top of the list
-
To the middle of the list
-
To the end of the list
-
Verify you can select and move multiple directories at once
-
To the top of the list
-
To the middle of the list
-
To the end of the list
-
Deleting multiple directories
-
Verify you can select and remove multiple directories at once
-
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?"
-
Verify you receive a dialog prompt for each directory you have highlighted
-
Verify you can cancel the delete operation of one directory and continue
deleting the other directories
-
Verify that the deleted directories have been removed from the Directories
pane
-
Verify you can delete directories using the following methods
-
Menu item
-
Toolbar button
-
Accelerator Key
-
Mnemonic
-
For each of the above verify you get a prompt:
-
"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)
-
Browsing VLV (Virtual) Directories (this test covered under Finding
Addresses in Address
Book)
-
Searching non-VLV Directories
-
Verify the type down text field does not begin until some interval (mission
control setting)
-
Verify a short list (fits within pane) does not display a scroll bar
-
Verify a long list (doesn't fit inside the pane) displays a scroll bar
-
Verify for a long list, the results will display to fill the pane, and
scrolling will cause additional queries to display the remaining results
-
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)
-
Adding names into Personal Address Book. Use the Netscape Phone Book
-
Perform a directory query that produces an unique search and add it to
your Personal Address Book. Expected result: Verify the address was
added.
-
Drag match to your Personal Address Book.
-
Expand the Personal Address Book to expose a mailing list. Drag the
address to the mailing list icon.
-
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.
-
Drag multiple matches to your Personal Address Book.
-
Expand the Personal Address Book to expose a mailing list. Select
multiples addresses and drag it to the mailing list icon
-
Perform negative tests
-
Try to drag the an address from the Netscape Phone Book to another directory
to verify you receive a no drag icon
-
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
-
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
-
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
-
Ordering the addresses
-
Click on the column heading to sort the list by ascending order
-
Name
-
Email
-
Organization
-
Phone Number
-
City
-
Nickname
-
Repeat the section above. Close and reopen the Address Book. Verify
the order is retained
-
Click on the column heading to sort the list by descending order
-
Name
-
Email
-
Organization
-
Phone Number
-
City
-
Nickname
-
Repeat the section above. Close and reopen the Address Book. Verify
the order is retained
-
Changing the order of the column
-
Move the Name column to a new position
-
Move the Email column to a new position
-
Move the Organization column to a new position
-
Move the Phone Number column to a new position
-
Move the Nickname column to a new position
-
Repeat the section above. Close and reopen the Address Book. Verify
the order is retained
-
Viewing the address
-
Double click on a address to open it. Verify you can view its attributes
-
Verify it contains the following attributes (from Netscape Phone Book)
-
mailhost
-
Last Name
-
Employee Type
-
mailalternateaddress
-
Object Class
-
loginshell
-
First Name
-
gidnumber
-
maildeliveryoption
-
uid
-
Email
-
uidnumber
-
Name
-
homedirectory
-
Close the user attribute window
|