Tests/Sudoku: Difference between revisions
Line 181: | Line 181: | ||
==Playing Level 4-5== |
==Playing Level 4-5== |
||
===Moving Cursor=== |
|||
''Actions (Side Bar):'' |
|||
#Hover over the top symbol on sidebar. |
|||
#Click on the second symbol on the side bar. |
|||
''Verify:'' |
|||
*The symbol's dont light up. |
|||
*Nothing happens. |
|||
''Actions (Puzzle Squares):'' |
|||
#Move the cursor to the edge of the puzzle. |
|||
#Move the cursor into an empty square on one of the edges of the puzzle. |
|||
#Move the cursor into an adjacent empty square. |
|||
#Move the cursor into another empty square on each of the other three edges of the puzzle. (If the corners are free move to the corners) |
|||
#Move the cursor into a fixed square. |
|||
#Move it into an adjacent empty square. |
|||
''Verify:'' |
|||
*When the cursor enters and leaves a fixed square nothing happens to that square. |
|||
*When the user enters an empty square the background color of the square changes to indicate that the users is hovering over it. |
|||
*When the cursor leaves the empty square the background color returns to the original color. |
|||
''Actions (Filled Variable Squares):'' |
|||
#Put a number in on of the variable squares. |
|||
#Hover over the background part of that square. |
|||
#Hover over the number. |
|||
''Verify:'' |
|||
*The square is highlighted when the cursor hovers over both the background and number inside a filled variable square. |
|||
===Adding Symbols=== |
|||
''Actions (Invalid):'' |
|||
#Attempt to place the 1st symbol on top of one of the icons on the bottom menu bar. |
|||
#Attempt to place the 2nd symbol on the menu bar in empty space outside the puzzle. |
|||
#Attempt to place the 3rd symbol inside one of the FIXED squares. |
|||
''Verify:'' |
|||
*In all three cases the symbol disapears from the cursor when the mouse is released. |
|||
*Symbol reapears on the side menu bar. |
|||
*Nothing else happens. |
|||
''Actions (Valid Empty Square):'' |
|||
#Pick up and release a symbol inside a VALID empty square. |
|||
''Verify:'' |
|||
*The symbol drops from the cursor. |
|||
*An enlarged version of the symbol appears in the empty box. |
|||
*The background color of the square does not change. |
|||
*The symbol reapears on the side bar. |
|||
''Actions (Valid Variable Square):'' |
|||
#Pick up and release a symbol inside a VALID variable square which contains a symbol different than the one on the cursor. |
|||
#Pick up and release a symbol inside a VALID variable square which contains a symbol the same as the one on the cursor. ''(This is probably not needed)'' |
|||
''Verify:'' |
|||
*The symbol drops from the cursor. |
|||
*An enlarged version of the symbol replaces the square in the box below. |
|||
*The background color of the square does not change. |
|||
*The symbol reapears on the side bar. |
|||
===Invalid Variable Squares=== |
|||
''Actions:'' |
''Actions:'' |
||
#Release inside an EMPTY square that is INVALID due to a fixed square. |
|||
#Click the reset icon while an empty form of level 1, puzzle 2 is displayed. |
|||
#Release inside an EMPTY square that is INVALID due to a variable square. |
|||
#Release inside an EMPTY square that is INVALID due to both a variable square and fixed square. |
|||
#Release inside an FILLED square that is INVALID due to both a variable square and fixed square. |
|||
''Verify:'' |
|||
*The small symbol dissapears from the cursor. |
|||
*It appears simultaneously back on the sidebar |
|||
*The symbols that are already in the grid and are the reason the placement of the new symbol is INVALID are highlighted for 3 seconds. |
|||
*The highlighted squares return to their normal state after 3 seconds. |
|||
===Removing Symbols=== |
|||
''Actions:'' |
|||
#Click on a FIXED square. |
|||
#Click on an EMPTY square. |
|||
''Verify:'' |
''Verify:'' |
||
*Nothing happens. |
*Nothing happens. |
||
''Actions:'' |
|||
#Click on a filled VARIABLE square. |
|||
''Verify:'' |
|||
*The symbol inside the square dissapears. |
|||
*The background color of the square is the same a normal empty square. |
|||
==Quit the activity== |
==Quit the activity== |
Revision as of 23:16, 18 March 2008
Start the sudoku activity
Justification: HIG
Actions:
- Start the sudoku activity by clicking the icon for it in the home view.
Verify:
- A sudoku icon (with the title sudoku) is added to the activity ring on the home screen.
- The sudoku icon throbs to indicate the activity starting up.
- That the sudoku activity starts properly.
- The first puzzle for level one is loaded.
Use help manual
Justification: HIG
Actions:
- Click the help icon on the main menu bar.
- Read the main help page.
- Click each of the icons for the other help pages and read the contents.
Verify:
- The main help page is displayed correctly with a title and text.
- That clicking the icons for each page in the help manual displays the correct help page.
- The help text is easy to read and can be understood by a first time user.
Actions (close):
- Click the OK button.
Verify:
- The help closes.
- The current sudoku puzzle is displayed in the same state it was before the help was viewed.
Changing levels
Justification: HIG
Actions (next):
- Complete the first puzzle on level 1.
- Click the left mouse button on the 'dice' icon 4 times quickly.
Verify:
- The dice rotates around to the number 5.
- The screen displays a random puzzle from level 5.
- The puzzle count is reset to 1.
Actions (return to 1):
- Click the left button once more on the dice icon.
Verify:
- The dice rotates and displays the number 1.
- The puzzle count is set to 1.
- The puzzle displayed is the same as the first puzzle completed in step one of 'next' but may have different symbols.
Actions (back):
- Partially complete the 1st level 1 puzzle.
- Click the left button once more on the dice icon.
- Complete the first puzzle for level 2.
- Partially complete the 2nd puzzle for level 2.
- Click the right button on the dice.
- Click the right button on the dice again.
- Click the left button on the dice.
Verify:
- After clicking right button on the dice the first time the dice moves back to 1 and the 1st level 1 puzzle is shown in its empty form.
- The second right button click does nothing.
- The next left click moves the dice to 2, and the 1st level 2 puzzle is displayed in its empty form.
Restart puzzle
Justification: HIG
Actions:
- Add a single item to an empty sudoku puzzle.
- Click the reset icon.
Verify:
- The puzzle is returned to its empty form.
Actions:
- Add items to a sudoku puzzle so that it can be completed by adding 1 more item.
- Click the reset icon.
Verify:
- The puzzle is returned to its empty form.
Actions:
- Click the reset icon while an empty form of level 1, puzzle 2 is displayed.
Verify:
- Nothing happens.
Playing Level 1-3
- Fixed squares
- The squares in a puzzle which contain symbols when the puzzle is in its initial state. These symbols can not be removed or changed by the user.
- Valid squares
- A square in which the rules of sudoku allow a user to place a given symbol or number in that sqare.
Moving Symbols
Actions (Hover):
- Hover over the top symbol on sidebar.
- Move to hover over the bottom symbol on the sidebar.
Verify:
- The symbol lights up, or gives some other form of feedback to the user that indicates that the cursor is hovering over that symbol.
Actions (Click & Drag):
- Click and hold down the mouse button on the first symbol.
- Drag the symbol over the icons on the side menu bar.
- Drag the symbol over the icons on the bottom menu bar.
Verify:
- The symbol disapears from the sidebar and a smaller form appears attached to the cursor.
- The symbol remains attached to the cursor as the mouse is moved.
- The symbols on the menu bars still light up when the cursor passes over them with the symbol attached to it.
Adding Symbols
Actions (Invalid):
- Attempt to place the 1st symbol on top of one of the icons on the bottom menu bar.
- Attempt to place the 2nd symbol on the menu bar in empty space outside the puzzle.
- Attempt to place the 3rd symbol inside one of the FIXED squares.
Verify:
- In all three cases the symbol disapears from the cursor when the mouse is released.
- Symbol reapears on the side menu bar.
- Nothing else happens.
Actions (Valid Empty Square):
- Pick up and release a symbol inside a VALID empty square.
Verify:
- The symbol drops from the cursor.
- An enlarged version of the symbol appears in the empty box.
- The background color of the square does not change.
- The symbol reapears on the side bar.
Actions (Valid Variable Square):
- Pick up and release a symbol inside a VALID variable square which contains a symbol different than the one on the cursor.
- Pick up and release a symbol inside a VALID variable square which contains a symbol the same as the one on the cursor. (This is probably not needed)
Verify:
- The symbol drops from the cursor.
- An enlarged version of the symbol replaces the square in the box below.
- The background color of the square does not change.
- The symbol reapears on the side bar.
Invalid Variable Squares
Actions:
- Release inside an EMPTY square that is INVALID due to a fixed square.
- Release inside an EMPTY square that is INVALID due to a variable square.
- Release inside an EMPTY square that is INVALID due to both a variable square and fixed square.
- Release inside an FILLED square that is INVALID due to both a variable square and fixed square.
Verify:
- The small symbol dissapears from the cursor.
- It appears simultaneously back on the sidebar
- The symbols that are already in the grid and are the reason the placement of the new symbol is INVALID are highlighted for 3 seconds.
- The highlighted squares return to their normal state after 3 seconds.
Removing Symbols
Actions:
- Click on a FIXED square.
- Click on an EMPTY square.
Verify:
- Nothing happens.
Actions:
- Click on a filled VARIABLE square.
Verify:
- The symbol inside the square dissapears.
- The background color of the square is the same a normal empty square.
Playing Level 4-5
Moving Cursor
Actions (Side Bar):
- Hover over the top symbol on sidebar.
- Click on the second symbol on the side bar.
Verify:
- The symbol's dont light up.
- Nothing happens.
Actions (Puzzle Squares):
- Move the cursor to the edge of the puzzle.
- Move the cursor into an empty square on one of the edges of the puzzle.
- Move the cursor into an adjacent empty square.
- Move the cursor into another empty square on each of the other three edges of the puzzle. (If the corners are free move to the corners)
- Move the cursor into a fixed square.
- Move it into an adjacent empty square.
Verify:
- When the cursor enters and leaves a fixed square nothing happens to that square.
- When the user enters an empty square the background color of the square changes to indicate that the users is hovering over it.
- When the cursor leaves the empty square the background color returns to the original color.
Actions (Filled Variable Squares):
- Put a number in on of the variable squares.
- Hover over the background part of that square.
- Hover over the number.
Verify:
- The square is highlighted when the cursor hovers over both the background and number inside a filled variable square.
Adding Symbols
Actions (Invalid):
- Attempt to place the 1st symbol on top of one of the icons on the bottom menu bar.
- Attempt to place the 2nd symbol on the menu bar in empty space outside the puzzle.
- Attempt to place the 3rd symbol inside one of the FIXED squares.
Verify:
- In all three cases the symbol disapears from the cursor when the mouse is released.
- Symbol reapears on the side menu bar.
- Nothing else happens.
Actions (Valid Empty Square):
- Pick up and release a symbol inside a VALID empty square.
Verify:
- The symbol drops from the cursor.
- An enlarged version of the symbol appears in the empty box.
- The background color of the square does not change.
- The symbol reapears on the side bar.
Actions (Valid Variable Square):
- Pick up and release a symbol inside a VALID variable square which contains a symbol different than the one on the cursor.
- Pick up and release a symbol inside a VALID variable square which contains a symbol the same as the one on the cursor. (This is probably not needed)
Verify:
- The symbol drops from the cursor.
- An enlarged version of the symbol replaces the square in the box below.
- The background color of the square does not change.
- The symbol reapears on the side bar.
Invalid Variable Squares
Actions:
- Release inside an EMPTY square that is INVALID due to a fixed square.
- Release inside an EMPTY square that is INVALID due to a variable square.
- Release inside an EMPTY square that is INVALID due to both a variable square and fixed square.
- Release inside an FILLED square that is INVALID due to both a variable square and fixed square.
Verify:
- The small symbol dissapears from the cursor.
- It appears simultaneously back on the sidebar
- The symbols that are already in the grid and are the reason the placement of the new symbol is INVALID are highlighted for 3 seconds.
- The highlighted squares return to their normal state after 3 seconds.
Removing Symbols
Actions:
- Click on a FIXED square.
- Click on an EMPTY square.
Verify:
- Nothing happens.
Actions:
- Click on a filled VARIABLE square.
Verify:
- The symbol inside the square dissapears.
- The background color of the square is the same a normal empty square.
Quit the activity
Justification: HIG
Actions:
- Click the quit icon on the bottom menu bar.
Verify:
- That the activity closes properly.
- That the sudoku icon disappears from the activity donut.
Resume a session
Justification: HIG
Actions:
- switch to the Journal.
- find the entry for your Browse session.
- either click on the 'direct launcher' at the right of the entry or
- click on the entry and use the "Resume" button to resume the entry with the desired activity.
Verify:
- that your entry in the Journal is still present and has updated the preview to indicate your new work.
- that resuming your Browse session loads the last session properly.