The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

Feature Test Spec

       5.0 Project (Seamonkey)
       Mail and News Component
       Messages - Save As: File|Template

Written by: Esther Goes
Original test specs by Peter Mock & Laurel Carlson

History:
122198 Started updating spec using original Nova test specs
031999 Updating by removing "out" items, and renaming Folder Pane to Sidebar
033199 Updating scenarios
102299 Updated scenarios
111599 Updated per spec change

References:
UI Specification:  Not available yet
Other: Not available yet



Description: Test scenarios for the functionality of saving received messages as files (.txt; .html;) and as Templates for composing new messages.
 

Basic Scenarios - Saving Message - File or Template

  1. Windows from which a Mail/News message can be Saved as a File or Template
    1. 3 Pane UI
    2. Message Window
  2. How to access "Save As>" for selected News/Mail messages
    1. Menu item while in 3-Pane window or stand alone Message window
      1. File|Save As>|File  (.txt format)
      2. File|Save As>|File  (.html format)
      3. File|Save As>|Template
    2. Context menu (right mouse click on the message)
      1. Save Message..
        • verify the "Save Message" dialog comes up, you have the same choices of file formats as listed when you use the Menu item File|Save As>|File option.
  3. Number of messages that can be Saved at one time
    1. Single message
      1. File|Save As>|File  (.txt)
        • verify you can save a message as a .txt file by selecting the File type "Plain Text",  the "Save Message As" dialog accepts the location and the file name you entered, dialog closes after the save, and message is still located in the folder from which you viewed it from
        • verify the saved .txt message is saved in the correct location and it can be opened a text editor, Navigator 4.x and 5.0 browser and one other browser of choice.  The message should be displayed WYSIWYG (any headers visible in the display are saved on disk)
      2. File|Save As>|File  (.html)
        • verify you can save a message as a .html file by selecting the File type "HTML files",  the "Save Message As" dialog accepts the location and the file name you entered, dialog closes after the save, and message is still located in the folder from which you viewed it from
        • verify the saved .html message is saved in the correct location and it can be opened in Navigator 4.x and 5.0 and other browser of choice.  The message should be displayed WYSIWYG (any headers visible in the display are saved on disk)
      3. File|Save As>|Template
        • verify the message is saved in the designated Template folder (setup in the Accounts Setup panel)  and is still located in the folder from which you were viewing it.
    2. Multiple messages (continuous selection) (TBD check spec)
      1. File|Save As>|File  (.txt)
        • verify messages are all saved in a single .txt file by selecting the File type "Plain Text",  the "Save Message As" dialog accepts the location and the file name you entered, dialog closes after the save, and messages are still located in the folder from which you viewed them from
        • verify the saved .txt message is saved in the correct location and it can be opened a text editor, Navigator 4.x and 5.0 browser and one other browser of choice
        • verify if saved with the same file name as a previous save, the old messages are replaced with the new messages
      2. File|Save As>|File  (.html)
        • verify you can save a message as a .html file by selecting the File type "HTML files",  the "Save Message As" dialog accepts the location and the file name you entered, dialog closes after the save, and message is still located in the folder from which you viewed it from
        • verify the saved .html message is saved in the correct location and it can be opened in Navigator 4.x and 5.0 and one other browser of choice.  The message should be displayed as a mail message without header
        • verify if saved with the same file name as a previous save, the old messages are replaced with the new messages (unlike 4..x the new messages were appended to the file and the old messages are still there)
      3. File|Save As>|Template
        • verify all the messages are saved in the designated Template folder (setup in the Accounts Setup panel)  and all are still located in the folder from which you were viewing it.
    3. Multiple messages (non continuous selection) (TBD check spec)
      1. File|Save As>|File  (.txt)
        • Same results as listed for continuous selection
      2. File|Save As>|File  (.html)
        • Same results as listed for continuous selection
      3. File|Save As>|Template
        • verify the message is saved in the designated Template folder (setup in the Accounts Setup panel)  and is still located in the folder from which you were viewing it.
  4. Save As>  launched for messages from various folders within various Accounts (Identities). Repeat tests listed above for Single and continuous multiple messages for:
    1. POP account folders listed below and verify the results listed above
      1.  Inbox
      2.  Sent
      3.  Draft
      4.  Template
      5.  Unsent Messages
      6. User defined
    2. IMAP account folders listed below and verify the results listed above
      1.  Inbox
      2.  Sent
      3.  Draft
      4.  Template
      5. User defined
    3.  Other (TBD)
    4. News Server
      1. Selected Newsgroup
Expanded Scenarios - Saving Message - File or Template
  1. Save As>File,  a message when the number of messages in the mail folder is:
    1. No messages - verify Save As/File is disabled and does not crash
    2. 1 message in the folder -  verify the message is saved in the location selected and is still located in the original folder
    3. 51-1000 messages in the folder - verify the message is saved in the location selected and is still located in the original folder, all other messages left untouched.
  2. Save As>Template a message when the number of messages in the mail folder is:
    1. No messages - verify Save As>Template is disabled
    2. 1 message in the folder -  verify the message is saved in the location selected and is still located in the original folder
    3. 51-1000 messages in the folder - verify the message is saved in the location selected and is still located in the original folder
  3. Save As>File when (2) windows opened
    1. Open a message in a separate Mail Window and have a different message selected in Thread pane (which will display in Message Pane).
      1. Select message in Thread pane,  select Save As>File and save it.    Verify the selected message in Thread pane is the message that was saved and is the only one saved.
      2. From the stand alone Message Window, select Save As>File and save it.  Verify the message in the stand alone message window is the one that is saved and is the only one saved.
      3. Select message in Thread pane select Save As>Template and save it.    Verify the selected message in Thread pane is the message that was saved as a template and is the only one saved.
      4. From the stand alone Message Window, select Save As>Template and save it. Verify the message in the stand alone message window is the one that is saved as a template and is the only one saved.
  4. Interrupting the Save As>File of multiple messages (TBD) when the number of messages in the mail folder is:
    1. 51-1000 messages in the folder
      1. Select at least 200 msgs., File/Save As>/File, give a file name, location, OK, then press Esc button to cancel during process, verify the process stopped and did not crash.  If your systems is very fast, you may not be able to cancel before it finishes, just make sure it doesn't crash.   Check the file to see that it is readable and only some of the messages are listed (only if you successfully interrupted the process).
  5. Interrupting the Save As>Template of multiple messages (TBD) when the number of messages in the mail folder is:
    1. 51-1000 messages in the folder
      1. Select at least 200 msgs., File/Save As>/Template, then press Esc button to cancel during process, verify the process stopped and did not crash.  Verify only some of the messages were added, not all.
  6. Visual
    1. Verify there is feedback for these actions on the status/progress bar
Stress Scenarios - Saving Message - File or Template
  1. Execute a  Save As>File (using each of the formats listed above) on a mail/news message with the following:
    1.  low disk space where file is to be located - verify an OS warning, and no crash.
    2. give an invalid file name  (could be too long, using illegal characters for OS, name that is already used) - verify OS error msg pops up, and no crash.
  2. Verify you are able to Save As>File (using each of the formats listed above) a mail/news message with the following:
    1.  large message
    2. message with attachment
    3. HTML message
    4. Plain Text message
  3. Verify you are able to Save As>Template a mail/news message with the following:  verifying the message is moved to the Template folder,  the message can be opened w/attachments and message was not truncated:
    1.  large message
    2. message with attachments
    3. HTML message
    4. Plain Text message


 
Copyright © 1998-2000 The Mozilla Organization.
Last modified November 15, 1999.