Поделиться через


Print Driver Device Capabilities Test (PrDeviceCapabilities) 2

This automated test queries the driver to ensure that the driver returns the correct information for the GetDeviceCapabilities API call.

The output is a XML file that is named prdevcaptest.xml. This file contains the pass or fail information. This test does not produce any output to the physical printer.

Test details

Associated requirements

Device.Imaging.Printer.Base.deviceCapabilities

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

Automated

 

Running the test

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

The expected exit code is 0. The pass/fail of the job is determined by the log.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Imaging Testing.

Failure of this test can be identified if the debugger breaks in, or the log file indicate a failure.

The following are the log files for this test:

  • prdevcaps.xml

  • prdevcaps_DeviceLogger.xml

 

 

Send comments about this topic to Microsoft