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.



 
 

Test Cases for Basic Mail/News Functionality

 


Updated by:  kasumi@netscape.com

 
 
 
  Document Outline


 
 
Setup and Deployment
  • Test machine with clean OS recommended.

 
Platform Combinations

Platforms:

  • PC, Linux and Macintosh

Operating Systems:

  • Windows 95OSR2, 98SE, Me, NT4.0+SP6a, 2000 Pro+SP2, XP Pro, XP Home
  • Red Hat 6.2, 7.1, 7.2
  • MacOS 9.1, 9.2, X

 
Test Cases

Intl. Date/Time format

 
Test Case # Objective Steps To Perform Expected Results Comments
DTformat01 Imperial date format on Japanese Windows system only. 1. Open Control Panel > Regional Setting.
2. Change calendar type to imperial (wareki).
3. Change short date format to long date format, e.g. "gg yy'年'MM'月'dd'日' dddd" in Windows, click Apply button.
4. Look at dates in the date column of mail window.
The date format can be changed to imperial style.  
DTformat02 Date/Time format in email summary box 1. Open some existing messages that sent with different locales.
2. Verify Date/Time format in email summary box.
The Date/Time format macth the locale request.  
DTformat03 Date/Time format in email title box 1. Open some existing messages that sent with different locales.
2. Verify Date/Time format in email title box.
The Date/Time format macth the locale request.  

Delete messages

 
Test Case # Objective Steps To Perform Expected Results Comments
DeleteMessage01 Delete message from Menu bar 1. Select a non-ascii email, go to Edit > Delete Message.
2. Verify Delete function.
The non-ascii email can be deleted properly.  
DeleteMessage02 Delete message from Tool bar 1. Select a non-ascii email, click Delete button in Tool bar.
2. Verify Delete function.
The non-ascii email can be deleted properly.  
DeleteMessage03 Delete message from pop-up menu 1. Select a non-ascii email, click right button of mouse, select Delete.
2. Verify Delete function.
The non-ascii email can be deleted properly.  
DeleteMessage04 Delete Option 1. Set When I delete a message to "Move it the Trash folder" in Mail & Newsgroups Account Setting/Server Settings
2. Excute DeleteMessage01, 02 and 03
3. Set When I delete a message to "Make it as deleted" in Mail & Newsgroups Account Setting/Server Settings
4. Excute DeleteMessage01, 02 and 03
5. Set When I delete a message to "Remove it immidiately" in Mail & Newsgroups Account Setting/Server Settings
6. Excute DeleteMessage01, 02 and 03
Same result as DeleteMessage01, DeleteMessage02, DeleteMessage03

Reply messages

You may need to test these testcases to the following type messages.
 . HTML/Plain text
 . Single part
 
Test Case # Objective Steps To Perform Expected Results Comments
ReplyMessage01 Reply message from Menu bar 1. Select a non-ascii email, go to Message > Reply.
2. Select a non-ascii email, go to Message > Reply to All.
3. Select a non-ascii newsgroup, go to Message > Reply to Newsgroup.
4. Verify Reply function.
The original non-ascii email can be picked up into Composer properly.  
ReplyMessage02 Reply message from Tool bar 1. Select a non-ascii email, click Reply button in Tool bar.
2. Select a non-ascii email, click Reply All button in Tool bar.
3. Select a non-ascii newsgroup, go to Message > Reply to Newsgroup.
4. Verify Reply function.
The original non-ascii email can be picked up into Composer properly.  
ReplyMessage03 Reply message from pop-up menu 1. Select a non-ascii email, click right button of mouse, select Reply to Sender Only.
2. Select a non-ascii email, click right button of mouse, select Reply to All.
3. Select a non-ascii newsgroup, go to Message > Reply to Newsgroup.
4. Verify Reply function.
The original non-ascii email can be picked up into Composer properly.  
ReplyMessage04 Replied  messages 1. Sent the non-ascii emails using above reply methods.
2. Verify replied messages.
The replied non-ascii messages can be received and displayed properly.  
ReplyMessage05 Reply quoted message 1. Uncheck "Automatically quote the original message when replying" in Preferences/Mail & Newsgroup.
2. Excute ReplyMessage01, 02, 03, 04.
3. Check  "Automatically quote the original message when replying" and select Then to  "start my reply above the quoted text".
4. Excute ReplyMessage01, 02, 03, 04.
5.  Check  "Automatically quote the original message when replying" and select Then to  "start my reply below the quoted text".
6. Excute ReplyMessage01, 02, 03, 04.
7. Check  "Automatically quote the original message when replying" and select Then to  "select quoted text" . 
8. Excute ReplyMessage01, 02, 03, 04.
The replied non-ascii messages can be received and displayed properly.
ReplyMessages06 Reply charset refrection 1. Select a ascii message, go to Message > Reply.
2. Type and add any non-ascii characters onto body
3. Select corresponding/incorrect character coding from View/ Character Coding 
4. Click Send or select file/Send now 
5. Select a ascii message, go to Message > Reply to All.
6. Type and add any non-ascii characters onto body
7. Select corresponding/incorrect character coding from View/ Character Coding 
8. Click Send or select File/Send now 
9. Excute ReplyMessage02, 03 
For having  incorrect character coding, Confirm message is popped up.
If click Cancel, Send Message Error is popped up. 

The replied non-ascii characters can be received and displayed properly.

 


Send later

 
Test Case # Objective Steps To Perform Expected Results Comments
SendLater01 Send later in Menu bar 1. Compose a non-ascii message with subject, 
attached file name, attached file,  inserted link name,table contents, anchor name, HTML, caracters&marks. 
2. Select View > Character Coding  appropriate character coding from menu 
3. Select File > Send Later *
The non-ascii message shouldn't be sent and it can be moved into Local Folder/Unsent Message folder properly.

* Non-ascii subjects are display properly. 
* Non-ascii characters in body of message are display properly. 
* Non-ascii attached file name is displayed properly.
* Non-ascii inserted link, table, anchor name, HTML, chacters & marks are displayed properly.

 
SendLater02 Send later Messages 1. Compose a non-ascii message with non-ascii subject, non-ascii Sender, non-ascii recipiant 
2. Select File > Send Later 
3. Click OK button *
4. Repeat step 1. and 2.
5. Click Cancel button ** then back to Compose window
4. Select View > Character Coding  appropriate character coding from menu 
5. Select File > Send Later again *** 
* Confirm message is popped up no matter with Fomat is text only or HTML 
* The non-ascii message shouldn't be sent and it can be moved  into Local Folder/Unsent Message folder. When specify font to HTML, message is saved in us-ascii and Non-ascii character(s) is saved in NCR.

** Confirm message is popped up no matter with Fomat is text only or HTML. 
** Send Later Error message is popped up. 

*** Confirm and Send Later error messages are no longer popped up

Send later, results are the same as Offline06.

Send page and Send link

 
Test Case # Objective Steps To Perform Expected Results Comments
SendPageLink01 Send page from Menu bar 1. Launch browser, open a homepage having non-ascii title and non-ascii URL including non-ascii file name, go to File > Send Page.* * The homepage link can be picked up into Composer properly.
Non-ascii title is displayed in Subject field and Window title in  Compose window properly.
URL having non-ascii is diaplayed in Body in  Compose window properly.
Non-ascii file name is displayed in Attachments area in Compose window properly. 
After sending, Subject, the homepage link and the homepage contents can be displayed in mail properly.
 
SendPageLink02 Send link from Menu bar 1. Launch browser, open a homepage, go to File > Send Link.
2. Verify Send Link function.
The homepage link can be picked up into Composer properly, after sending, the homepage link can be seen in email.  

mailto URL send

 
Test Case # Objective Steps To Perform Expected Results Comments
MailtoURL01 Send message with mailto URL 1. Create a non-ascii name with a mailto URL in a homepage.
2. Open this homepage with the browser, and click the non-ascii name created in step 1.
3. Verify mailto URL send function.
The email address can be picked up into Composer properly.  
MailtoURL02 Send message with mailto Shift-JIS URL
ISO-8859-1 URL
ISO-8859-1 with encoded link

1. To test, Click here
2  To test,  Click here
3. To test, Click here
Non-ascii characters in Subject and Body
are displayed in Compose window and in received mail properly.

Bookmark message

 
Test Case # Objective Steps To Perform Expected Results Comments
BookmarkMessage01 Send bookmark message 1. Create a bookmark with a non-ascii name.
2. Open Bookmarks > Manage Bookmarks.
3. Select the non-ascii bookmark, go to File > Send Link.
4. Verify the functions.
The bookmark link can be picked up into Composer properly, after sending, the bookmark link can be seen in email.  

Mark message status

 
Test Case # Objective Steps To Perform Expected Results Comments
MarkMessage01 Mark as unread 1. Select an opened non-ascii email, go to Message > Mark , uncheck As Read.
2. Select an opened non-ascii email, click Unread dot to change it as green color in summary box.
The non-ascii email can be marked as unread, the folder name can be bold, the email counter can be +1.  
MarkMessage02 Mark as flagged 1. Select a new non-ascii email, go to Message > Mark , check Flag.
2. Select a new non-ascii email, click Flag dot to change it as flag mark in summary box.
The non-ascii email can be marked as flagged.  

Go to Unread, Flagged messages

 
Test Case # Objective Steps To Perform Expected Results Comments
GoToMessage01 Go to unread messages 1. Mark 3 non-ascii emails as unread, select 2nd email. 
2. Go to Go > Next > Unread Message from Menu bar.
3. Go to Go > Previous > Unread Message from Menu bar.
The next or previous unread non-ascii message can be selected.  
GoToMessage02 Go to flagged messages 1. Mark 3 non-ascii emails as flagged, select 2nd email. 
2. Go to Go > Next > Flagged Message from Menu bar.
3. Go to Go > Previous > Flagged Message from Menu bar.
The next or previous flagged non-ascii message can be selected.  

Read message

 
Test Case # Objective Steps To Perform Expected Results Comments
ReadMessage01 Read non-ascii characters in multi-part of message on 3-pane window,such as subject, sender, date, attachment file name, attachment path, message body. 1. Click an unread non-ascii email in the 3-pane window.
2. Verify the email contents displayed in the 3-pane  window.
All non-ascii characters are displayed properly.  
ReadMessage02 Read non-ascii characters in multi-part of message on mail window,such as window title and message body. 1.Double click and open an unread non-ascii email. 
2. Verify the email contents displayed in the mail window.
All non-ascii characters are displayed properly.  

Mail notification

 
Test Case # Objective Steps To Perform Expected Results Comments
MailNotification01 Mail notification 1. Sned a non-ascii email to yourself.
2. Verify the email notifications and hint.
1. The notification mark can be displayed properly in Windows tray, when put cursor on it, the hint text should be displayed properly.
2. The arrow notification mark can be displayed properly on Inbox folder mark.
 

Save As... Messages

 
Test Case # Objective Steps To Perform Expected Results Comments
SaveAs01 Save new message as file 1. Open a new message.
2. Use non-ascii characters for recipient email address, subject, message body and atttachment.
3. Go to File > Save As > File, save message as a .eml file with non-ascii name, close the message. 
4. Open the .eml file.
5. Send and receive the message.
1. The non-ascii contents display correctly when .eml file is opened.
2. The message can be sent properly.
 
SaveAs02 Save new message as draft(default) and user defined  1. Open a new message.
2. Use non-ascii characters for recipient email address, subject, message body and atttachment.
3. Go to File > Save As > Draft, save message as draft.
4. Close message, then go to drafts folder and open it.
5. Send this message.
6. Create a folder having non-ASCII name 
7. Repeat step2
8. Go to file > Save As > Draft, save message as to user defined folder which is created in step 6.*
9.Repeat step4 and 5.  **
1. The non-ascii contents of draft folder message and user defined draft folder display correctly. 
2. The message can be sent properly.
* Same result as  Offline06
** Save as function works as the same as default Draft folder.
 
SaveAs03 Save new message as template 1. Open a new message.
2. Use non-ascii characters for recipient email address, subject and message body.
3. Go to File > Save As > Template, save message as template.
4. Close the message, then open template.
5. Send this message.
6. Create a folder having non-ASCII name 
7. Repeat step2
8. Go to file > Save As > Template, save message as to user defined folder which is created in step 6.*
9.Repeat step4 and 5.  **

1. The non-ascii contents of template folder message and user defined template folder display correctly. 
2. The message can be sent properly.
 * Same result as Offline06
** Save as function works as the same as default Draft folder.
 
SaveAs04 Save new messages in specific file format 1. Compose a new message and save it in text files, HTML files and Mail files(*.eml)
2. Excute SaveAs01, SaveAs02 and SaveAs03
1. Same result asSaveAs01, SaveAs02and SaveAs03

Get messages

 
Test Case # Objective Steps To Perform Expected Results Comments
GetMessage01 Get Msg from non-ascii account name 1. Create a mail account with an account name using non-ascii characters. 
2. Click the arrow on the Get Msg button.
The non-ascii name displays correctly in the Get Msg menu.  
GetMessage02 Account login: entering password 1. Turn on IME.
2. Invoke the account login password dialog.
3. Enter password and login.
IME is disabled for password edit field.  
GetMessage03 Account login: switching input locales 1. Invoke the account login password dialog.
2. Change the input locale by toggling with keyboard shortcut keys and by using the mouse to select from the input locale menu.
1. Input locale can be changed via keyboard shortcut toggle keys. 
2. Input locale can be changed via input locale menu with the mouse.
 

Send message

 
Test Case # Objective Steps To Perform Expected Results Comments
SendMessage01 Send message with the attachment (Plain text/Rich text(HTML)) including non-ascii characters which is named with the sensitive non-ascii characters, e.g. 0x7C trail byte 1. Create an attachment file including non-ascii name containing 0x7C trail byte.
2. Attach file to message and send.
The message can be sent properly.  
SendMessage02 Send message including non-ascii characters in different format(Plain text/Rich text(HTML)) format 1. Compose a message including non-ascii characters in Plain text/Rich text(HTML) format
2. Send.
The message can be sent properly.
SendMessage03 Send message with signiture file including non-ascii characters 1. Create a signuture file including non-ascii characters to signiture, file name and folder name.  The message can be sent properly.
SendMessage04 Message character coding setting 1. Create a new message, make a character coding selection.
2. Send message with non-ascii characters for coding selection.
3. Open recieved message.
The character coding setting for received message is the same as the message sent.  
SendMessages05 Warning/Error Messages 1. Compose a message including non-ascii characters in header(Sender,Recipient,Subject) 
2. Send.
3. Verify warning/error messages
4. Specify corresponding character coding.
5. Send.*
The result is the same as Offline06.
* Warning/error messages are no longer displayed.

Sort messages

 
Test Case # Objective Steps To Perform Expected Results Comments
SortMessage01 Sort messages by subject including Japanese characters 1. Prepare several messages, each with subjects with beginning from half and full width alphanumeric and kana characters, hiragana and kanji.
2. Send the messages.
3. Sort the received messages by subject, in ascending and descending order.
The messages are sorted properly according to Japanese sorting rules.  
SortMessage02 Sort messages by imperial style date 1. Open Control Panel > Regional Setting.
2. Change calendar type to imperial (wareki).
3. Change short date format to long date format, e.g. "gg yy'年'MM'月'dd'日' dddd" in Windows, click Apply button.
4. Sort messages in the mail window by date, in ascending and descending order.
The messages are sorted properly by date.  
SortMessage03 Sort messages by sender including non-ascii characters  1. Prepare several messages, each with sender having non-ascii characters.
2. Send the messages.
3. Sort the received messages by sender, in ascending and descending order.
The messages are sorted properly by sender.

Move/Copy

 
Test Case # Objective Steps To Perform Expected Results Comments
MoveCopy01 Move/copy to non-ascii folders 1. Drag and drop or use message menu to move and copy message and folders to the non-ascii folders. The message and folders can be moved and copied properly.  
MoveCopy02 Character coding retaining 1. Check the character coding property of the new folder, make sure the checkbox "Apply default to all messages" is not checked.
2. Move or copy a message to a folder with a character coding different from the message/folder being copied there. 
The message can be copied or moved to a folder, and retain their character coding.  
MoveCopy03 Character coding changing 1. Check character coding for a folder's properties and make sure the checkbox "Apply default to all messages" is checked.
2. Move or copy a message to a folder with a character coding different from the message/folder being copied there. 
3. Open the copied/moved message and check the character coding.
The character coding of message copied or moved inherits from destination folder's character coding.   
MoveCopy04 Move/copy to different account(IMAP, POP both)  1. Excute MoveCopy01, 02, 03 targeting folder(s) are located in different account. Same as MoveCopy01, 02, 03.

Printing

 
Test Case # Objective Steps To Perform Expected Results Comments
Printing01 Printing message with various character codings 1. Send messages to the client which use various character coding selections (e.g. EUC-JP, Shift-JIS, JIS, ISO-2022-JP, and UTF-8 for Japanese data) and non-ascii characters in message subject and body.
2. Print each received message.
All non-ascii data can be printed correctly.  
Printing02 Printing with imperial date format 1. Open Control Panel > Regional Setting. 
2. Change calendar type to imperial (wareki).
3. Change short date format to long date format, e.g. "gg yy'年'MM'月'dd'日' dddd" in Windows, click Apply button.
4. Open any message.
5. Print.
The imperial date format is printed correctly at the bottom of the page.  
Printing03 Printing header including non-ascii characters 1. Open a message including non-ascii character(s) in All header
2. Print.
All non-ascii characters can be printed correctly.

Forward message

You may need to test these testcases to the following messages.
   . Multi-part in Rich text(HTML) format message
   . Multi-part in Plain text format message
 
Test Case # Objective Steps To Perform Expected Results Comments
ForwardMessage01 Forward message with non-ascii subject 1. Forward a message containing non-ascii characters in the subject line.
2. Open received message.
The non-ascii characters in subject line display properly in forwarded message.  
ForwardMessage02 Forward message as inline/as attachment with non-ascii body 1. In Preferences, set forward message style to inline.
2. Forward a message with non-ascii content, adding additional non-ascii text to the forwarded message. 
3. Open received message.
4. Repeat step 1., specify as attachment indtead of inline.
5. Repeat step2, 3.
The non-ascii characters in inline/attachment and message body are displayed properly.  
ForwardMessage03 Forward message as an attachment with non-ascii body 1. In Preferences, set forward message style to attachment. 
2. Forward a message with non-ascii content, adding additional non-ascii text to the forwarded message.
3. Open received message.
The non-ascii text in attachment and new message are displayed properly.  

View attachement
 
Test Case # Objective Steps To Perform Expected Results Comments
ViewAttach01  Attach non-ascii file in different format(Plain text/Rich text(HTML) in different windows(3-pane, Message window) 1. Compose a new message in Plain text format.
2. Save.
3. Compose a new message in no matter with format.
4. Attach saved file saved at step2 and send.*
5. Open received message on 3-pane.**
6. Open received message in Message window. **
7. Compose a new message in Rich text(HTML). 
8. Repeat step2, 3, 4, 5, 6.
* Verify send successfully.
** All non-ascii characters are displayed properly.
 
ViewAttach02 Different character coding Japanese(Shift-JIS, ISO-2022-JP, EUC-JP)  for Attachment and message Body  1. Compose A message in Plain text format using character coding  Japanese(ISO-2022-JP).
2. Save.
3. Compose B message in Plain text format using character coding Japanese(Shift-JIS).
4. Attach saved A to B.
5. Send.
6. Open received B message. *
7. Test all character coding combinations. 
* The non-ascii characters in attachment and  message body are displayed properly.
  Verify character coding is  Japanese(Shift-JIS) inherited from B.
 

Character Coding
 
Test Case # Objective Steps To Perform Expected Results Comments
Charactercoding01 Character coding menu on 3-pane  1. Launch Mail & New
2. Select View/Character coding 
* There should be a solid line separator.
* Above the separator line, there sould be 3 items:
Auto-Detect with arrow, More with arrow, Customiz...
* Below the separator line, there should be charset list.
* There sould be a bullet next to default charset.
 
Charactercoding02 Character coding menu on Compose window 1. Launch Mail & New
2. Select View/Character coding
* There should be a solid line separator.
* Above the saparator, there should be 1 tem:
Customize...
* Before customize, below the separator , there should be default Character Coding only.
  There should be a bollet next to default charsert.
  If already customized, selected charset(s) is displayed there in customized order. 

Charactercoding03 Customize 1. Select menu item "Customize..."
2. Display Customize Character Coding dialog box..*
3. Select a charset from Available Character Codings list and click Add button. **
4. Select another charset and click Add button. **
5. Select a charset from Active Character Codings list in the bottom
6. Click Up/Down  button.*** 
7. Select again and click Remove button on Active Character Codings pane. ****
* There sould be default Character coding which is set in Preference/Navigator/Language in Active Character Coding list.
** Selected chaset should move to Active Character Coding list from Available Character Codings list. 
    Selected charset is displayed in menu.
*** According to operation, selected charset places properly.
     Selected charset(s)  is displayed in menu in specified order.
**** Selected charset is removed form Active Character Coding list.
        Selected charset is no longer displayed in menu.

Theme
 
Test Case # Objective Steps To Perform Expected Results Comments
Theme01 Non-ascii charatcers on different theme  1. Change theme.
2. Select View/Apply Theme.
3. Click theme to be changed.
4. Exit and restart Navigator.
5. Compose a  message including non-ascii characters in Subject, sender, attachment file name, attachment file and message body. *
6. Send.
7. Open received message. *
* The non-ascii characters in subject , sender, attached file name, attached file and message body are displaed properly.  

 
 
 
Revision History

 
 
Revision By Whom Date Changes
1.0 wesleyg@netscape.com 04/17/2001 Initial draft
1.1 Rui Xu 12/26/2001 Add and update test cases
1.2 Kasumi Ketron 02/07/2002 Add and update test cases