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 > Mail & News: Search Messages - News

Feature Test Spec: Mail and News Component

Mail and News Component: Search Messages - News

Written by Laurel Carlson

References

UI specs page: http://www.mozilla.org/mailnews/specs/
Search UI spec: http://www.mozilla.org/mailnews/specs/search/

This testspec covers basic search functionality particular to news messages. Overall search UI and mail oriented search testcases covered in separate testspecs. Search bar in the 3-pane mail window (QuickSearch) is covered under separate UI spec and test spec.

Most of the search tests included in this spec should be run against a variety of news servers and configurations. Given the time constraints in our overall schedule, it is not anticipated that each and every testcase would be run against each and every newsgroup/server variety -- it is just not possible to do so with our given testing resources. It is more likely that a basic sampling of cases would be run against each server version/configuration.

Online News Search Criteria definition
Noun Criteria Verb 1 Verb 2 Verb 3 Verb 4 Object/value type
Sender contains is begins with ends with text field
Subject contains is begins with ends with text field
  1. BASIC: Execute a simple single search for each criteria to verify it's engaging:
    1. a search which will yield at least one match
    2. a search which will yield multiple matches
    3. a search which will validly yield no matches
  2. Executing searches:
    1. Single criteria search : Note: the And/Or function shouldn't really enable until multiple criteria lines are entered for a search. This is a current bug will likely stay that way for the next release.
      1. AND option selected (doesn't really make sense, but check search isn't affected by this)
      2. OR option selected (doesn't really make sense, but check search isn't affected by this)
    2. Multiple criteria
      1. AND
        • Sample each criteria type available
        • No result: matches on only one/some of the specified criteria
        • Search yields matches on all of the specified criteria
        • No match on either/any criteria
        • Illogical/negating AND criteria
        • two criteria search
        • three criteria search
        • four criteria search
        • five criteria search
      2. OR
        • Sample each criteria type available
        • Search yields matches on one of the specified criteria
        • Search yields matches on all of the specified criteria
        • No match on either/any criteria
        • two criteria search
        • three criteria search
        • four criteria search
        • five criteria search
      3. Switching AND/OR: Verify ability to switch between logical AND ("match all of the following") and logical OR ("match any of the following"):
        1. No allowance for combination AND OR searches.
        2. Verify for newly entered criteria.
        3. Verify on criteria already specified for AND switching to OR.
        4. Verify on criteria already specified for OR switching to AND.
        5. Verify this can toggle back and forth
    3. Tests for TEXT FIELD values:
      1. Partial string match
      2. Special characters
      3. Single word search
      4. Multiple word search
      5. Really short string
      6. Really long string
      7. cut and paste from other sources into text field :
        1. without carriage return
        2. with carriage return
        3. with special characters
    4. Stop search
    5. Consecutive searches:
      1. Clear in between
      2. Don't Clear in between
    6. Close dialog while search ongoing
  3. Error or adverse conditions
    1. No matches found
    2. Server is inaccesible
    3. No such group (group deleted)
    4. Group headers never downloaded -- simple no matches will result
    5. Connection interrupted while search in progress
  4. Using search results pane:
    1. Open single result to message window
      1. by double-click
      2. by Enter
      3. by Open button (Note: not implemented in 6.0, will be for next release)
    2. Open multiple results to separate messsage windows
    3. Verify Go to Folder opens group thread window for single group
      1. should not be available for matches in groups not subscribed
    4. Verify Go to Folder opens multiple groups in multiple result selection
      1. should not be available for matches in groups not subscribed
    5. Sort search results, check each for ascending/descending order
      1. by Sender
      2. by Subject
      3. by Date
      4. by Location
    6. Verify you can drag a message (Note: not implemented - bug 66955)
      1. to a local folder
      2. to an IMAP folder
      3. should not be available for matches in groups not subscribed
    7. Verify nothing adverse happens when dragging to areas which won't effect a drop:
      1. to desktop
      2. to open compose (attachment)
    8. Verify you can use File Message button to file single messages
      1. to a local folder
      2. to an IMAP folder
      3. should not be available for matches in groups not subscribed
    9. Verify you can use File Message button to file mutltiple messages
      1. to a local folder
      2. to an IMAP folder
      3. should not be available for matches in groups not subscribed
    10. Delete key from search result menu -- During Nova timeframe it was decided Delete/Cancel news message be avaiable only from main Edit menu item. Delete item should be unavailable. ( Note: Not implemented)
      1. verify unavailable for single or multiple selection
    11. Context menu from search results pane: (Note: not implemented - bug 66970)
      1. Open message
        • test on single selection
        • test on multiple selection
      2. File message
        • test on single selection
        • test on multiple selection
        • should not be available for matches in groups not subscribed
      3. Delete message -- During Nova timeframe it was decided Delete/Cancel news message be avaiable only from main Edit menu item. Delete context item should be unavailable or not there at all.
        • test on single selection
        • test on multiple selection
  5. Operations in opened search result (message window):
    1. Navigational commands
    2. Cancel message
    3. File
      1. should not be available for results located in unsubscribed groups
    4. Copy
      1. should not be available for results located in unsubscribed groups
    5. Save As
      1. should not be available for results located in unsubscribed groups
    6. Reply
      1. should not be available for results located in unsubscribed groups
    7. Forward
      1. should not be available for results located in unsubscribed groups
    8. Print
    9. Close message window when search dialog gone
  6. Search scope is a server
    1. Results in only one group
    2. Results in multiple groups
    3. Results in unsubscribed groups
    4. Results in one or more password access groups
      1. Access handling during search execution
      2. Access handling when accessing results
    5. Search secure server
    6. Search non-secure server
    7. Search irregular port server
    8. Search various servers
  7. Search scope is a newsgroup
    1. Search group on secure server
    2. Search group on non-secure server
    3. Search various servers
    4. Search password access group
  8. Miscellaneous/Other issues:
    1. ?? Offline search not implemented for news. Probably should error.