r9 - 17 Aug 2004 - 16:02:00 - AparnaKadakiaYou are here: OSAF >  Projects Web  >  DevelopmentHome > ZeroPointFourTestSpec

Test Specfication for the features in Chandler 0.4 release

Functional/Component Test cases

Toolbar Testcases

Verify the functionality of the following buttons on the Toolbar:
  • Send/Receive - able to send and receive email from a specific account set in the Mail Accounts setting.
  • New - Clicking on New should create a new note by default.
  • Reply, Reply All and Forward should function for communication items from Incoming and Outgoing.
  • Delete - Delete should only remove the item from that collection. If an item exists in multiple collections, then it should continue to be shown up in other collections from where it wasn't deleted.
  • Junk - Clicking on the Junk button for any item in the Incoming collection mail should mark the mail as junk.
  • All other navigation buttons should be greyed out.

Sidebar Testcases

Verify the functionality of the following sidebar features: OOTB views should include only In, Out, Trash and Junk on the side bar.
  • Kind filter bar
    • Select Kinds (ETCNCt) - Click on the mail icon on the filter bar and it should only display those collections in the sidebar that contain items of the kind mail. Similarly it should function for calendar, notes, tasks and contacts (contacts only for 0.4) when selecting that button from the filter bar. The contents area should show all the items of that kind and deselects whatever else was previously selected in the side bar.
    • Multi-select one or more kind - Clicking on one more more filter icons should display all sidebar elements that contain items of the selected kind. The content area should show all the the items from these collections.
    • Adding collections to the side bar - You should be able to add new collections to the side bar using the add side bar item check box at the bottom of the panel. Selecting that creates a new collection item. You should be able to click on the newly created tab to edit the name from 'Untitled' to whatever.
    • Removing collections from the side bar - The following options are available to delete the collection item from the side bar - DnD sidebar item off of sidebar, Right Click/Menu item and click remove, Hit delete on keyboard, DnD to Trash, Adding individual content items to the sidebar.

Tabbed view Testcases

  • Creating new tab - In 0.4 you should be able to create a new tab using any one of the following options; Keyboard Ctrl+T, File menu item, right click on tab bar, right click collection.
  • Closing a tab - Choose File Menu item to close the tab or right click on the tab and select close tab or keyboard Ctrl+Shift+T
  • Organizing tabs - Click on the tab to bring the tab contents in the foreground. YOu should also be able to DnD items from one tab to another.
  • Creating new windows - You should be able to create new windows either by using File menu item, right clicking on collection or keyboard strokes Ctrl+W. Similarly, you can close the window using Ctrl+Shift+W or from the File menu item.

Summary View Testcases

  • columns - OOTB the following columns will be available in the summary view :
    • When
    • Kind(stamp)
    • Mail history
    • Who
    • About
  • Depending on the content item selected in the summary view the column header should change automatically.
  • You should be able to add, remove, change columns by right clicking the column header of context menu.
  • Items in summary view should be left-aligned for IN items and indented for OUT items.
  • Unread items should be displayed in BOLD
  • The number of recipients in the summary view should be displayed in small grey font.

Calendar View Testcases

  • Viewing the calendar
    • Selecting Calendar item from the side bar should show the list view by default in the content display
    • You should be able to switch between the list, month, week and day views by clicking on the appropriate buttons on the summary table bar.
    • Also you should be able to directly navigate to a particular view by clicking on a specific date, month or week you want to view.
    • You should be able to navigate between days,weeks and months with the forward and back buttons from each of the views.
    • Click on today's date in all the 3 views to and make sure it takes you to today's view no matter which view you started from.
    • Make sure month and year are displayed at the top of the summary view.
    • For the day and week view, do not repear the month in each day. ALso days belonging to other months should be greyed out.
  • Creating New items in calendar
    • Go to the Month view. DnD the day from the summary table view to the detail section, on which you want to create an event.Fill the details of the event in the detail section to create the event in the calendar.
    • Go to the Week view. Select the day on which you want to create an event. Starting at the time you want the event to start, DnD the cursor from the start time to the end time of the event. This should create a new event in the calendar. Fill out the details of the event in the detail section.
    • Go to the Day view. Click on a timeslot at which you want to start the event and DnD the mouse to the end time slot of the event. This should create a new event in the calendar. Fill out the details of the event in the detail section.
    • Make sure that the absolute time is displayed in the timeslot column for the day and week views
    • For each of the month, week and day views create multiple events overlapping the same time slot. The conflicts should be reflected in red on the bars.
    • In the calendar month view, make sure the relative time is displayed by a moving tick mark.
    • Make sure dashes are decoupled from Text headline description of each calendar item.
    • Select any particular month of the calendar and create multiple events for multiple days. Create as many events so that the events overflow for any specific day. The number of overflown items should be displayed in the month view.
    • Week and Day views should be centered on 7AM - 7PM
  • Mini Calendar Browser
    • You should be able to move forward and backward and view past and future months using the mini calendar browser.
    • You should be able to select a day/week/month and be able to jump to that in the summary window

Detail View Testcases

  • View
    • Navigate to the OOTB item collections; In, Out, Calendar, Contacts, Notes on the side bar. Click on items in the summary table view and look at the details in the detail view. The description should match that type of item.
  • Stamping
    • The markup bar on the detail window shows three stamp buttons: mail, task and calendar. Start out with a simple note and stamp it to a mail, calendar or task. The note should show up in calendar collection, In collection and the Tasklist. Similarly try stamping a mail to a calendar and a task, a task item to a calendar and mail and a calendar event to a task and mail and make sure they show up in the appropriate collections.

Integration Testcases

Integration test cases cover more complex end to end scenarios of use cases identified during the design of the product.

  • Test case1 : Creating and sending new mail - Click on a new item from the Menu which creates a new note. Stamp the note item to a message. The item should now show up in Dashboard (All collection) and the Outbox. Message history status should be Draft. Fill out fields To:, Subject:, Body. Send button should be activated once you fill out the To: field. Message history status should change from Queued --> Sent

  • Test case2 : Stamping a note to Calendar and Task items - Click on new item from the Menu to create a blank item(note). Type some text in the note and using the markup bar buttons, convert it to a calendar event. The detail window should change the input fields from Creator, displayName (for notes) to organizer, participants & Title (for calendar). Similarly stamp a new note to mail and type in the input fields replyAddress, toAddress, Subject and Body. Stamp a new note to a task and enter text in the input fields requestor, requestee, Title.

  • Test case3 : Inter-stamping items - Rather than starting with a blank note, start with an existing template and stamp the item to something else. Click and hold on the New item to select a template from email, calendar, task or note (note is same as blank item above). Depending on the template chosen it should come pre-activated for the kind of template chosen. For e.g. a new mail item should already have a mail stamp preselected on it. Type in text for each of the templates and stamp it to the other 2 kinds. Make sure the item appears in the appropriate collection.

  • Test case4 : Unstamping - Unstamping a specific kind on the item should only remove the item from the collection of that kind. Say, you have stamped a note to a mail and a calendar event. Now when you unstamp the calendar, it should remove it from the calendar collection but retain it in All and In collections. Similarly with the other kinds of items.

  • Test case5 : Get email from IMAP over SSL - Update the email account to point to an SSL enabled IMAP server. Put your account information and Get Mail. This should populate mail from the imap server into the In collection. The status bar should show if connected to a secure imap server or not. There should be an icon on the status bar if the connection is secure.

  • Test case6 : Handling instantaneous error conditions - There is the instantaneous error when subject is empty etc. A dialog should appear on top of the detail view with the error message with 2 options. Cancel or Send anyway. If the the To field is empty then a popup should appear with the message saying message cannot be sent without the To field. Depending on whethere the mail is sent or not, the message history status should show Queued or Sent.

  • Test case7 : Handling SMTP server related errors - Errors where the user doesn't exist on the domain. There error message should be displayed on top of the detail view with the exact details like "user aparna does not exist on crappy.com domain". At this point the message history status is Queued. The 2 options available to the user should be: Cancel and Try again. If the user hits cancel then the message history status icon reverts back to Draft. If the user selects Try again, then the message history status should be Queued. No matter what screen you are on on Chandler the focus should revert back to the item in the All collection.

  • Test case8 : Handling Delayed Errors - Handling errors where the SMTP accepts the request but cannot delivered to its final destination after the designated number of tries. This should generate a delivery failure email (generated by the SMTP server).

-- AparnaKadakia - 12 Aug 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r9 < r8 < r7 < r6 < r5 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.