Inline Edit QA Test Plan - Simple Text
Environments
General QA Guidelines
General Use
- Does the tool behave the way that you would expect
- Are you surprised by anything
- Does something take longer than you would expect
- When the tool does something unexpected or takes too long to do something, does the tool provide appropriate feedback
QA Tests
Protocol
Perform the following tests using each browser/system environment
Report issues at: http://issues.fluidproject.org/secure/Dashboard.jspa
Please search for issues before reporting them, so as to limit the number of duplicate entries.
Unit Test
________________________________________________________
Protocol
Launch the following website to execute unit tests.
Inline Edit Test Suite:
http://build.fluidproject.org/infusion/tests/component-tests/inlineEdit/html/InlineEdit-test.html
State Tests
________________________________________________________
Description
Ensures that the component properly traverses through the various states.
Protocol
Perform these tasks on the following site, perform the tests 1-5 and 6-10 in order.
Mouse
Test 1: Mouseover
- Procedure
- Open the browser and navigate to one of the specified URLs
- Using the mouse, place the cursor over one of the inline editable texts
- Expected Results
- The inline editable text should be highlighted
- The cursor should be a pointer cursor (e.g. hand)
- After hovering the cursor over the inline edit field for about 2 seconds, a message saying "Select or press Enter to edit" should appear.
Test 2: Mouseover (off and on)
- Procedure
- Complete Test 1
- Move the cursor away from the inline editable field
- Move the cursor back over the inline editable field
- Expected Results
- The highlighting on the inline edit field should be removed, when the cursor is removed
- The inline edit field should be highlighted when the cursor is placed over it again
Test 3: Mouse, Activate Inline Edit Field
- Procedure
- Complete Test 2
- Using the mouse, click on the inline edit field
- Expected Results
- The inline editable text should change into an editable text field containing the current content
- The cursor should be a text cursor (e.g. i-bar)
- Instruction text "Escape to cancel, Enter or Tab when finished" should be displayed below the text field
Test 4: Mouse, Edit
- Procedure
- Complete Test 3
- Using the keyboard, type an 'a' at the end of the text
- Using the mouse, click a blank spot outside of the editable text field
- Expected Results
- If "Edit this" in italics was the original text, the words "Edit this." should be replaced with the letter 'a'.
- If editing a field with existing content, the editable text field should change back to the view mode of the inline edit field, containing the same content with an 'a' appended to the end
- An undo control should appear next to the inline edit field
Test 5: Mouse, Undo Edit
- Procedure
- Complete Test 4
- Using the mouse, click on the 'undo' link
- Expected Results
- The content of the inline edit field should return to its initial value
- The undo control should be replaced by a redo control
Test 6: Mouse, Redo Edit
- Procedure
- Complete Test 5
- Using the mouse, click on the redo control
- Expected Results
- The content of the inline edit field should return to the value set in test 4
- The redo control should be replaced by an undo control
- Stop Test
- Refresh the browser to return the page to its initial state
Keyboard
Test 7: Keyboard, Focus on Inline Edit Field
- Procedure
- Open the browser and navigate to one of the specified URLs
- Using the keyboard, tap the 'tab' key until focus is on one of the inline edit fields
- Expected Results
- The inline edit field should be highlighted
Test 8: Keyboard, Focus (On/Off) Inline Edit Field
- Procedure
- Complete Test 7
- Tap the 'tab' key to move focus off of the inline edit field
- Tap the 'tab' key again, until focus is back on the inline edit field
- Expected Results
- The highlighting on the inline edit field should be removed when focus is lost
- The inline edit field should be highlighted when focus is on it again
Test 9: Keyboard, Activate Inline Edit Field
- Procedure
- Complete Test 8
- Using the keyboard, tap the 'enter' or 'space' key
- Expected Results
- The inline editable text should change into an editable text field containing the current content.
- Instruction text "Escape to cancel, Enter or Tab when finished" should be displayed below the text field
Test 10: Keyboard, Edit
- Procedure
- Complete Test 9
- Using the keyboard, type an 'a' at the end of the text
- Using the keyboard, tap the 'enter' or 'tab' key
- Expected Results
- If "Edit this" in italics was the original text, the words "Edit this." should be replaced with the letter 'a'.
- If editing a field with existing content, the editable text field should change back to the view mode of the inline edit field, containing the same content with an 'a' appended to the end
- An undo control should appear next to the inline edit field
Test 11: Keyboard, Undo
- Procedure
- Complete Test 10
- Using the keyboard, tap the 'tab' key until focus is on the undo control
- Using the keyboard, tap the 'enter'
- Expected Results
- The content of the inline edit field should return to its initial value
- The undo control should be replaced by a redo control
Test 12: Keyboard, Redo
- Procedure
- Complete Test 11
- Using the keyboard, tap the 'tab' key until focus is on the redo control
- Using the keyboard, tap the 'enter'
- Expected Results
- The content of the inline edit field should return to the value set in test 10
- The redo control should be replaced by an undo control
- Stop Test
- Refresh the browser to return the page to its initial state
Task Oriented Functional Tests
________________________________________________________
Description
Ensures that the component is able to handle expected input.
Protocol
Perform these tasks on the following site.
Test 1: Double Click
- Procedure
- Open the browser and navigate to one of the specified URLs
- Using the mouse, click one of the inline edit fields
- Using the mouse, double click one of the words
- Expected Results
- The entire word should be selected
- Stop Test
- Refresh the browser to return the page to its initial state
Test 2: Triple Click
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse, click one of the inline edit fields
- Using the mouse, triple click inside the inline edit field
- Expected Results
- All of the text in the inline edit field should be selected
- Stop Test
- Refresh the browser to return the page to its initial state
Test 3: Edit With Letters
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse, click one of the inline edit fields
- Edit the text using only alphabetic characters (a - z, A-Z)
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be changed to the new value
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Test 4: Edit With Numbers
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse, click one of the inline edit fields
- Edit the text using only numbers (0-9)
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be changed to the new value
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Test 5: Edit With Symbols
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse, click one of the inline edit fields
- Edit the text using only punctuation and other such symbols (e.g. '/', '$' )
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be changed to the new value
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Test 6: Edit with Non-Standard Characters/Symbols
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse click one of the inline edit fields
- Edit the text using only non-standard characters and symbols (see examples here: http://www.alanwood.net/unicode/miscellaneous_symbols.html)
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be changed to the new value
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Test 7: Edit With Characters Separated By Spaces
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse, click one of the inline edit fields
- Edit the text by typing in some number of characters separated by spaces.
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be changed to the new value
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Boundary Tests
________________________________________________________
Description
Ensures proper functionality at the input limits
Protocol
Perform these tasks on the following site.
Test 1: Empty Field
- Procedure
- Open the browser and navigate to one of the specified URLs
- Using the mouse, select click one of the inline editable texts
- Delete all input values from the editable text field
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be a greyed invitation text saying "Edit this"
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Test 2: Many Characters (Not Separated)
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse, select click one of the inline editable texts
- Edit the text with a large number (e.g. 1000 characters) of characters without any gaps between ( generator )
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be changed to the new value
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Test 3: Many Characters (Separated)
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse, select click one of the inline editable texts
- Edit the text with a large number (e.g. 1000 characters) of characters with gaps between ( generator )
- Using the mouse, click on a blank spot outside of the editable text field
- Expected Results
- The content of the inline edit field should be changed to the new value
- An undo control should appear next to the inline edit field
- Stop Test
- Refresh the browser to return the page to its initial state
Test-to-Fail
________________________________________________________
Description
Tests which should cause errors or not be accepted as input
Protocol
Perform these tasks on the following site.
*no tests yet*