You are here: Mozilla MailNews Functional / UI Tests > Find in Message
Feature Test Spec: Mail and News Component
Mail and News Component: Search Messages: Find in Message
Written by Laurel CarlsonReferences
UI Specification: None particular to this feature.
http://www.mozilla.org/mailnews/specs/
- Verify Find operations invoked from
- menu item (Note: In 6.x the find in message feature will be combined into the "Search" menu. )
- shortcut
- mnemonic menu access
- mnemonics in dialog (not implemented)
- General Find dialog properties:
- Verify the controls of the find dialog work properly:
- Find edit box
- Directional search capability: currently search backwards checkbox
- Match Case checkbox
- Find button
- Cancel button
- You should be able to move dialog around the screen, both when invoked and after a match is found.
- Verify you are able to do some basic operations to the message
when the find dialog (and its child alert or error dialogs) is
opened. These operations should not interfere with Find/Next or
Find Again. Examples:
- Save As
- Refresh
- Print the message
- Verify the controls of the find dialog work properly:
- Find dialog startup conditions
- Upon fresh session, Find dialog should have
- blank find criteria field
- default direction set to search downward
- match case not enabled
- Subsequent find in a session
- string from previous find in find criteria field
- direction set to previous find direction
- match case set to previous find setting
- Upon fresh session, Find dialog should have
- Feature disable conditions:
- Find/Find Again should be disabled when message pane is hidden in thread window.
- Find Again should be disabled if no previous find done
- Find/Find Again should be disabled when multiple messages selected
- Verify Find/Find Next is operational on single article selection:
- focus in thread pane
- focus in message/article pane
- focus in message/article window
- compose window
- Verify Find Again is operational after a previous search on single
article selection:
- focus in thread pane
- focus in message/article pane
- focus in message/article window
- compose window
- Do a Find/Find Next operation that will result in no match. Verify error handling for both.
- Find/Find Again should indicate when it has finished, can't find another instance
- Find/Find Next basic tests
- exact match
- substring match
- directional match
- case sensitive match
- correct case specified
- incorrect case specified
- upper case string
- lower case string
- mixed case
- recurring string match over multi-page article
- recurring string around punctuation
- recurring string around image
- various length strings
- single character
- word
- long string
- string wrapped in various places
- find with hyphenation
- special characters
- Tests for Find Again
- exact match
- substring match
- directional match
- case sensitive match
- correct case specified
- incorrect case specified
- upper case string
- lower case string
- mixed case
- recurring string match over multi-page article
- recurring string around punctuation
- recurring string around image
- various length strings
- single character
- word
- long string
- string wrapped in various places
- find with hyphenation
- special characters
- Contents of document displayed
- Empty document - should error/ text not found
- HTML
- Plain Text
- Varied attachments
- View inline
- View as attachment
- Secure documents
- Signed messages
- Encrypted messages
- Signed and Encrypted messages
- Message with a signature
- Message with a Vcard