Dela via


Print Driver Device Capabilities Test (PrDeviceCapabilities)

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

   
Specifications
  • Device.Imaging.Printer.Base.deviceCapabilities
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
  • Windows 10, client editions (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 2
Category Scenario
Timeout (in minutes) 120
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

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 generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

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

More information

Parameters

Parameter name Parameter description
LLU_NetAccessOnly Logical Local User: Network Access only.
WDKPrinterName Printer name.
TestExecutable Name Test Executable name.