MTP Compliance Test - Requirements - Digital Camera

This device test validates compliance with Picture Transfer Protocol (PTP) and Media Transfer Protocol (MTP).

This test makes sure that devices support specific requirements for digital cameras. This test is directed at digital camera devices that use MTP. This test validates compliance with defined protocols based on requirements that are documented in the Windows Certification Program.

Note

   This test does not cover the following items:

  • Digital rights management (DRM) validation

  • Devices that use proprietary (third-party) drivers that work with the Windows Portable Device (WPD) driver stack

 

Test details

   
Specifications
  • Device.Portable.DigitalCamera.MTP
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
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) 5
Category Development
Timeout (in minutes) 300
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: Device.Portable Testing Prerequisites.

This test copies test content to the device for testing. If the device is read-only make sure the device has at least one file of each format type supported by the device.

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting Device.Portable Testing.

More information

This automated test requires a PTP or MTP-compatible device and provides Pass/Fail results for each requirement.

This test is divided into the following functional categories:

  • Device Capabilities tests

  • Operations tests

  • Device Properties

  • Object Property tests

Each functional category contains child test cases, which test the subcomponents that fall under the corresponding category.

The test validates that the device supports the following operations:

  • OpenSession

  • CloseSession

  • GetDeviceInfo

  • GetStorageIDs

  • GetStorageInfo

  • GetNumObjects

  • GetObjectHandles

  • GetObjectInfo

  • GetObject

  • GetDevicePropDesc

  • GetDevicePropValue

The test validates that the following formats are supported:

  • Association

  • EXIF/JPEG

All other supported operations, device properties, and object properties are considered optional, and therefore will be validated according to implementation details defined in the Picture Transfer Protocol (PTP) for Digital Still Photography Devices, Version 1.0 (PIMA15740) and Media Transfer Protocol (MTP), Revision 1.0.

Command syntax

Command option Description

te.exe /p:"BVT=TRUE" MtpTest.dll /select(@name='@CapabilitiesTests*') /p "DeviceProfile=MtpCamera.xml"

Runs the test.

Note

   For command-line help for this test binary, type /h.

 

File list

File Location

Mtptest.dll

<testbinroot>\mtp\

MtpCamera.xml

<testbinroot>\mtp\

 

Parameters

Parameter name Parameter description
WDKDeviceID
WpdTestDir
TaefTestFile
TaefParameters
TestParameters
TestSelect