Export (0) Print
Expand All

How to Use the CETK to Test a Driver (Windows CE 5.0)

Windows CE 5.0
Send Feedback

You can use the Microsoft Windows CE Test Kit (CETK) to test a Windows CE–based device driver. You can connect the CETK to a Windows CE–based device and then select a test or tests to run on the target device. The CETK provides tests for several categories of peripheral devices. You should use the CETK to test a device driver after you develop the driver and after you have a run-time image on your target device.

To track your progress in the following table, select the check box next to each step.

 StepTopic
1. Create a new OS design, open an existing OS design, or start a Windows CE–based device.Creating an OS Design
2. If you have not built a run-time image, use Platform Builder to add support for the CETK to the OS design, and then build the run-time image.

If you have already built a run-time image, skip this step.

Adding support for the CETK to the OS design is optional, but building a run-time image is required. After you download a run-time image to a target device, Platform Manager can dynamically add support for the CETK to the running target device by copying the Clientside.exe file to the target device.

You can add support for the CETK to a running target device by manually copying the Clientside.exe file to the target device. In %_WINCEROOT%\Others\Wcetk, the Clientside.exe file is located in a directory with a name corresponding to the name of the CPU for your target device. For more information about manually adding support for the CETK, see Running the CETK Tool Without the CETK Client in the Run-Time Image.

Adding Support for the CETK to an OS Design in Platform Builder
3. Optional. If you want to define the characteristics of a custom test, create a custom Tux Test Harness (Tux) dynamic-link library (DLL). After creating a Tux DLL, use the User-Defined Test Wizard to add your test to the CETK.

The CETK provides a standard set of tests that you can run on your target device.

Building a Tux DLL with Platform Builder
4. Configure the settings for communication between the CETK and the target device, and then connect the CETK to the target device.Connecting the CETK to a Target Device by Using Platform Manager
5. Optional. Designate the directory on your development workstation where the CETK stores the results of CETK tests that are run.Selecting a Directory to Store Test Results
6. Optional. Configure the CETK to consolidate the results of several tests into a .cab file after the tests are complete. You can also choose to encrypt the results of a test.

Encryption prepares the results of a test for submission to the Driver Validation Program.

For more information about the Driver Validation Program, see this Microsoft Web site.

Choosing a Way to Store Test Results
7. Familiarize yourself with the CETK tests and decide which test or tests you want to run. CETK Tests
8. Run a single test.

You can also run all of the tests that are selected for a target device. For more information, see Running CETK Tests.

Running a Single Test in the CETK
9. View the results of your test or tests.Viewing the Results of a Test

If you select multiple tests to run on the target device, you can save your selection of tests for future use as a test suite. For more information, see Creating a Suite of Tests.

See Also

How-to Topics | Windows CE Test Kit | CETK Setup | How to Create a Device Driver


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft