|
|
Feature Testcases
Ender (Composer)
Edit Commands: Cut, Copy,
Paste, Undo, Redo
Written by: Sujay Desai
History:
|
Date
|
Change Description
|
Revision
|
Updated By
|
|
3/10/99
|
Created
|
1.0
|
Sujay Desai
|
|
5/06/99 |
Updated |
2.0 |
Sujay Desai |
References:
UI and/or Functional Specifications: http://webgroup/composer/enderFeatures.html
(internal link)
Test Case Management Usage:
The detailed test cases for this can be found in :TBD
Major Area: Composer
Minor Area: Editing Functions
Category:
The clipboard editing functions for Ender are Cut, Copy, Paste, Undo
and Redo and need to be tested in various combinations
together.
Combinations of Cut/Copy/Paste and Undo/Redo
-
Cut/Copy/Paste
-
simple text cut+paste
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of regular text
-
Use Edit | Paste to paste that portion of text somewhere else in document
or new blank page
-
Verify that the text you cut got pasted successfully
-
simple text copy+paste
-
Open a normal document in the editor
-
Use Edit | Copy to copy a portion of regular text
-
Use Edit | Paste to paste that portion of text somewhere else in document
or new blank page
-
Verify that the text you copied got pasted successfully
-
mixed content cut+paste
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of mixed content(bold/italic text, links,
table, headers, targets, etc.)
-
Use Edit | Paste to paste that portion of content somewhere else in document
or new blank page
-
Verify that the content you cut got pasted successfully
-
mixed content copy+paste
-
Open an HTML document in the editor
-
Use Edit | Copy to copy a portion of mixed content(bold/italic text, links,
table, headers, targets, etc.)
-
Use Edit | Paste to paste that portion of content somewhere else in document
or new blank page
-
Verify that the content you copied got pasted successfully
-
keyboard shortcut cut+paste
-
Open a normal document in the editor
-
Use [Alt | Ctrl | Command]-X to cut a portion of text
-
Use [Alt | Ctrl | Command]-V to paste that portion of text somewhere else
in document or new blank page
-
Verify that the text you cut got pasted successfully using the keyboard
shortcuts
-
keyboard shortcut copy+paste
-
Open a normal document in the editor
-
Use [Alt | Ctrl | Command]-C to copy a portion of text
-
Use [Alt | Ctrl | Command]-V to paste that portion of text somewhere else
in document or new blank page
-
Verify that the text you copied got pasted successfully using the keyboard
shortcuts
-
simple text cut+paste from browser
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of text from browser window
-
Use Edit | Paste to paste that portion of text into editor page
-
Verify that the text you cut did not get pasted succesfully(unless from
a form field)
-
simple text copy+paste from browser
-
Open a normal document in the editor
-
Use Edit | Copy to copy a portion of text from browser window
-
Use Edit | Paste to paste that portion of text into editor page
-
Verify that the text you copied got pasted successfully
-
simple text cut+paste from mail message
-
Open a mail message from your inbox
-
Use Edit | Cut to cut a portion of text from mail message
-
Use Edit | Paste to paste that portion of text into editor page
-
Verify that the text you cut got pasted succesfully
-
simple text copy+paste from mail message
-
Open a mail message from your inbox
-
Use Edit | Copy to copy a portion of text from mail message
-
Use Edit | Paste to paste that portion of text into editor page
-
Verify that the text you copied got pasted succesfully
-
simple text cut+paste from editor into mail message
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of regular text
-
Use Edit | Paste to paste that portion of text into a mail compose message
-
Verify that the text you cut got pasted successfully into the mail message
-
simple text copy+paste from editor into mail message
-
Open a normal document in the editor
-
Use Edit | Copy to copy a portion of regular text
-
Use Edit | Paste to paste that portion of text into a mail composer message
-
Verify that the text you copied got pasted successfully into the mail message
-
simple text cut+paste from editor into local text editor
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of regular text
-
Use Edit | Paste to paste that portion of text into a local text editor
-
Verify that the text you cut got pasted successfully into the local text
editor
-
simple text copy+paste from editor into local text editor
-
Open a normal document in the editor
-
Use Edit | Copy to copy a portion of regular text
-
Use Edit | Paste to paste that portion of text into a local text editor
-
Verify that the text you copied got pasted successfully into the local
text editor
-
simple text cut+paste from local text editor into editor
-
Open a text document in your local text editor
-
Use Edit | Cut to cut a portion of regular text from the local text editor
-
Use Edit | Paste to paste that portion of text into the editor
-
Verify that the text you cut got pasted successfully into the editor
-
simple text copy+paste from local text editor into editor
-
Open a text document in your local text editor
-
Use Edit | Copy to copy a portion of regular text from the local text editor
-
Use Edit | Paste to paste that portion of text into the editor
-
Verify that the text you copied got pasted successfully into the editor
-
simple text cut+paste followed by Undo+Redo
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of regular text
-
Use Edit | Paste to paste that portion of text somewhere else in document
or new blank page
-
Verify that the text you cut got pasted successfully
-
Use Edit | Undo
-
Verify that the text that just got pasted is gone
-
Use Edit | Redo
-
Verify that the text that just disappeared is back
-
simple text copy+paste followed by Undo+Redo
-
Open a normal document in the editor
-
Use Edit | Copy to copy a portion of regular text
-
Use Edit | Paste to paste that portion of text somewhere else in document
or new blank page
-
Verify that the text you copied got pasted successfully
-
Use Edit | Undo
-
Verify that the text that just got pasted is gone
-
Use Edit | Redo
-
Verify that the text that just disappeared is back
-
simple text cut+paste using middle-mouse click(Unix only)
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of regular text
-
Use middle-mouse click to paste that portion of text somewhere else in
document or new blank page
-
Verify that the text you cut got pasted successfully
-
simple text copy+paste using middle-mouse click(Unix only)
-
Open a normal document in the editor
-
Use Edit | Copy to copy a portion of regular text
-
Use middle-mouse click to paste that portion of text somewhere else in
document or new blank page
-
Verify that the text you copied got pasted successfully
-
simple text cut+paste multiple times
-
Open a normal document in the editor
-
Use Edit | Cut to cut a portion of regular text
-
Use Edit | Paste to paste x times that portion of text somewhere else in
document or new blank page
-
Verify that the text you cut got pasted successfully x times
-
simple text copy+paste multiple times
-
Open a normal document in the editor
-
Use Edit | Copy to copy a portion of regular text
-
Use Edit | Paste to paste x times that portion of text somewhere else in
document or new blank page
-
Verify that the text you copied got pasted successfully x times
-
Undo/Redo
-
single edit+undo+redo
-
Open a blank document in the editor
-
make a single edit(e.g. type "hello world")
-
Pull-down Edit | Undo
-
Verify that "hello world" text is gone after Undo
-
Pull-down Edit | Redo
-
Verify that "hello world" text is back again after Redo
-
single edit+undo+another edit+undo
-
Open a blank document in the editor
-
make a single edit(e.g. type "hello world")
-
Pull-down Edit | Undo
-
Verify that "hello world" text is gone after Undo
-
make another edit(e.g. type "goodbye world")
-
Pull-down Edit | Undo
-
Verify that "goodbye world" text is gone after Undo
-
single edit+undo+redo+another edit+undo using keyboard shortcuts
-
Open a blank document in the editor
-
make s single edit(e.g. type "hello world")
-
Use [Alt | Ctrl | Command]-Z to Undo
-
Verify that "hello world" text is gone after Undo
-
Use [Alt | Ctrl | Command]-Y to Redo
-
Verify that "hello world" text is back after Redo
-
make another edit(e.g. delete "hello world", then type "goodbye world")
-
Use [Alt | Ctrl | Command]-Z to Undo
-
Verify that "hello world" text is back after Undo
-
multiple edits+multiple undo+multiple redo
-
Open a blank document in the editor
-
make multiple edits
-
type "hello world"
-
change "hello world" text to italic
-
change "hello world" text to font size +2
-
Pull-down Edit | Undo 3 times
-
Verify that "hello world" text is changed from font size +2 to original
font size +0
-
Verify that "hello world" text is changed from italic to regular
-
Verify that "hello world" text is gone and a blank page is left
-
Pull-down Edit | Redo 2 times
-
Verify that "hello world" text is back
-
Verify that "hello world" text is changed to italic
-
pruning the undo stack
-
Open a blank page in the editor
-
make multiple edits
-
Insert a table with 1 row + 1 column
-
Enter some text in a table cell (e.g. "Netscape")
-
Change the style of "Netscape" to bold
-
Use Link properties to link "Netscape" to "http://www.netscape.com"
-
Pull-down Edit | Undo 2 times
-
Verify that "Netscape" link is removed after first Undo
-
Verify that "Netscape" text is changed from bold to normal text
-
make another edit
-
Change "Netscape" text to color red
-
Verify there are 3 undoable operations left on undo stack; Pull-down Edit
| Undo 3 times
-
Verify that "Netscape" text is changed from red text to normal after first
Undo
-
Verify that "Netscape" text is gone from table cell
-
Verify that the original table inserted is deleted and left with blank
document
-
maximum level of Undo testing
-
Open a blank page in the editor
-
make lots of edits(e.g. about 50-75 edits)
-
Pull-down Edit | Undo successively
-
Verify that there is an undoable operation for each edit that is made
-
single edit+undo+undo+redo+redo (twice in a row, not possible)
-
Open a blank document in the editor
-
make a single edit(e.g. type "hello world")
-
Pull-down Edit | Undo
-
Verify that "hello world" text is gone after Undo
-
Pull-down Edit | Undo again
-
Verify that Edit | Undo is not even available again to use(i.e. menu item
dimmed)
-
Pull-down Edit | Redo
-
Verify that "hello world" text is back after Redo
-
Pull-down Edit | Redo again
-
Verify that Edit | Redo is not even available again to use(i.e. menu item
dimmed)
|