|
|
Feature Test Specification
Seamonkey (5.0)
Browser Drag and Drop
Written by: <Eli Goldberg>
History:
|
Date
|
Change Description
|
Revision
|
Updated By
|
|
<4/19/99>
|
Skeleton test plan
|
0.5
|
Eli
|
|
<6/30/99>
|
First draft at actual test plan
|
1.0
|
Eli
|
|
<8/3/99>
|
Actual test plan (only a few known omissions)
|
1.1
|
Eli
|
|
<8/6/99>
|
Incorporated feedback from sfraser, german, akkana
|
1.2
|
Eli
|
References:
UI and/or Functional Specifications:
Communicator
Drag & Drop Specification (from 4.5, with serial #s filed off)
XPToolkit Drag
& Drop
(A 5.0 UE specification will not be published, as a result of the constrained UE
staff; German indicated that the 4.5 behavior is roughly identical to how 5.0's expected
behavior, and I'm basing this test plan upon the actual behavior of 4.5.)
This test plan details the test coverage for the Drag and Drop behaviors that the
5.0 browser is expected to support. Testing of Drag & Drop across other components
(e.g. Editor & Mail/News) will limited to scenarios in which the drag operation
originates within the browser component.
Actual testing of Drag & Drop will begin when the feature is actually present.
(The back-end functionality should be in place by M8/M9; however, the individual
implementors of the UI objects described below will need to support the Drag &
Drop interfaces.)
Limited testing of the Drag & Drop functionality within Manage Bookmarks will
also take place; testing will be limited to confirming that the Drag & Drop feature
works. (Actual bookmark management functionality that is controlled through a Drag
& Drop user interface will not be tested. Or at least, not intentionally.)
- Dragging from Browser Window
- URLs (linked text, and URL/location proxy icon)
- Onto objects within application
- Personal Toolbar
- Another browser window (open page)
- Editor
- Onto other applications
- Windows/Mac OS Desktop (create shortcut)
- Images (per Akkana, image drag & drop across the Mozilla application suite
has not been committed to. Kept in test plan since --- minimally --- Macintosh users
will expect this functionality.)
- Onto objects within application
- Personal Toolbar
- Another browser window (shows image)
- Editor
- Onto other applications
- Windows/Mac OS Desktop (save image)
- Dragging from Desktop to browser window, URL bar, and personal toolbar
- Folders - should display a hierarchical file structure
- Text files - should display
- Netscape (and Mac OS 8.5) URL Shortcuts - should display
- Image files (GIF, JPEG, PNG)
- Files that require plug-in invocation
- Files that require helper app invocation
- HTML files from a Find window
- Applications, or other unrecognized file types. (Mac: should launch appropriate
application to handle file type from within Finder. Windows: Should display a file
dialog, asking where to save the file.)
- Boundary/Negative/Stress Cases
- Drag URLs, images, etc to non-modal application windows (e.g. Search...)
- Drag applications, desktop printers, network neighborhood, Trash can, aliases,
multiple files, etc.
- Dragging & dropping huge images across windows/etc.
- Platform-specific behaviors
- Mac OS
- Dragging URLs to desktop should use standard Mac OS 8.5 shortcut icons)
- Dragging text clipping to desktop (should save as text clipping)
- Dragging images from browser to desktop
- Windows
- Dragging URL to desktop should create Win32 bookmark shortcut.
- Dragging onto application icon (Mac OS & Windows only)
- JPEG, GIF, HTML and text files should be draggable onto the app icon. (probably
PNG, too.)
- A valid folder with content (e.g. System Folder or Windows directory)
- An invalid folder (e.g. Trash Can)
- Manage Bookmarks window (specification not available; using Internet Explorer
4.5's for Mac OS as a "living specification".)
- Dragging to:
- Dragging Mac OS, Win32 & Mac OS-Netscape bookmarks to bookmark windows are
received.
- Folders of bookmarks?
- Web pages on the local HD
- Image files
- crazy things like the HD icon itself
- an alias to a Netscape/Mac OS/Win32 bookmark icon. How resolved?
- names with a slash in them.
- Trash
- Dragging away from:
- A folder
- A bookmark
- A combination of bookmarks & folders
- names with a slash or colon in them.
- multiple items (folders or files) with same name
Additional Test Coverage to Investigate by M12:
- dragging URLs that are links for other protocol types that aren't listed here.
e.g. mailto:, news:, mailbox:, etc. From where can we obtain a comprehensive list?
(Try Gagan)
- Dragging from browser to mail/news.
- Create a file on unix with a ":" in the name, drag to HD on Mac OS
and Windows, drag to Manage Bookmarks. (Or suggest to Claudius as a test case,
if more appropriate for him...)
- Dragging invalid stuff to a panel --- reject it appropriately?
- Personal toolbar drag & drop --- how many activities will we support? What
happens when we attempt the activities we don't support? e.g. dragging toolbar items
to trash to delete?
- Confirm that we don't break the URL Manager shareware app.
- Mike Pinkerton has a Mac tool called "Drag Peeker", which views the
contents of a drag. Perhaps after playing around with it, ideas for additional test
cases on a lower-level may result.
DETERMINE:
*** how does a drag & drop-enabled window know what kind of documents it can
receive?
Copyright 1999 Netscape Communications Corporation
|