Mouse Test Cases
The Mouse Test executes the tux –o –d mousetest
command line on default execution. This test has no additional functionality that you can add.
Prior to running each test case, a dialog box prompts you to confirm whether you want continue running tests. If you choose No, the previous test is logged as a failure and the remaining tests are aborted. If you choose Yes, the previous test is logged as passed and the next test runs. If you choose Cancel, the remaining tests are skipped.
The following table shows the test cases for the Mouse Test.
Test case | Description |
---|---|
40: Simple Left Click | Verifies the coordinates of the mouse when you click the left mouse button. To complete the test, you must click the left mouse button in the specified boxes when prompted. This test fails only if you choose No at the end of the test. |
41: Corner Left Click | Verifies the coordinates of the mouse in the corner of the screen when you click the left mouse button. To complete the test, you must click the left mouse button in the boxes when prompted. This test fails only if you choose No at the end of the test. |
42: Double Left Click | Verifies the coordinates of the mouse when you double-click the left mouse button. To complete the test, you must double-click the left mouse button in the boxes when prompted. This test fails only if you choose No at the end of the test. |
43: Left Drag | Verifies that the click-and-drag action of the left mouse button works correctly. This test fails only if you choose No at the end of the test. |
44: Wheel | Tests the functionality of the mouse wheel. This test fails only if you choose No at the end of the test. |
45: Simple Right Click | Verifies the coordinates of the mouse when you click the right mouse button. To complete the test, you must click the right mouse button in the specified boxes when prompted. This test fails only if you choose No at the end of the test. |
46: Corner Right Click | Verifies the coordinates of the mouse in the corner of the screen when you click the right mouse button. To complete the test, you must click the right mouse button in the boxes when prompted. This test fails only if you choose No at the end of the test. |
48: Right Drag | Verifies that the click-and-drag action of the right mouse button works correctly. This test fails only if you choose No at the end of the test. |
49: Simple Middle Click | Verifies the coordinates of the mouse when you click the middle mouse button. To complete the test, you must click the middle mouse button in the specified boxes when prompted. This test fails only if you choose No at the end of the test. |
50: Corner Middle Click | Verifies the coordinates of the mouse in the corner of the screen when you click the middle mouse button. To complete the test, you must click the middle mouse button in the boxes when prompted. This test fails only if you choose No at the end of the test. |
52: Middle Drag | Verifies that the click-and-drag action of the middle mouse button works correctly. This test fails only if you choose No at the end of the test. |
Remarks
This test library can have one or more optional command-line entries to change the behavior of the test. To specify one or more optional command-line entries to the test library, you must use the –c
command-line option. This option forces Tux to pass the specified string into the test library.
See Also
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.