Tests/Flipsticks: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(57 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Test Results 2009==
{| border=1 cellspacing=2 cellpadding=2
|- style="background:lightgray"
! Action !! Result
|-
| When manually moving EACH body part, angle value in "angle box" should change. || <span style="color:green">pass</span>
|-
| If stick figure goes off the editing area. || <span style="color:red">fail: half of stick figure goes off the edit area depending on the green point in the middle of the stick figure.</span>
|-
| Dragging figure in a specific direction (top, right, bottom, left) will make it move in that direction. || <span style="color:green">pass</span>
|-
| Selecting a frame in the keyframe will edit the pose in that frame. || <span style="color:green">pass</span>
|-
| Clicking on the camera button will save the pose in the selected frame. || <span style="color:green">pass</span>
|-
| Clicking on the reset button will clear the poses in the frames. || <span style="color:red">fail: the frames are not cleared.</span>
|-
| Increase/decrease of speed meter increases/decreases speed of animation. || <span style="color:green">pass</span>
|-
| Edit frame while editing. || <span style="color:green">pass</span>
|-
| Entering chars (E.g. {a}, {2a}, etc) in the angle and size input boxes. || <span style="color:red">fail: value accepted with no error message box.</span>
|-
| Entering {0} in the size input box. || <span style="color:red">fail: value accepted with no error message box.</span>
|-
| Selecting any part from the "parts menu", and editing its size and angle using the input boxes. || <span style="color:green">pass</span>
|-
| Clicking play when keyframe is empty does nothing. || <span style="color:green">pass</span>
|-
| Points/joints on stick figure disappear when animating. || <span style="color:green">pass</span>
|-
| Stick figure animates according to the order of the poses in the keyframe. || <span style="color:green">pass</span>
|-
| Change the order of the frames. || <span style="color:green">pass</span>
|-
| Deleting a frame will not affect the animation. || <span style="color:green">pass</span>
|-
| Cannot edit stick figure while animating. || <span style="color:green">pass</span>
|-
|}

==Test Sequence 1 - Stick figure and key frame testing ==
==Test Sequence 1 - Stick figure and key frame testing ==


====Purpose:====


The aspects of this part of the program to be tested are the individual points/parts of the Flipstick figure, the editing area, the dragging of the figure in a specific direction, the key frame, pose save, clearing the edit area and frames, speed of movement, and edit of frames while animating.



====Prereq:====
====Specificaitons====

'''Purpose:''' The aspects of this part of the program to be tested are the individual points/parts of the Flipstick figure, the editing area, the dragging of the figure in a specific direction, the key frame, pose save, clearing the edit area and frames, speed of movement, and edit of frames while animating.

'''Prereq:'''


* When points/parts are moved, the value of the input box of that specific point/part should change.
* When points/parts are moved, the value of the input box of that specific point/part should change.
Line 13: Line 57:
* Pose is saved in a selected key frame after the camera button is clicked.
* Pose is saved in a selected key frame after the camera button is clicked.


====Test Data:====
'''Test Data:'''


* Points/Parts of stick figure.
* Points/Parts of stick figure.


'''Technique:''' [http://en.wikipedia.org/wiki/Equivalence_Partitioning '''Equivalence Partitioning'''] used in selecting the test cases for this sequence.


==Steps==
===Steps===
<hr>


===Manually moving each body part - angle value===
<span style="font-size: 11pt">'''Manually moving each body part - angle value'''</span>


''Actions:''<br />
''Actions:''<br />
Line 32: Line 78:


* <span style="color:green">Pass</span>: when value in the angle box changes according to movement.
* <span style="color:green">Pass</span>: when value in the angle box changes according to movement.
* <span style="color:red">fail</span>: when value in the angle box does not change according to movement.
* <span style="color:red">Fail</span>: when value in the angle box does not change according to movement.


''Technique:''
* Equivalence Partitioning


===Stick figure off edit area===
<span style="font-size: 11pt">'''Stick figure off edit area'''</span>


''Actions:''
''Actions:''
Line 48: Line 92:


* <span style="color:green">Pass</span>: if stick figure does not leave edit area.
* <span style="color:green">Pass</span>: if stick figure does not leave edit area.
* <span style="color:red">Fail:</span> if stick figure leaves edit area.
* <span style="color:red">Fail</span>: if stick figure leaves edit area.


''Technique:''


<span style="font-size: 11pt">'''Dragging stick figure in a certain direction'''</span>
* Equivalence Partitioning.

===Dragging stick figure in a certain direction===


''Actions:''
''Actions:''
Line 71: Line 112:


* <span style="color:green">Pass</span>: if figure moves according to mouse movement.
* <span style="color:green">Pass</span>: if figure moves according to mouse movement.
* <span style="color:red">Fail:</span> if figure does not move according to mouse movement.
* <span style="color:red">Fail</span>: if figure does not move according to mouse movement.


''Technique:''


<span style="font-size: 11pt">'''Selecting a keyframe and editing it'''</span>
* Equivalence Partitioning.

===Selecting a keyframe and editing it===


''Actions:''
''Actions:''
Line 87: Line 125:


* <span style="color:green">Pass</span>: if the edit area displays the stick figure in the selected keyframe.
* <span style="color:green">Pass</span>: if the edit area displays the stick figure in the selected keyframe.
* <span style="color:red">Fail:</span> if the edit area does not display the stick figure in the selected keyframe.
* <span style="color:red">Fail</span>: if the edit area does not display the stick figure in the selected keyframe.


''Technique:''


<span style="font-size: 11pt">'''Camera button'''</span>
* Equivalence Partitioning.

===Camera button===


''Actions:''
''Actions:''
Line 104: Line 139:


* <span style="color:green">Pass</span>: if the pose from the edit area appears in the selected key frame after the camera button is clicked.
* <span style="color:green">Pass</span>: if the pose from the edit area appears in the selected key frame after the camera button is clicked.
* <span style="color:red">Fail:</span> if the pose from the edit area does not appear in the selected key frame after the camera button is clicked.
* <span style="color:red">Fail</span>: if the pose from the edit area does not appear in the selected key frame after the camera button is clicked.


''Technique:''


<span style="font-size: 11pt">'''Reset button'''</span>
* Equivalence Partitioning.

''Actions:''

# Select a point/part.
# Move/change it (size/angle).
# Click the camera button to save the pose.
# Click the reset button.

''Verify:''

* <span style="color:green">Pass</span>: if the stick figure is put in it's default position and frame(s) cleared.
* <span style="color:red">Fail</span>: if the stick figure is not put in it's default position and frame(s) not cleared.


<span style="font-size: 11pt">'''Speed of movement'''</span>

''Actions:''

# Select a point/part.
# Create a pose.
# Click the camera.
# Select second frame.
# Select a point/part.
# Create a pose.
# Click the camera.
# Select third frame.
# Select a point/part.
# Create a pose.
# Click the camera.
# Click on the play button to watch animation.
# Stop animation.
# Click on the speed meter and increase/decrease it.
# Click on the play button to watch animation.

''Verify:''

* <span style="color:green">Pass</span>: if the speed of the animation increase/decrease according to the speed meter.
* <span style="color:red">Fail</span>: if the speed of the animation did not increase/decrease according to the speed meter.


<span style="font-size: 11pt">'''Editing frame while animating'''</span>

''Actions:''

# Select a point/part.
# Create a pose.
# Click the camera.
# Select second frame.
# Select a point/part.
# Create a pose.
# Click the camera.
# Select third frame.
# Select a point/part.
# Create a pose.
# Click the camera.
# Click on the play button to watch animation.
# Select a part/point and change while animating.

''Verify:''

* <span style="color:green">Pass</span>: if frame cannot be edited while animating.
* <span style="color:red">Fail</span>: if frame is edited while animating.

==Test Sequence 2 - Input Testing==
====Specifications====

'''Purpose:''' To test the inputs of the program are applied correctly and the body parts move accordingly.

'''Prereq:'''

* It is assumed Flipsticks program is already running and the stick figure is in the default position.
* It is assumed that the (Right Shoulder) is selected.
* It is assumed that an input with a character is invalid.
* It is assumed that the angle values is from 0 to 360.
* It is assumed that a size 0 for a size input is invalid.
* The values that are inputted for size are below 100, otherwise there is a possibilty it will go off the animation area.
* Each time a value is inputted, tester should press down on the Enter key.

'''Test Data:'''

* Angle: {a}, {2a}, {50}, {270}, {default valid input}
* Size: {a}, {2a}, {0}. {90}, {100}, {default valid input}

'''Technique:'''
Myer's Algorithm used in selecting the test cases for this sequence:
* The first four test cases groups one invalid input with valid inputs at a time.
* The last four test cases group together all valid inputs together, covering them all at once.

===Steps===
<hr>

<span style="font-size: 11pt">'''Angle input 1'''</span>

''Actions:''

# Enter input {a} into angle text box.
# Leave size input as it is (valid input).

''Verify:''
*<span style="color: green">Pass:</span> If the program accepts the input with an error dialogue box.
*<span style="color: red">Fail:</span> If the program accepts the input with no error dialogue box.


<span style="font-size: 11pt">'''Angle input 2'''</span>

''Actions:''
# Click on the reset button so figure is in default position.
# Enter input {2a} into angle text box.
# Leave size input as it is (valid input).

''Verify:''
*<span style="color: green">Pass:</span> If the program accepts the input with an error dialogue box.
*<span style="color: red">Fail:</span> If the program accepts the input with no error dialogue box.


<span style="font-size: 11pt">'''Size input 1'''</span>

''Actions:''
# Click on the reset button so figure is in default position.
# Enter input {a} into size text box.
# Leave angle input as it is (valid input).

''Verify:''
*<span style="color: green">Pass:</span> If the program accepts the input with an error dialogue box.
*<span style="color: red">Fail:</span> If the program accepts the input with no error dialogue box.


<span style="font-size: 11pt">'''Size input 2'''</span>

''Actions:''
# Click on the reset button so figure is in default position.
# Enter input {2a} into size text box.
# Leave angle input as it is (valid input).

''Verify:''
*<span style="color: green">Pass:</span> If the program accepts the input with an error dialogue box.
*<span style="color: red">Fail:</span> If the program accepts the input with no error dialogue box.


<span style="font-size: 11pt">'''Size input 3'''</span>

''Actions:''
# Click on the reset button so figure is in default position.
# Enter input {0} into size text box.
# Leave angle input as it is (valid input).

''Verify:''
*<span style="color: green">Pass:</span> If the program accepts the input with an error dialogue box.
*<span style="color: red">Fail:</span> If the program accepts the input with no error dialogue box.


<span style="font-size: 11pt">'''Right Shoulder'''</span>

''Actions:''
# Click on the reset button so figure is in the default position.
# Select the Right Shoulder of the stick figure.
# Enter input {50} into size text box.
# Enter input {90} into angle text box.

''Verify:''
*<span style="color: green">Pass:</span> If the Right Shoulder of the stick figure points North.
*<span style="color: red">Fail:</span> If the Right Shoulder of the stick figure does not point North.


<span style="font-size: 11pt">'''Left Hip'''</span>

''Actions:''
# Click on the reset button so figure is in the default position.
# Select the Left Hip of the stick figure.
# Enter input {100} into size text box.
# Enter input {270} into angle text box.

''Verify:''
*<span style="color: green">Pass:</span> If Left Hip of the stick figure moves to the left; away from the stick figure.
*<span style="color: red">Fail:</span> If the wrong body part has been adjusted.


<span style="font-size: 11pt">'''Upper Left Arm'''</span>

''Actions:''
# Click on the reset button so figure is in the default position.
# Select the Upper Left Arm of the stick figure.
# Enter input {50} into size text box.
# Enter input {90} into angle text box.

''Verify:''
*<span style="color: green">Pass:</span> If Upper Left Arm of the stick figure (Upper Right Arm to users) points north and is slightly longer then the Upper Right Arm.
*<span style="color: red">Fail:</span> If the wrong body part has been adjusted then the test has failed.


<span style="font-size: 11pt">'''Lower Right Leg'''</span>

''Actions:''
# Click on the reset button so figure is in the default position.
# Select the Lower Right Leg of the stick figure (area below the knee)
# Enter input {100} into size text box.
# Enter input {270} into angle text box.

''Verify:''
*<span style="color: green">Pass:</span> If the Lower Right Leg of the stick figure moves to the left of the body at an angle, and is longer than the Lower Left Leg.
*<span style="color: red">Fail:</span> If the wrong body part has been adjusted.

==Test Sequence 3 - Frames and Play/Pause buttons==

===Specifications===
'''Purpose:''' To test that the frames in the keyframe can be edited/deleted and animate correctly. To test if the Play and Pause buttons function properly.

'''Prereq:'''

* The frames in the keyframe are empty.
* Can change the order of frames in the keyframe.
* Cannot delete a frame while animating.

'''Test Data:'''
* Clicking on the play button with {empty frames}, {One} {Two to five same poses}, {Two to five different keyframe poses}

'''Technique:''' [http://en.wikipedia.org/wiki/Equivalence_Partitioning '''Equivalence Partitioning'''] used in selecting the test cases for this sequence.

===Steps===
<hr>

<span style="font-size: 11pt">'''Empty keyframe'''</span>

''Actions:''
# Leave keyframe as it is (empty).
# Click the play button at the end of the keyframe (right-side).

''Verify:''
* <span style="color:green">Pass:</span> If no movement.
* <span style="color:red">Fail:</span> if there is any unacceptable behavior.


<span style="font-size: 11pt">'''One frame, one pose'''</span>

''Actions:''
# Select a frame.
# Click on a point/part of the stick figure.
# Move the part and/or change it's size.
# Click on the camera button to save the pose.
# Click the play button at the end of the keyframe (right-side).

''Verify:''
* <span style="color:green">Pass:</span> if the colored points disappear.
* <span style="color:red">Fail:</span> if the colored points remain visible or there is any unacceptable behavior.


<span style="font-size: 11pt">'''Two to five frames, same pose'''</span>

''Actions:''
# Select the first frame from the keyframe.
# Click on a point/part of the stick figure.
# Move the part and/or change it's size.
# Click on the camera button to save the pose.
# Select the second frame from the keyframe.
# Click on the camera button to save the same pose.
# Select the third frame from the keyframe.
# Click on the camera button to save the same pose.
# Click the play button at the end of the keyframe (right-side).

''Verify:''
* <span style="color:green">Pass:</span> if the stick figure in the edit area displays only one pose and the colored points disappear.
* <span style="color:red">Fail:</span> if the colored points remain visible or there is any unacceptable behavior.


<span style="font-size: 11pt">'''Two to five frames, different poses'''</span>

''Actions:''

# Select the first frame from the keyframe.
# Click on a point/part of the stick figure.
# Move the part and/or change it's size.
# Click on the camera button to save the pose.
# Select the second frame from the keyframe.
# Click on a point/part of the stick figure.
# Move the part and/or change it's size.
# Click on the camera button to save the new pose.
# Select the third frame from the keyframe.
# Move the part and/or change it's size.
# Click on the camera button to save the new pose.
# Click the play button at the end of the keyframe (right-side).

''Verify:''
* <span style="color:green">Pass:</span> if the stick figure animates correctly (according to the poses in each of the frames) and the colored points have disappeared.
* <span style="color:red">Fail:</span> if the colored points remain visible or there is any unacceptable behavior (the animation is wrong).


<span style="font-size: 11pt">'''Moving frame backward'''</span>

''Actions:''

# Hold the first frame.
# Move it backward to the end.
# Click on the first frame
# Press play button on the right.

''Verify:''

* <span style="color:green">Pass:</span> If the frame moved backward and the changing appeared on the body movement.
* <span style="color:red">Fail:</span> any other results.


<span style="font-size: 11pt">'''Moving frame forward'''</span>

''Actions:''

# Hold the first frame.
# Move it forward to the end.
# Click on the first frame
# Press play button on the right.

''Verify:''

* <span style="color:green">Pass:</span> If the frame moved forward and the changing appeared on the body movement.
* <span style="color:red">Fail:</span> any other results.


<span style="font-size: 11pt">'''Deleting a frame'''</span>

# Click on a non-empty frame.
# Click on the delete button.

''Verify:''

* <span style="color:green">Pass:</span> if pose inside frame is deleted.
* <span style="color:red">Fail:</span> if pose inside frame is not deleted.

Latest revision as of 02:42, 28 March 2009

Test Results 2009

Action Result
When manually moving EACH body part, angle value in "angle box" should change. pass
If stick figure goes off the editing area. fail: half of stick figure goes off the edit area depending on the green point in the middle of the stick figure.
Dragging figure in a specific direction (top, right, bottom, left) will make it move in that direction. pass
Selecting a frame in the keyframe will edit the pose in that frame. pass
Clicking on the camera button will save the pose in the selected frame. pass
Clicking on the reset button will clear the poses in the frames. fail: the frames are not cleared.
Increase/decrease of speed meter increases/decreases speed of animation. pass
Edit frame while editing. pass
Entering chars (E.g. {a}, {2a}, etc) in the angle and size input boxes. fail: value accepted with no error message box.
Entering {0} in the size input box. fail: value accepted with no error message box.
Selecting any part from the "parts menu", and editing its size and angle using the input boxes. pass
Clicking play when keyframe is empty does nothing. pass
Points/joints on stick figure disappear when animating. pass
Stick figure animates according to the order of the poses in the keyframe. pass
Change the order of the frames. pass
Deleting a frame will not affect the animation. pass
Cannot edit stick figure while animating. pass

Test Sequence 1 - Stick figure and key frame testing

Specificaitons

Purpose: The aspects of this part of the program to be tested are the individual points/parts of the Flipstick figure, the editing area, the dragging of the figure in a specific direction, the key frame, pose save, clearing the edit area and frames, speed of movement, and edit of frames while animating.

Prereq:

  • When points/parts are moved, the value of the input box of that specific point/part should change.
  • Figure should not leave the edit area.
  • Figure moves in the specific direction (top, right, bottom, left).
  • Selected frame displays in the edit area the figure pose in the frame and can be edited.
  • Pose is saved in a selected key frame after the camera button is clicked.

Test Data:

  • Points/Parts of stick figure.

Technique: Equivalence Partitioning used in selecting the test cases for this sequence.

Steps


Manually moving each body part - angle value

Actions:

  1. Select the name of the part from the "Parts Menu".
  2. Click on the point that represents that part (selected name).
  3. Move the part from side to side.
  4. Check if the value of the angle input box is changing with the movement.

Verify:

  • Pass: when value in the angle box changes according to movement.
  • Fail: when value in the angle box does not change according to movement.


Stick figure off edit area

Actions:

  1. Click on the green point to drag the figure.
  2. Move the stick figure around the edit area.
  3. Check if the stick figure leaves the edit area.

Verify:

  • Pass: if stick figure does not leave edit area.
  • Fail: if stick figure leaves edit area.


Dragging stick figure in a certain direction

Actions:

  1. Click on the green point on the stick figure.
  2. Move the mouse up.
  3. Check if the stick figure moves up.
  4. Move the mouse down.
  5. Check if the stick figure moves down.
  6. Move the mouse right.
  7. Check if the stick figure moves right.
  8. Move the mouse left.
  9. Check if the stick figure moves left.

Verify:

  • Pass: if figure moves according to mouse movement.
  • Fail: if figure does not move according to mouse movement.


Selecting a keyframe and editing it

Actions:

  1. Select a frame.
  2. Check if the stick figure in the frame looks like the figure in the edit area.

Verify:

  • Pass: if the edit area displays the stick figure in the selected keyframe.
  • Fail: if the edit area does not display the stick figure in the selected keyframe.


Camera button

Actions:

  1. Click on a part/point of the body.
  2. Change its angle and/or size.
  3. Click on the button that has a camera on it.

Verify:

  • Pass: if the pose from the edit area appears in the selected key frame after the camera button is clicked.
  • Fail: if the pose from the edit area does not appear in the selected key frame after the camera button is clicked.


Reset button

Actions:

  1. Select a point/part.
  2. Move/change it (size/angle).
  3. Click the camera button to save the pose.
  4. Click the reset button.

Verify:

  • Pass: if the stick figure is put in it's default position and frame(s) cleared.
  • Fail: if the stick figure is not put in it's default position and frame(s) not cleared.


Speed of movement

Actions:

  1. Select a point/part.
  2. Create a pose.
  3. Click the camera.
  4. Select second frame.
  5. Select a point/part.
  6. Create a pose.
  7. Click the camera.
  8. Select third frame.
  9. Select a point/part.
  10. Create a pose.
  11. Click the camera.
  12. Click on the play button to watch animation.
  13. Stop animation.
  14. Click on the speed meter and increase/decrease it.
  15. Click on the play button to watch animation.

Verify:

  • Pass: if the speed of the animation increase/decrease according to the speed meter.
  • Fail: if the speed of the animation did not increase/decrease according to the speed meter.


Editing frame while animating

Actions:

  1. Select a point/part.
  2. Create a pose.
  3. Click the camera.
  4. Select second frame.
  5. Select a point/part.
  6. Create a pose.
  7. Click the camera.
  8. Select third frame.
  9. Select a point/part.
  10. Create a pose.
  11. Click the camera.
  12. Click on the play button to watch animation.
  13. Select a part/point and change while animating.

Verify:

  • Pass: if frame cannot be edited while animating.
  • Fail: if frame is edited while animating.

Test Sequence 2 - Input Testing

Specifications

Purpose: To test the inputs of the program are applied correctly and the body parts move accordingly.

Prereq:

  • It is assumed Flipsticks program is already running and the stick figure is in the default position.
  • It is assumed that the (Right Shoulder) is selected.
  • It is assumed that an input with a character is invalid.
  • It is assumed that the angle values is from 0 to 360.
  • It is assumed that a size 0 for a size input is invalid.
  • The values that are inputted for size are below 100, otherwise there is a possibilty it will go off the animation area.
  • Each time a value is inputted, tester should press down on the Enter key.

Test Data:

  • Angle: {a}, {2a}, {50}, {270}, {default valid input}
  • Size: {a}, {2a}, {0}. {90}, {100}, {default valid input}

Technique: Myer's Algorithm used in selecting the test cases for this sequence:

  • The first four test cases groups one invalid input with valid inputs at a time.
  • The last four test cases group together all valid inputs together, covering them all at once.

Steps


Angle input 1

Actions:

  1. Enter input {a} into angle text box.
  2. Leave size input as it is (valid input).

Verify:

  • Pass: If the program accepts the input with an error dialogue box.
  • Fail: If the program accepts the input with no error dialogue box.


Angle input 2

Actions:

  1. Click on the reset button so figure is in default position.
  2. Enter input {2a} into angle text box.
  3. Leave size input as it is (valid input).

Verify:

  • Pass: If the program accepts the input with an error dialogue box.
  • Fail: If the program accepts the input with no error dialogue box.


Size input 1

Actions:

  1. Click on the reset button so figure is in default position.
  2. Enter input {a} into size text box.
  3. Leave angle input as it is (valid input).

Verify:

  • Pass: If the program accepts the input with an error dialogue box.
  • Fail: If the program accepts the input with no error dialogue box.


Size input 2

Actions:

  1. Click on the reset button so figure is in default position.
  2. Enter input {2a} into size text box.
  3. Leave angle input as it is (valid input).

Verify:

  • Pass: If the program accepts the input with an error dialogue box.
  • Fail: If the program accepts the input with no error dialogue box.


Size input 3

Actions:

  1. Click on the reset button so figure is in default position.
  2. Enter input {0} into size text box.
  3. Leave angle input as it is (valid input).

Verify:

  • Pass: If the program accepts the input with an error dialogue box.
  • Fail: If the program accepts the input with no error dialogue box.


Right Shoulder

Actions:

  1. Click on the reset button so figure is in the default position.
  2. Select the Right Shoulder of the stick figure.
  3. Enter input {50} into size text box.
  4. Enter input {90} into angle text box.

Verify:

  • Pass: If the Right Shoulder of the stick figure points North.
  • Fail: If the Right Shoulder of the stick figure does not point North.


Left Hip

Actions:

  1. Click on the reset button so figure is in the default position.
  2. Select the Left Hip of the stick figure.
  3. Enter input {100} into size text box.
  4. Enter input {270} into angle text box.

Verify:

  • Pass: If Left Hip of the stick figure moves to the left; away from the stick figure.
  • Fail: If the wrong body part has been adjusted.


Upper Left Arm

Actions:

  1. Click on the reset button so figure is in the default position.
  2. Select the Upper Left Arm of the stick figure.
  3. Enter input {50} into size text box.
  4. Enter input {90} into angle text box.

Verify:

  • Pass: If Upper Left Arm of the stick figure (Upper Right Arm to users) points north and is slightly longer then the Upper Right Arm.
  • Fail: If the wrong body part has been adjusted then the test has failed.


Lower Right Leg

Actions:

  1. Click on the reset button so figure is in the default position.
  2. Select the Lower Right Leg of the stick figure (area below the knee)
  3. Enter input {100} into size text box.
  4. Enter input {270} into angle text box.

Verify:

  • Pass: If the Lower Right Leg of the stick figure moves to the left of the body at an angle, and is longer than the Lower Left Leg.
  • Fail: If the wrong body part has been adjusted.

Test Sequence 3 - Frames and Play/Pause buttons

Specifications

Purpose: To test that the frames in the keyframe can be edited/deleted and animate correctly. To test if the Play and Pause buttons function properly.

Prereq:

  • The frames in the keyframe are empty.
  • Can change the order of frames in the keyframe.
  • Cannot delete a frame while animating.

Test Data:

  • Clicking on the play button with {empty frames}, {One} {Two to five same poses}, {Two to five different keyframe poses}

Technique: Equivalence Partitioning used in selecting the test cases for this sequence.

Steps


Empty keyframe

Actions:

  1. Leave keyframe as it is (empty).
  2. Click the play button at the end of the keyframe (right-side).

Verify:

  • Pass: If no movement.
  • Fail: if there is any unacceptable behavior.


One frame, one pose

Actions:

  1. Select a frame.
  2. Click on a point/part of the stick figure.
  3. Move the part and/or change it's size.
  4. Click on the camera button to save the pose.
  5. Click the play button at the end of the keyframe (right-side).

Verify:

  • Pass: if the colored points disappear.
  • Fail: if the colored points remain visible or there is any unacceptable behavior.


Two to five frames, same pose

Actions:

  1. Select the first frame from the keyframe.
  2. Click on a point/part of the stick figure.
  3. Move the part and/or change it's size.
  4. Click on the camera button to save the pose.
  5. Select the second frame from the keyframe.
  6. Click on the camera button to save the same pose.
  7. Select the third frame from the keyframe.
  8. Click on the camera button to save the same pose.
  9. Click the play button at the end of the keyframe (right-side).

Verify:

  • Pass: if the stick figure in the edit area displays only one pose and the colored points disappear.
  • Fail: if the colored points remain visible or there is any unacceptable behavior.


Two to five frames, different poses

Actions:

  1. Select the first frame from the keyframe.
  2. Click on a point/part of the stick figure.
  3. Move the part and/or change it's size.
  4. Click on the camera button to save the pose.
  5. Select the second frame from the keyframe.
  6. Click on a point/part of the stick figure.
  7. Move the part and/or change it's size.
  8. Click on the camera button to save the new pose.
  9. Select the third frame from the keyframe.
  10. Move the part and/or change it's size.
  11. Click on the camera button to save the new pose.
  12. Click the play button at the end of the keyframe (right-side).

Verify:

  • Pass: if the stick figure animates correctly (according to the poses in each of the frames) and the colored points have disappeared.
  • Fail: if the colored points remain visible or there is any unacceptable behavior (the animation is wrong).


Moving frame backward

Actions:

  1. Hold the first frame.
  2. Move it backward to the end.
  3. Click on the first frame
  4. Press play button on the right.

Verify:

  • Pass: If the frame moved backward and the changing appeared on the body movement.
  • Fail: any other results.


Moving frame forward

Actions:

  1. Hold the first frame.
  2. Move it forward to the end.
  3. Click on the first frame
  4. Press play button on the right.

Verify:

  • Pass: If the frame moved forward and the changing appeared on the body movement.
  • Fail: any other results.


Deleting a frame

  1. Click on a non-empty frame.
  2. Click on the delete button.

Verify:

  • Pass: if pose inside frame is deleted.
  • Fail: if pose inside frame is not deleted.