You are here: Mozilla MailNews Functional / UI Tests > Search Messages: Basic Functionality within Mail
Feature Test Spec: Mail and News Component
Mail and News Component: Search Messages: Basic Functionality within Mail
Description
General UI and news oriented searching are areas covered under separate test specs.
References
http://www.mozilla.org/mailnews/specs/
Each of the tests in this search testspec should be run against IMAP and POP mail servers.
As of 6.0, some of the displayed criteria options are not implemented or are incorrect for the server type. Many known bugs.
Noun Criteria | Verb 1 | Verb 2 | Verb 3 | Verb 4 | Object/value type |
---|---|---|---|---|---|
Sender | contains | doesn't contain | text field | ||
Subject | contains | doesn't contain | text field | ||
Date | is before | is after | is | isn't | date selector |
Priority | is higher than | is lower than | fixed values in list | ||
Status | is | isn't | fixed values in list | ||
To | contains | dosesn't contain | text field | ||
Cc | contains | dosesn't contain | text field | ||
To or Cc | contains | dosesn't contain | text field | ||
Age in days | is greater than | is less than | is | integer field |
Noun Criteria | Verb 1 | Verb 2 | Verb 3 | Verb 4 | Verb 5 | Verb 6 | Object/value type |
---|---|---|---|---|---|---|---|
Sender | contains | doesn't contain | is | isn't | begins with | ends with | text field |
Subject | contains | doesn't contain | is | isn't | begins with | ends with | text field |
Date | is | isn't | is before | is after | date selector | ||
Priority | is higher than | is lower than | is | fixed values in list | |||
Status | is | isn't | fixed values in list | ||||
To | contains | dosesn't contain | is | isn't | begins with | ends with | text field |
Cc | contains | dosesn't contain | is | isn't | begins with | ends with | text field |
To or Cc | contains | dosesn't contain | begins with | ends with | text field | ||
Age in days | is greater than | is less than | is | integer field |
- Check search is generally functioning when search applied to
- All mail folders (server folder)
- Selected folder
- Reserved mail folder
- 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 and 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
- Tests for PRIORITY values:
- sample each priority value
- search headers which have had priority value changed by filter
- Tests for STATUS values: (Note: I don't believe this is
implemented)
- sample for each status value
- search headers which have recently changed status (by filter, by actions like forwarding, replying, etc.)
- Tests for DATE selector values: (Note: No date selector widget
available, just a text field -- bug #90289/92174)
- current
- past
- month
- date
- year
- within the folder's message range
- outside the folder's message range
- future
- month
- date
- year
- within the folder's message range
- outside the folder's message range
- Tests for AGE IN DAYS values:
- 0
- small range - single digit
- medium range - double digit
- longer range - over double digit:
- 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 and will likely stay that way
for the next release.
- Results Pane
- Sorting order after a search
- Subject
- Sender
- Date
- Priority
- Location
- Delete Message
- Use "Delete" button:
- for single result selection
- for contiguous multiple result selection
- for non-contiguous multiple result selection
- for multiple result selection across different folders
-
Use the delete key on the keyboard:
(Not implemented)
- for single result selection
- for contiguous multiple result selection
- for non-contiguous multiple result selection
- for multiple result selection across different folders
-
Delete via context menu: (Note:
not implemented in 6.0 and won't be for next release - bug
66970)
- for single result selection
- for contiguous multiple result selection
- for non-contiguous multiple result selection
- for multiple result selection across different folders
- Use "Delete" button:
- File Message
- Use "File" button:
- for single result selection
- for contiguous multiple result selection
- for non-contiguous multiple result selection
- for multiple result selection across different folders
- IMAP--> IMAP (single imap account)
- online
- offline
- IMAP --> local mail
- online
- offline
- local mail --> IMAP (single account)
- online
- offline
- single POP
- online
- offline
-
Use file context menu item
(Note: not implemented in 6.0 and won't be for next release -
bug 66970)
- for single result selection
- for contiguous multiple result selection
- for non-contiguous multiple result selection
- for multiple result selection across different folders
-
Use drag and drop (Note: not
implemented in 6.0, won't be for next release - bug 66955)
- for single result selection
- for contiguous multiple result selection
- for non-contiguous multiple result selection
- for multiple result selection located in different folders
- IMAP--> IMAP (single imap account)
- online
- offline
- IMAP --> local mail
- online
- offline
- local mail --> IMAP (single account)
- online
- offline
- single POP
- online
- offline
- Use "File" button:
- Opening a message to a Message Window
- Select message and press enter
- Double click on message
- Use Open button (Note: not implemented in 6.0, is implemented for next release)
- Select a message and click on "Go to Message Folder" button,
make sure context for message is correct:
- message folder in various sort methods
- use IMAP selection
- online
- offline
- use local mail selection
- online
- offline
- use POP (single account) selection
- online
- offline
- Sorting order after a search
- Error or adverse conditions
- No matches found
- IMAP server is inaccessible
- No such mail folder (folder deleted from another machine)
- Connection interrupted while search in progress
- Offline search for IMAP mail not implemented. Probably should error.