Webcam Pressure Security Test

This test verifies that a webcam device and driver meet specifications. Some test cases check for correct error handling by the device and its driver. If the device or driver incorrectly handles these test cases, the computer might stop responding.

Test details

 

Associated requirements

Device.Streaming.Webcam.Base.AVStreamWDMAndInterfaceRequirements
Device.Streaming.Webcam.Base.BasicPerf
Device.Streaming.Webcam.Base.DirectShowAndMediaFoundation
Device.Streaming.Webcam.Base.KSCategoryVideoCameraRegistration
Device.Streaming.Webcam.Base.MultipleClientAppSupport
Device.Streaming.Webcam.Base.ReportingCameraLocation
Device.Streaming.Webcam.Base.SurpriseRemoval
Device.Streaming.Webcam.Base.UsageIndicator
Device.Streaming.Webcam.Base.WindowsCaputureInfrastructureCameraSupport
Device.Streaming.Webcam.H264.H264Support
Device.Streaming.Webcam.NonMSDriver.VideoInfoHeader2

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

~10 minutes

Categories

Certification
Reliability

Type

Automated

Running the test

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

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Streaming Testing.

More information

This test is a quality assurance test for multimedia device drivers.

When the test starts, it automatically enumerates all devices with one of the following KSCATEGORY values, which are defined in the KSMEDIA.H header file in the Microsoft Windows Driver Kit (WDK):

  • KSCATEGORY_CAPTURE

The test then enumerates the devices that are found in each category.

The following example shows a subset of the enumeration display, with the device Friendly Name preceding the internal device name.

Class KSCATEGORY_CAPTUREDevice #29 [TestCap Capture]: \\?\root#media#0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global

Most of the test cases are run against one or more selected devices. The first test case, 1.1 Enumerate devices, does not need a device, as it finds applicable devices. To open the Device Selection dialog box, on the Options menu, click Select Devices (or press Ctrl+D). You can select none, one, some, or all devices.

All selected test cases are run sequentially against the first device that is selected in the list (which is in order of enumeration). Then, the test cases run against the next device in list, and the next, until all test cases run against all devices.

The security test cases enumerate multimedia drivers and attempt to verify the driver's ability to survive being sent malformed and invalid data. Drivers that fail this testing will typically cause the computer to stop responding.

Parameters

 

Parameter Description

WDKDeviceID

Specifies the Plug and Play (PnP) ID of the device to be tested.

Example: \\?\root#media#0001#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global

Command syntax

 

Command option Description

PressureTest.exe

The test enumerates the test devices.

-c [string]

Starts the application and runs the test cases that are specified in the .profile file.

-h [string]

Specifies the Plug and Play (PnP) ID of the device to be tested.

-l

Enables the logging of test results.

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

File list

 

File Location

PressureTest.exe

<testbinroot>\nttest\\multimediatest\AVCore\

PressureWLK.pro

<testbinroot>\nttest\multimediatest\avcore\vidcap\

S98wtt.dll

<testbinroot>\nttest\multimediatest\common\

Show:
© 2014 Microsoft