You are here: Mozilla MailNews Functional / UI Tests > Offline: Basic Functionality within News
Feature Test Spec: Mail and News Component
Mail and News Component: Offline: Basic Functionality within News
Written by Gary ChanReferences:
UI and/or Functional Specifications: http://www.mozilla.org/mailnews/specs/offline/
Other: Laurel Carlson's original Offline News Functional test plan:
http://www.mozilla.org/quality/mailnews/tests/sea-mn-offline-news.html
Disclaimer: This testplan is based on Laurel Carlson's original testplan originally written for Seamonkey. The wording and test plans will be very similar and changes to the test plan are made where appropriate.
The testcases outlined in this document are intended for coverage of basic news functionality when involved with Offline use.
Approximate number of test cases: 350 per platform or server configuration
Most of the functionality cases here should be tested against various version/type news servers. Given the time constraints in our overall schedule, it is not anticipated that each and every testcase could be run against each and every server variety -- it is just not possible to do so with our given testing resources. It is more likely that a basic sampling of cases would be run against a sample of server types.
Overall testing instruction: These are the types of newsgroups/servers to run tests against:
- non-secure
- standard port
- irregular port
- secure
- standard port
- irregular port
- password protected group/server
- various version servers
Overall testing instruction: Each testcase should be done with a verification of how the action behaves when in offline mode and again how it is merged/played back when going back to the online state.
- General UI tests: covered under separate test spec Offline: General UI.
- Offline Preferences overall look: covered within the UI test spec Offline: General UI.
-
Offline preferences particular to news usage:
Exercise each option to make sure it's working. Specific cases may
also appear in other sections of this testspec.
Note: some of these prefs are also included in the mail testspec, but should be briefly checked again when working with news-oriented offline situations- Prefs|Offline&DiskSpace|When going online/unsent message
prompt: General working order cases here, more specific unsent
cases in Unsent Message section.
- Ask me: verify you are asked about sending unsent messages
when going online when you've got unsent news messages
- If answered Yes --> verify unsent messages are indeed sent, unsent message folder cleared
- If answered No --> verify unsent messages are not sent, messages stay in unsent message folder
- Ask me: verify you are not asked about sending unsent
messages when going online when there are no unsent messages
- you've not created any unsent messages
- you had some unsent messages, but deleted them from the unsent folder (without attempting to send)
- Automatically Send: verify unsent news messages are sent when going online without user interference (unless some error occurs), unsent folder cleared.
- Don't send: verify unsent messages are not sent, unsent message folder not cleared.
- Ask me: verify you are asked about sending unsent messages
when going online when you've got unsent news messages
- Prefs|Offline|When going offline/download message prompt:
General working order cases here.
- Ask me: verify you are asked about downloading messages
before going offline
- If answered Yes (Download)--> verify messages are indeed downloaded
- If answered No (Don't Download) --> verify messages are not downloaded
- Ask me: verify you are not asked about downloading messages
when going offline when there are no messages to download
- there are no messages in your inbox/folders to be downloaded
- you had some messages in your inbox/folder, but deleted them from the folder before you go offline.
- Automatically download: verify messages are downloaded when going offline without user interference (unless some error occurs), all messages are downloaded.
- Don't download: verify messages are not downloaded.
- Ask me: verify you are asked about downloading messages
before going offline
- To save download time and disk space:
- Mail&News Account Settings|News|Offline&Disk
Space|Do not download messages locally larger than X kb
(bugzilla bug 101985)
- Enabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of various size messages. Verify only items less than X kb are downloaded and available for offline reading.
- Disabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of various size messages. Verify all different sized items are available for offline reading.
- Mail&News Account Settings|News|Offline&Disk
Space|Download only Unread Messages:
- Enabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of read and unread messages. Verify only unread items are downloaded and available for offline reading.
- Disabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of read and unread messages. Verify both read and unread items are available for offline reading.
- Works in conjunction with date restrictions: Verify the
above two cases work properly in conjunction with varied
date range restrictions enabled in the "download by date"
option.
- use a date restriction from the dropdown list, i.e. "from 2 weeks ago"
- use a date restriction input into edit box, i.e. "since 30 days ago"
- Works with "download by date" option disabled.
- Mail&News Account Settings|News|Offline&Disk
Space|Download only messages since X days ago
- Editable date range ("since N days ago") option
enabled: select, synchronize and go offline for a newsgroup
which was previously accessed in online state and has a mix
of read and unread messages. Verify only messages falling
within the selected range are available for offline
reading. Sample a variety of ranges:
- 0
- single digit number of days
- double digit
- triple digit
- Download by Date fully disabled: verify all available newsgroup messages are available for offline reading.
1 2 3 4 5 6 7 8 Do not download mesg bodies larger than x kb x x x x Download only unread mesg x x x x Download only mesg w/in past x day x x x x - Editable date range ("since N days ago") option
enabled: select, synchronize and go offline for a newsgroup
which was previously accessed in online state and has a mix
of read and unread messages. Verify only messages falling
within the selected range are available for offline
reading. Sample a variety of ranges:
- Mail&News Account Settings|News|Offline&Disk
Space|Do not download messages locally larger than X kb
(bugzilla bug 101985)
- When it is time to clean up messages:
- Mail&News Account Settings|News|Offline&Disk Space|
- Keep messages which have arrived within past X days
- Enabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of various messages before, exactly, and after X days. Verify only items that have arrived within past X days are present.
- Keep all messages
- Enabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state. Verify all items are present and there are no day restrictions or limit to the quantity (X number) of messages.
- Keep the newest X messages
- Enabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and had more than X messages. Verify only the newest X items are present.
- Keep messages which have arrived within past X days
- Mail&News Account Settings|News|Offline&Disk
Space|Keep only unread messages
- Enabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of read and unread messages. This will delete all read messages when you go back online? Verify only unread items are available for reading when you go back offline.
- Disabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of various size messages. Verify all read/unread items are available for offline reading.
- Mail&News Account Settings|News|Offline&Disk
Space|Remove message bodies older than X days
- Enabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of read and unread messages older than X days. Go online. Exit Messenger. Restart Messenger, verify messages are deleted that are older than X days.
- Disabled: select, synchronize and go offline for a newsgroup which was previously accessed in online state and has a mix of read and unread messages older than X days. Go online. Exit Messenger. Restart Messenger, verify messages aren't deleted that are older than X days.
1 2 3 4 5 6 7 8 9 10 11 12 keep mesg arrived with x days (radio) x x x x keep all mesg (radio) x x x x keep newest x mesgs (radio) x x x x keep only unread mesgs
(deletes read mesgs when go offline/online)?x x x x x x remove mesg bodies older than x days (gone? See bug Matrix for testing 'Save download time and disk space' ) x x x x x x
- Mail&News Account Settings|News|Offline&Disk Space|
- Prefs|Offline&DiskSpace|When going online/unsent message
prompt: General working order cases here, more specific unsent
cases in Unsent Message section.
-
Process/access going offline for news use: basic
tests for each procedural component to make sure each is working
Note: these cases are also included in the mail testspec, but should be checked again when working with news-oriented offline situations- Select items: select at least one newsgroup
- access from main menu item/main mail window
- access through preferences
- access through properties
- Synchronize without going offline -- verify online state is maintained after synch
- Synchronize and go offline -- verify state is offline after synch
- Synchronize and do not send unsent messages (disabled) -- verify unsent messages are not sent after synch
- Synchronize and do send unsent messages (enabled) -- verify unsent messages are sent
- Cancel synchronize process at various places in process --
verify no adverse effects. (Ref: #324950 for 4.5)
[Currently Synchronize Status window not implemented as of 5/1/2001]- Cancel and do some other process (not offline related)
- Cancel and do same offline process as was canceled
- Cancel and do some other offline process
- During a synchronization set to not go offline after completed, click the offline indicator/icon (while synch still in progress -- ref #323846) [Currently Synchronize Status window not implemented as of 5/1/2001]
- Verify progress dialogs appear and for each: (Not implemented
yet, appears in bottom portion of 3rd pane in Messenger)
- Identifies what process is ongoing
- Identifies what folder/object the process is being applied
- identifies what point in the process you're at -- thermometer
- has a cancel button
- Select items: select at least one newsgroup
-
Synchronize
Overall testing instruction: throughout the synchronize test cases, coverage should be over groups which have never previously had headers downloaded and, groups accessed before/have had headers downloaded in conjunction with the various "chunk download preference" (a news preference which warns user when downloading over a specified number of headers. Found at Server Settings pref for a newsgroup: "ask me before I download x messages").- synchronize -- initial header download/group not previously
accessed:
- empty newsgroup
- newsgroup with just a few messages
- newsgroup with approx. 50 - 100 messages
- newsgroup with 1000+ messages
- newsgroups at different hierarchy levels
- full subhierarchy(ies) of groups
- password group
- synchronize -- initial header download/group not previously
accessed, CHUNK DOWNLOAD PREF ON, GET ALL HEADERS: (Note:
warning dialog will come up, but in that warning dialog choose to
download all (as opposed to some) headers.
- empty newsgroup --> no warning dialog should appear
- newsgroup with just a few messages (not over N) --> no warning dialog
- newsgroup with approx. 50 - 100 messages
- newsgroup with 1000+ messages
- category group(s) at various levels: Note: it is my understanding that the client will not distinguish categorized newsgroups in Mojo (subject to change). However, when testing we should try to access groups that are set up as categorized groups on the news server (Netscape Collabra servers version 3.0 through 4.0 -- not sure about later server versions.)
- password group
- synchronize-- initial header download/group not previously
accessed, CHUNK DOWNLOAD PREF ON, GET PARTIAL HEADERS, LEAVE
REMAINING HEADERS UNREAD: (Note: leaving remaining headers
unread should show unread in total count and upon doing a Get Next
N messages should retrieve those older messages in unread
state.)
- newsgroup with no headers to get --> no warning dialog should appear on synchronize for that group
- newsgroup with just a few messages (not over N) --> no warning should appear
- newsgroup with approx. up to 100 new messages over specified N warning limit --> warning dialog should appear
- newsgroup with 1000+ new messages --> warning dialog should appear
- category group(s) at various levels with over N messages: Note: it is my understanding that the client will not distinguish categorized newsgroups in Mojo (subject to change). However, when testing we should try to access groups that are set up as categorized groups on the news server (Netscape Collabra servers version 3.0 through 4.0 -- not sure about later server versions.)
- password group with over N messages
- synchronize -- initial header download/group not previously
accessed, GET ALL HEADERS, CHUNK DOWNLOAD PREF ON, MARK REMAINING
HEADERS READ: (Note: marking remaining headers read should show
no unread items in total count and upon doing a Get Next N
messages, should retrieve those older messages in a read
state.)
- empty newsgroup
- newsgroup with just a few messages (not over N)
- newsgroup with approx. 50 - 100 messages new messages over specified N warning limit
- newsgroup with 1000+ messages
- category group(s) at various levels: Note: it is my understanding that the client will not distinguish categorized newsgroups in Seamonkey (subject to change). However, when testing we should try to access groups that are set up as categorized groups on the news server (Netscape Collabra servers version 3.0 through 4.0 -- not sure about later server versions.)
- password group
- synchronize -- Get more headers/group previously accessed CHUNK
DOWNLOAD PREF OFF
- no new messages to get
- 50-100 messages to get
- 1000+ messages to get
- category group(s): Note: it is my understanding that the client will not distinguish categorized newsgroups in Seamonkey (subject to change). However, when testing we should try to access groups that are set up as categorized groups on the news server (Netscape Collabra servers version 3.0 through 4.0 -- not sure about later server versions.)
- password group
- synchronize -- Get more New Message headers/group previously
accessed CHUNK DOWNLOAD ON
- no new messages to get
- 50-100 messages to get
- 1000+ messages to get
- category group(s): Note: it is my understanding that the client will not distinguish categorized newsgroups in Seamonkey (subject to change). However, when testing we should try to access groups that are set up as categorized groups on the news server (Netscape Collabra servers version 3.0 through 4.0 -- not sure about later server versions.)
- password group
- synchronize -- Get N (older messages) headers/group previously
accessed CHUNK DOWNLOAD ON
- 50-100 messages to get
- 1000+ messages to get
- category group(s): Note: it is my understanding that the client will not distinguish categorized newsgroups in Seamonkey (subject to change). However, when testing we should try to access groups that are set up as categorized groups on the news server (Netscape Collabra servers version 3.0 through 4.0 -- not sure about later server versions.)
- password group
- synchronize messages -- contents to check which can be synched
in news
- attachments
- long message
- cross posted
- signed
- Synchronize using Download|News Messages prefs set, then change
the prefs and repeat synchronize within session. Verify the pref
range of messages downloaded is correct according to the
later/reset values in the prefs. Try this several times with
different reset values.
- reset Unread only to different value
- reset Download by Date, from weeks/months ago setting to different value
- reset Download by Date, since days ago setting to different value
- reset a combination of the above
- synchronize -- initial header download/group not previously
accessed:
-
Get Selected Messages
- from messenger window
- from standalone message window
- when single selection
- when multiple messages selected
- synch various selected message types:
- short message
- long message
- with attachments (note attachments not available offline,
bug 108107):
- vcards
- forwarded messages
- graphics attachments: gif, jpeg, etc.
- text file attachments
- attached web pages
- html with inserted images
- <other type of messages>
-
Get Flagged Messages
- from messenger window
- from standalone message window
- when single selection
- when multiple messages flagged
- synch various flagged message types:
- short message
- long message
- with attachments (note attachments not available offline,
bug 108107):
- vcards
- forwarded messages
- graphics attachments: gif, jpeg, etc.
- text file attachments
- attached web pages
- html with inserted images
- <other type of messages>
-
Newsgroups -- basic operations positive/success situations in
offline state:
Overall testing instruction: Test each operation in offline state then verify it's handled appropriately and check folder pane display when going online again.- Subscribe
- subscribe dialog: subscribe should work for items not
requiring server contact if server was previously accessed and
full newsgroup list was retrieved when online
- subscribe to a group
- search for newsgroup (not implemented?)
- subscribe to a group from Search (not implemented?)
- subscribe dialog: subscribe should work for items not
requiring server contact if server was previously accessed and
full newsgroup list was retrieved when online
- Delete/Unsubscribe
- subscribe dialog
- drag to trash in folder pane
- delete from folder pane
- From Menu: Edit|Unsubscribe
- Reorder in folder pane
- Open
- by url
- by usual open group method
- by navigation to next group
- Subscribe
-
Newsgroups -- basic operations error/negative situations in
offline state:
Overall testing instruction: Test each operation in offline state then verify it's handled appropriately and check folder pane display when going online again.- Subscribe
- subscribe dialog: items causing server to be contacted
should fail, erroring gracefully and suggesting user try
procedure again after going online. (i.e. just setup your news
account, you go offline, and then try to bring up the subscribe
window) (See bug 92852 )
- refresh newsgroup listing
- url to newsgroup for which you haven't added server
- url to newsgroup for which server, although added previously, has not yet retrieved full newsgroup list when online
- subscribe dialog: items causing server to be contacted
should fail, erroring gracefully and suggesting user try
procedure again after going online. (i.e. just setup your news
account, you go offline, and then try to bring up the subscribe
window) (See bug 92852 )
- Open
- open group which is password protected (no previous
authentication within session)
- via regular open
- via navigation
- via url
- open group which is password protected (no previous
authentication within session)
- Subscribe
-
News Messages -- basic operations positive/success situations
in offline state:
Overall testing instruction: wherever applicable, message commands should be tested in main Messenger window and in any separate message windows.- Compose News messages -- some cases may be itemized here, but comprehensive coverage under separate test spec Offline: Composition.
- Get Messages -- using Get Message, not Synchronize (synchronize
is the process to download messages for offline use)
- using Get New Messages should remind user they're in
offline state and ask if they want to go online to get messages
- answer Yes --> Go online and new message retrieval
begins
- try with "Do not download messages locally that are larger than X kb" set in Offline&Disk Space
- try with "Download only unread messages" set in Offline&Disk Space
- try with "Download only messages since X days ago" set in Offline&Disk Space
- answer No --> should remain offline and client in usable state, no adverse effects
- answer Yes --> Go online and new message retrieval
begins
- using Get New Messages should remind user they're in
offline state and ask if they want to go online to get messages
- Read/Navigate messages (only if downloaded)
- spacebar reading/navigation
- next message
- next unread within folder
- next unread message
- next unread thread
- next unread which will take across folder(s)/group(s)
- next unread message
- next unread thread
- next unread folder/group
- verify when landing on message(s) which have been downloaded for offline, the entire contents are viewable
- verify when landing on message(s) which have not been downloaded for offline, there is an error message explaining why message is not readable
- verify when going online again, the "not downloaded for offline use" message is cleared for message(s) not downloaded for offline use
- Follow links in news messages:
- mailto (works)
- http url (won't)
- ftp url (won't)
- news url (won't)
- Mark messages
- single message read/unread
- top level
- sublevel
- multiple selection read/unread
- thread as read
- mark all read
- mark newsgroup read (context menu command/different from mark all read)
- mark by date
- ignore a thread
- top level
- sublevel
- watch a thread
- top level
- sublevel
- undo for above actions
- single message read/unread
- Sort messages: verify sort methods in offline state and
preserved when going back online
- verify sorts work via menu, column heading click
- sort by thread
- sort by subject
- sort by sender
- sort by order received (different then date?)
- sort by date
- sort by status
- check for folders which had no status change when offline
- check for folders which you made status changes to in offline state: reply, forward, read, etc.
- sort by size
- sort by flag
- sort by priority
- sort by Unread
- View->Sortby->
- ascending
- descending
- verify sorts work via menu, column heading click
- Change message views: verify view method in offline state and
preserved when going back online
- View All
- ignore toggle on
- ignore toggle off
- View Unread
- View Threads with Unread
- View Watched Threads with Unread
- Ignore Threads
- Place messages in thread mode
- expand all threads
- collapse all threads
- View All
- Save/File/Copy messages (only if downloaded)
- Save as
- text
- html
- Ignore Threads
- template
- Move/File message
- drag and drop
- menu
- file to IMAP folder
- file to local mail folder
- with attachments
- Copy message
- drag and drop
- menu
- file to IMAP folder
- file to local mail folder
- with attachments
- Save as
- Delete/Cancel messages -- should not be allowed. Verify this is so.
- Filter messages
- offline state: create a user mail filter, sample each criteria/action combination (also see Filters: Basic Functionality - News)
- offline state: edit a user mail filter, sample each editable area
- synchronize: verify filters honored for user created filters, sample each criteria/action combination
- synchronize: verify filters honored for spam filters, sample each criteria/action combination (also see Filters: Spam Filtering)
- synchronize: verify filters honored for news host filter
- offline state: use user-created filters (sample each criteria) and apply after-the-fact (also see Filters: After the Fact Filtering)
- offline state: apply after the fact for spam filters on folders which have spam-type messages already downloaded (also see Filters: Junk Mail Filters: After the Fact Filtering)
- offline state: verify filters after the fact for news host
- Search messages -- also see
Search: Basic Functionality - News
- search options should default to "search local system"
- search a server folder
- search a newsgroup
- search with no matches
- search with results
- search operations from results:
- open message to message window
- use "go to folder" button to go to open group displaying message in context
- copy(file) messages
- to imap mail folder
- to local mail folder
- delete/cancel message shouldn't be available
-
Messages -- basic operations error/negative
situations:
- Compose News messages -- some cases may be itemized here, but comprehensive coverage under separate test spec Offline: Composition.
- Shouldn't be able to reply/forw non-downloaded mesgs
- Shouldn't be able to read non-downloaded mesgs
- Filter messages -- also see Filters: Basic Functionality - News
- Search messages -- also see Search: Basic Functionality - News
-
Unsent Messages -- basic tests error/negative
situations:
- Going online errors trying to send unsent message with addressee error
- Going online errors trying to send unsent messages because server is down/unavailable
- Going online, network unavailable
- Messages other than unsent in the unsent message folder -- verify error message identifies foreign unsent messages, handling has no adverse affects.
- Security issues for news
- Modem variations
- Direct connection variations