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 CarlsonReferences
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.
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 |
- BASIC: Execute a simple single search for each criteria to verify
it's engaging:
- a search which will yield at least one match
- a search which will yield multiple matches
- a search which will validly yield no matches
- Executing searches:
- 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.
- AND option selected (doesn't really make sense, but check search isn't affected by this)
- OR option selected (doesn't really make sense, but check search isn't affected by this)
- Multiple criteria
- 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
- 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
- Switching AND/OR: Verify ability to switch between logical
AND ("match all of the following") and logical OR ("match any
of the following"):
- No allowance for combination AND OR searches.
- Verify for newly entered criteria.
- Verify on criteria already specified for AND switching to OR.
- Verify on criteria already specified for OR switching to AND.
- Verify this can toggle back and forth
- AND
- Tests for TEXT FIELD values:
- Partial string match
- Special characters
- Single word search
- Multiple word search
- Really short string
- Really long string
- cut and paste from other sources into text field :
- without carriage return
- with carriage return
- with special characters
- Stop search
- Consecutive searches:
- Clear in between
- Don't Clear in between
- Close dialog while search ongoing
- 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.
- Error or adverse conditions
- No matches found
- Server is inaccesible
- No such group (group deleted)
- Group headers never downloaded -- simple no matches will result
- Connection interrupted while search in progress
- Using search results pane:
- Open single result to message window
- by double-click
- by Enter
- by Open button (Note: not implemented in 6.0, will be for next release)
- Open multiple results to separate messsage windows
- Verify Go to Folder opens group thread window for single group
- should not be available for matches in groups not subscribed
- Verify Go to Folder opens multiple groups in multiple result
selection
- should not be available for matches in groups not subscribed
- Sort search results, check each for ascending/descending order
- by Sender
- by Subject
- by Date
- by Location
-
Verify you can drag a message (Note: not
implemented - bug 66955)
- to a local folder
- to an IMAP folder
- should not be available for matches in groups not subscribed
- Verify nothing adverse happens when dragging to
areas which won't effect a drop:
- to desktop
- to open compose (attachment)
- Verify you can use File Message button to file single messages
- to a local folder
- to an IMAP folder
- should not be available for matches in groups not subscribed
- Verify you can use File Message button to file mutltiple
messages
- to a local folder
- to an IMAP folder
- should not be available for matches in groups not subscribed
- 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)
- verify unavailable for single or multiple selection
- Context menu from search results pane: (Note: not
implemented - bug 66970)
- Open message
- test on single selection
- test on multiple selection
- File message
- test on single selection
- test on multiple selection
- should not be available for matches in groups not subscribed
- 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
- Open message
- Open single result to message window
- Operations in opened search result (message window):
- Navigational commands
- Cancel message
- File
- should not be available for results located in unsubscribed groups
- Copy
- should not be available for results located in unsubscribed groups
- Save As
- should not be available for results located in unsubscribed groups
- Reply
- should not be available for results located in unsubscribed groups
- Forward
- should not be available for results located in unsubscribed groups
- Close message window when search dialog gone
- Search scope is a server
- Results in only one group
- Results in multiple groups
- Results in unsubscribed groups
- Results in one or more password access groups
- Access handling during search execution
- Access handling when accessing results
- Search secure server
- Search non-secure server
- Search irregular port server
- Search various servers
- Search scope is a newsgroup
- Search group on secure server
- Search group on non-secure server
- Search various servers
- Search password access group
- Miscellaneous/Other issues:
- ?? Offline search not implemented for news. Probably should error.