MTP Compliance Test - Requirements - Digital Video Camera
This device test validates compliance with the Picture Transfer Protocol (PTP) and Media Transfer Protocol (MTP).
This test makes sure that devices that use the MTP class driver comply with PTP and/or MTP implementation standards. This test is directed at digital video 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
Associated requirements |
Device.Portable.DigitalVideoCamera.MTP |
Platforms |
Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 |
Expected run time |
~5 minutes |
Categories |
Certification Functional |
Type |
Automated |
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 troubleshooting information, see Troubleshooting Device.Portable Testing.
More Information
This test requires that a PTP or MTP-compatible device is installed using the MTP Class Driver. The test is fully automated with Pass/Fail results for each requirement.This test is divided into the following functional categories:
Device Capabilities tests
Operations tests
Object Property tests
Each functional category above contains child test cases, which test the subcomponents that fall under the corresponding category.
The test validates that the following operations are supported by the device:
OpenSession
CloseSession
GetDeviceInfo
GetStorageIDs
GetStorageInfo
GetNumObjects
GetObjectHandles
GetObjectInfo
GetObject
GetDevicePropDesc
GetDevicePropValue
All other supported operations, device properties, and object properties are considered optional and are therefore 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. Please refer to the Certification Requirements for more information.
Command syntax
Command | Description |
---|---|
te.exe /p:”BVT=TRUE” MtpTest.dll /select(@name='@CapabilitiesTests*') /p “DeviceProfile=MtpDigitalVideoCamera.xml” |
Runs the test. |
Note
For command-line help for this test binary, type /h.
File list
File | Location |
---|---|
Mtptest.dll |
<testbinroot>\mtp\ |
MtpDigitalVideoCamera.xml |
<testbinroot>\mtp\ |