Share via


MTP Compliance Test - Core - Service Operations

This test validates compliance with the Windows implementation of the Media Transfer Protocol (MTP) and ensures that devices use the MTP class driver that is included with Windows.

Test details

Associated requirements

Device.Portable.Core.CustomDeviceServices Device.Portable.Core.DeviceServices Device.Portable.Core.MTP

See the device hardware requirements.

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.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Portable Testing.

More information

Parameters

Parameter Description

WDKDeviceID

The Device ID

DeviceProfile

The profile of the device: MtpCamera MtpMediaPlayer, MtpCellphone, MtpDigitalVideoCamera, MtpOther.

Default value: MtpCore

WpdTestDir

The directory that contains the test.

TaefTestFile

The name of the test file.

Default value: MtpTest.dll

TaefParameters

The parameters used with TAEF.

Default value: /inproc /enablewttlogging

TestParameters

The parameters used with the test.

Default value: /p:”BVT=TRUE”

TestSelect

The test that should be ran.

Default value: /select:”@TestClassificationType=’*HCK’ and @name=’MtpTestMod.ServiceOperationsTests*’”

 

Command syntax

Command Description

te.exe /p:”BVT=TRUE” MtpTest.dll /select:”@TestClassification:Type='HCK' and NOT(@name='*MtpTestMod.ServiceOperationsTests*')”

Runs the test.

 

File list

File Location

Mtptest.dll

<testbinroot>\mtp\

 

 

 

Send comments about this topic to Microsoft