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 > Find in Message

Feature Test Spec: Mail and News Component

Mail and News Component: Search Messages: Find in Message

Written by Laurel Carlson

References

UI Specification: None particular to this feature.
http://www.mozilla.org/mailnews/specs/

  1. Verify Find operations invoked from
    1. menu item (Note: In 6.x the find in message feature will be combined into the "Search" menu. )
    2. shortcut
    3. mnemonic menu access
    4. mnemonics in dialog (not implemented)
  2. General Find dialog properties:
    1. Verify the controls of the find dialog work properly:
      1. Find edit box
      2. Directional search capability: currently search backwards checkbox
      3. Match Case checkbox
      4. Find button
      5. Cancel button
    2. You should be able to move dialog around the screen, both when invoked and after a match is found.
    3. 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:
      1. Save As
      2. Refresh
      3. Print the message
  3. Find dialog startup conditions
    1. Upon fresh session, Find dialog should have
      1. blank find criteria field
      2. default direction set to search downward
      3. match case not enabled
    2. Subsequent find in a session
      1. string from previous find in find criteria field
      2. direction set to previous find direction
      3. match case set to previous find setting
  4. Feature disable conditions:
    1. Find/Find Again should be disabled when message pane is hidden in thread window.
    2. Find Again should be disabled if no previous find done
    3. Find/Find Again should be disabled when multiple messages selected
  5. Verify Find/Find Next is operational on single article selection:
    1. focus in thread pane
    2. focus in message/article pane
    3. focus in message/article window
    4. compose window
  6. Verify Find Again is operational after a previous search on single article selection:
    1. focus in thread pane
    2. focus in message/article pane
    3. focus in message/article window
    4. compose window
  7. Do a Find/Find Next operation that will result in no match. Verify error handling for both.
  8. Find/Find Again should indicate when it has finished, can't find another instance
  9. Find/Find Next basic tests
    1. exact match
    2. substring match
    3. directional match
    4. case sensitive match
      1. correct case specified
      2. incorrect case specified
      3. upper case string
      4. lower case string
      5. mixed case
    5. recurring string match over multi-page article
    6. recurring string around punctuation
    7. recurring string around image
    8. various length strings
      1. single character
      2. word
      3. long string
    9. string wrapped in various places
    10. find with hyphenation
    11. special characters
  10. Tests for Find Again
    1. exact match
    2. substring match
    3. directional match
    4. case sensitive match
      1. correct case specified
      2. incorrect case specified
      3. upper case string
      4. lower case string
      5. mixed case
    5. recurring string match over multi-page article
    6. recurring string around punctuation
    7. recurring string around image
    8. various length strings
      1. single character
      2. word
      3. long string
    9. string wrapped in various places
    10. find with hyphenation
    11. special characters
  11. Contents of document displayed
    1. Empty document - should error/ text not found
    2. HTML
    3. Plain Text
    4. Varied attachments
      1. View inline
      2. View as attachment
    5. Secure documents
      1. Signed messages
      2. Encrypted messages
      3. Signed and Encrypted messages
    6. Message with a signature
    7. Message with a Vcard