Share via


WIA Transfer Test

This manual test is initiated by the Windows® Image Acquisition (WIA) Data Transfer tool, which is an automated Windows Driver Kit tool for testing the behavior of WIA minidrivers that are related to data transfer.

The test tool verifies that a driver does not cause applications or the WIA service to crash or hang during data transfer. It also verifies that the correct behavior is implemented by the driver for different configurations, sequences of actions, and errors that may occur during transfer. This tool ensures that there is no ambiguity in the driver's behavior in these scenarios. This improves compatibility between all WIA drivers and WIA applications.

Test details

Associated requirements

Device.Imaging.Scanner.Base.dataTransfer

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~2 minutes

Categories

Certification Functional

Type

Manual

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Scanner Testing Prerequisites.

Before running this test the Wdk\ConfigureScanner dimension must be added to the computer pool. To do add the dimension to the computer pool, complete the following steps:

  1. From the Windows Certification Test Kit Studio, open the Job Monitor.

  2. Select the computer pool containing the test computer that the test scanner is attached to.

  3. Right-click the computer pool to open the properties page, and then select the MCU Policy tab.

  4. From the available dimension list select Wdk\ConfigureScanner, add it to the machine pool and then click Ok.

In addition, if your device supports automatic document feeding, this test requires the following:

  • Enough paper in the feeder (usually about 50 pages).

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Imaging Testing

For test failures, search for the term “+sev” in the log.

The test executable supports verbose logging. Use the /verboselog:1 command-line option when running the test to enable verbose logging. Detailed logging is recorded in a WTT log file.

More information

The WIA Data Transfer tool runs either from the WDK or from the command line. It logs results to the console and to a WTT log file, and can be configured to log at two different levels of verbosity. By default, it runs all test cases but individual test cases can be specified as well.

WIA 2.0 is a requirement for the test to pass in Windows 7 and Windows 2008 R2. WIA 2.0 is not a requirement for Windows Vista

To set up this tool manually, follow these steps:

  1. Install the WIA device to be tested.

  2. Register WiaTestLog.dll using RegSvr32

  3. Run the WiaTransfer Tool from a command prompt.

Note  

WIA tests may fail if you do not use the WIA Friendly name. To resolve this, follow these steps:

 

  1. Restart the Windows HCK Client and wait for it to log in.

  2. Close the Device Console.

  3. Re-open the submission.

This will ensure that the gatherer data is in-sync and that the friendly name is populated.

If the steps above do not work, please work with your driver developer to make sure that the INF is referencing the driver correctly.

 

 

Send comments about this topic to Microsoft