Decapod QA Test Plan
Test Setup
Environments
- OS: Ubuntu 10.04
- Browser: Firefox 3.6.x
Hardware Configuration
To complete this test plan, you should have access to:
- Two matching supported cameras
- At least one unsupported camera
Remove any memory cards from cameras before attempting these tests. If a memory card is present inside the camera when connecting to the system, Decapod may not properly identify the camera.
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
ProtocolPerform 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
ProtocolLaunch the following website to execute unit tests.
Decapod Test Suite:
unit tests link
State Tests
Description
Ensures that the component properly traverses through the various states.
Protocol
- Perform the tests 1 - 10 and 11 - 20 in order.
- Decapod Server: Starting the Decapod Server
Mouse
Test 1: Load Application
Procedure:
- Open the application in the browser
Results:
- The Decapod application should load without errors or exceptions
- The page should have a "Capture a new book" image in the middle, and "Book Management" in the top-left corner.
- Pressing "Book Management" should keep you on the same page.
- Hovering over the "Capture a new Book" image should highlight the image, and mouse cursor should turn into a hand pointer.
Test 2: Capture a New Book
Procedure:
- With the page from Test 1 still open, select "Capture a new book"
Results:
- Pressing "Capture a new book" should load a new page without any errors or exceptions.
- In the middle of the screen "To get the best results ... " should appear with two selectable options: "Continue to calibration", and "Skip calibration".
- The top-left bread crumb navigation should show "Book Management > Camera Calibration" with "Camera Calibration" highlighted / emphasized.
- Pressing "Book Management" should load the page as seen in Test 1.
Test 3: Continue to Calibration
Procedure:
- With the page from Test 2 still open, select "Continue to calibration"
Results:
- Pressing "Continue to calibration" should load a new page without any errors or exceptions.
- The navigation breadcrumb should show "Book Management > Camera Calibration" with "Camera Calibration" highlighted / emphasized.
- Pressing "Book Management" should load the page as seen in Test 1.
- The main title on the page should read: "Adjust page rotation and order". There should be two image boxes and various controls and links on the interface.
Test 4: Camera Calibration - Adjust Page Rotation 1
Procedure:
- With the page from Test 3 still open, press the first button once.
Results:
- Pressing the button should rotate the left image counter-clockwise 90-degrees.
Test 5: Camera Calibration - Adjust Page Rotation 2
Procedure:
- With the page from Test 4 still open, press the first button once.
Results:
- Pressing the button should rotate the left image clockwise 90-degrees (back to the original orientation as seen at the start of Test 4).
Test 6: Camera Calibration - Adjust Page Rotation 3
Procedure:
- With the page from Test 5 still open, press the second button twice.
Results:
- Pressing the button should rotate the right image counter-clockwise 90-degrees twice so the image is now upside down.
Test 7: Camera Calibration - Adjust Page Rotation 4
Procedure:
- With the page from Test 6 still open, press the second button once.
Results:
- Pressing the button should rotate the right image clockwise 90-degrees.
Test 8: Camera Calibration - Swap pages
Procedure:
- With the page from Test 7 still open, press the "Swap Pages" button once.
Results:
- Pressing the button should move the right image to the left, and the left image to the right.
Test 9: Do another test capture
Procedure:
- With the results from Test 8 still open, press the "Do another test capture" link for both right and left images.
Results:
- Pressing the button should take images from the attached cameras and replace the existing images in the interface.
- The rotations and page order should remain the same.
Test 10: Finish Calibration
Procedure:
- With the results from Test 9 still open, press the "Done. Let's start / continue capturing".
Results:
- The interface should change to the Capture interface.
Keyboard
Test 11: Load Application
Procedure:
- Open the application in the browser
Results:
- The Decapod application should load without errors or exceptions
- The page should have a "Capture a new book" image in the middle, and "Book Management" in the top-left corner.
- Activating "Book Management" should keep you on the same page.
- Placing focus on the "Capture a new Book" image should highlight the image, and mouse cursor should turn into a hand pointer.
Test 12: Capture a New Book
Procedure:
- With the page from Test 11 still open, tab to "Capture a new book"
- Using the keyboard, tap the "enter" key
Results:
- Activating "Capture a new book" should load a new page without any errors or exceptions.
- In the middle of the screen "To get the best results ... " should appear with two selectable options: "Continue to calibration", and "Skip calibration".
- The top-left bread crumb navigation should show "Book Management > Camera Calibration" with "Camera Calibration" highlighted / emphasized.
- Activating "Book Management" should load the page as seen in Test 1.
Test 13: Continue to Calibration
Procedure:
- With the page from Test 12 still open, tab to "Continue to calibration"
- Using the keyboard, tap the"enter" key
Results:
- Activating "Continue to calibration" should load a new page without any errors or exceptions.
- The navigation breadcrumb should show "Book Management > Camera Calibration" with "Camera Calibration" highlighted / emphasized.
- Activating "Book Management" should load the page as seen in Test 1.
- The main title on the page should read: "Adjust page rotation and order". There should be two image boxes and various controls and links on the interface.
Test 14: Camera Calibration - Adjust Page Rotation 1
Procedure:
- With the page from Test 13 still open, tab to the first button
- Using the keyboard, tap the "enter" key once.
Results:
- Activating the button should rotate the left image counter-clockwise 90-degrees.
Test 15: Camera Calibration - Adjust Page Rotation 2
Procedure:
- With the page from Test 14 still open, tab to the first button
- Using the keyboard, tap the "enter" key once.
Results:
- Activating the button should rotate the left image clockwise 90-degrees (back to the original orientation as seen at the start of Test 14).
Test 16: Camera Calibration - Adjust Page Rotation 3
Procedure:
- With the page from Test 15 still open, tab to the second button
- Using the keyboard, tap the "enter" key twice.
Results:
- Activating the button should rotate the right image counter-clockwise 90-degrees twice so the image is now upside down (rotated 180-degrees)
Test 17: Camera Calibration - Adjust Page Rotation 4
Procedure:
- With the page from Test 16 still open, tab to the second button
- Using the keyboard, tap the "enter" key once.
Results:
- Activating the button should rotate the right image clockwise 90-degrees.
Test 18: Camera Calibration - Swap pages
Procedure:
- With the page from Test 17 still open, press the "Swap Pages" button once.
Results:
- Activating the button should move the right image to the left, and the left image to the right.
Test 19: Do another test capture
Procedure:
- With the results from Test 18 still open, tab to the "Do another test capture" link for both right and left images.
- Using the keyboard, tap the "enter" key when focus is on each of the links
Results:
- Activating the button should take images from the attached cameras and replace the existing images in the interface.
- The rotations and page order should remain the same.
Test 20: Finish Calibration
Procedure:
- With the results from Test 19 still open, tab to the "Done. Let's start / continue capturing".
- Using the keyboard, tap the "enter" key
Results:
- The interface should change to the Capture interface.
Task Oriented Functional Tests
Description
Ensures that the component is able to handle expected input.
Protocol
- Perform the following test
- Decapod Server: Starting the Decapod Server
Test 21: Start a New Book
Procedure:
- Connect two supported, matching cameras
- Start the server and load the application
- Configure cameras
- Select "Done. Let's start / continue capturing" when camera configuration is complete.
Results:
- User is able to adjust image rotation of each camera
- User is able to adjust the order of images so the images captured by cameras are in proper order.
- A new book is started and the user can begin capturing pages.
Stop:
- When finishing the camera configuration and the UI changes to Decapod Capture.
Boundary Tests
DescriptionEnsures proper functionality at the input limits
Protocol
- Perform these tasks on the following site:
- Decapod Server: Starting the Real Server
Test 22: Camera Message - 1 supported camera
Procedure:
- Close the browser and open it again.
- Open the application in the browser. (i.e. http://localhost:8080)
- Attach a single supported camera to the system and turn it on.
- Select "Capture a new book" on the UI.
Results:
- The text "It seems like you have only one camera connected... Decapod requires two matching, supported cameras."
- There are three clickable links: "supported cameras", "try again", and "skip camera setup".
Test 23: Camera Message - 2 supported, unmatched cameras
Procedure:
- With the results from Test 12 still open, attach another supported, but unmatched camera to the system and turn it on.
- Select "Try Again" on the UI.
Results:
- "It seems you have two supported cameras connected, but they do not match..."
Test 24: Camera Message - 1 unsupported camera
Procedure:
- With the results from Test 21 still open, remove all attached cameras and attach a single unsupported camera.
- Select "Try Again" on the UI.
Results:
- "It seems you have only one camera connected, and it is incompatible...." message should appear on the screen.
Test 25: Camera Message - 2 unsupported cameras
Procedure:
- With the results from Test 14 still open, attach another unsupported camera.
- Select "Try Again" on the UI.
Results:
- "It seems you have two cameras connected, but they are not compatible..." message should appear on the screen.
Test 26: Camera Message - 1 unsupported and 1 supported camera
Procedure:
- With the results from test 15 still open, detach an unsupported camera, and attach a supported camera to the system.
- Select "Try Again" on the UI.
Results:
- "It seems you have two cameras connected, but one is not compatible..." message should appear on the screen.
Test 27: Camera Message - 0 cameras attached
Procedure:
- With the results from test 16 still open, disconnect any cameras currently attached to the system
- Select "Try Again" on the UI.
Results:
- "It seems like no cameras are connected..." message appears.
Test 28: Skip Calibration
Procedure:
- With results from Test 17 still open, press the "Skip camera setup" link.
Results:
- The UI changes to the Decapod Capture interface.
Test-to-Fail
Description
Tests which should cause errors or not be accepted as input.
Protocol
- Perform the following test
- Decapod Server: Starting the Decapod Server
Test 29: Connecting a Camera with a Memory Card Installed
Procedure:
- Start the server and load the application with no cameras attached.
- Once server has started, attach a camera with a memory card installed.
- Turn on the camera.
- The OS will display a dialog asking the user for an action. Leave this dialog open.
- Perform Tests 1 - 3.
Results:
- Test 3 should fail.