You are here: Test Case Matrix for Copy/Paste > Test Case Description for copy-from-dialog
Test Case Description for copy-from-dialog
Purpose
To determine whether cut/copy/paste works on text fields within dialog boxes and other UI windows.
Steps/Description
- Mac OS
- With the mouse, select a text string within the browser window, and choose "Copy" from the Edit menu.
- From the Edit menu, choose
Find on this Page...
- Press Command+V to paste the text.
- Press Command+A to select the just-pasted text
- Select the first three words of the line:
---> this very line <---
...and press Command+X to cut the text - Press Command+A to select the remaining text, and choose "Delete" from the Edit menu to clear the text selection.
- Repeat steps 1-6, but do so using via control+click context menus, rather than through keyboard shortcuts.
- Repeat steps 1-6, but do so using Mozilla's menu bar, rather than keyboard shortcuts. (For bonus points, perform this step via a text field in a modal dialog, such as within Preferences.)
- Windows
- With the mouse, select a text string within the browser window, and choose "Copy" from the Edit menu.
- From the Edit menu, choose
Find on this Page...
- Press Control+V to paste the text.
- Press Control+A to select the just-pasted text
- Select the first three words of the line:
---> this very line <---
...and press Control+X to cut the text - Press Control+A to select the remaining text, and choose Delete from the Edit menu to clear the text selection.
- Repeat steps 1-6, but do so using via context menus, rather than through keyboard shortcuts.
- Linux
- With the mouse, select a text string within the browser window, and choose Copy from the Edit menu.
- From the Edit menu, choose
Find on this Page...
- Press Alt+V to paste the text.
- Press Alt+A to select the just-pasted text
- Select the first three words of the line:
---> this very line <---
...and press Alt+X to cut the text - Press Alt+A to select the remaining text, and click after the right edge of the text selection.
- Press the middle mouse button to paste the selected text.
- Presss Alt+A to select the contents of the text field
- Choose "Delete" from the Edit menu to clear the text selection.
Expected Results
-
Mac OS & Windows:
Step 2: The "Find on Page" dialog should appear.
Step 3: The copied text "this very line of text" should be pasted into the text field.
Step 4: The text field contents should now be selected
Step 5: The text field should now comprise: " of text"
Step 6: The text field should now be empty. -
Linux:
Step 2: The "Find on Page" dialog should appear.
Step 3: The copied text "this very line of text" should be pasted into the text field.
Step 4: The text field contents should now be selected
Step 5: The text field should now comprise: " of text"
Step 6: The editing caret should exist to the right of the text " of text"
Step 7: The text field should now contain " of text this very line"
Step 8: The text field contents should now be selected
Step 9: The text field should now be empty.