Expand Minimize

Webcam Controls - FlashMode - Manual System Test

These set of tests validate cameras functionality if driver supports KSPROPERTY_CAMERACONTROL_EXTENDED_FLASHMODE, otherwise they should skip. Note this is an optional control.

If driver does not want to support a control they should not implement a control handler just to return an error. If control handler is registered test will expect control to be fully functional.

If camera Supports Extended control KSPROPERTY_CAMERACONTROL_EXTENDED_FLASHMODE it will validate On, off, and auto for the photo modes supported.

First the test will prompt user to move camera to a dark enough area where auto flash should also be active. Then it will randomly set the flash control to Auto, on, and off, once the setting has been committed to the driver test will call take photo command. Then test will prompt user whether camera flashed during the take photo. If flash is set to on or auto then driver should always flash, if flash is off then camera should never flash.

Second the test will prompt user to move camera to a light enough area where auto flash never flash. Then test will randomly set the flash control to Auto, on, and off, once the setting has been committed to the driver test will call take photo command. Then test will prompt user whether camera flashed during the take photo. If flash is set to on then driver should always flash, if flash is auto or off then camera should never flash.

Last if camera supports KSPROPERTY_CAMERACONTROL_EXTENDED_PHOTOMODE test will set the device into photo sequence with Flash on and Single Flash or off. Test will prompt user if camera flashed on photo sequence operation. Note there should only be one flashed frame.

Note Driver should report MF_CAPTURE_METADATA_PHOTO_FRAME_FLASH on samples on which camera flashed, note only one frame should have this for photo sequence if Single flash is set.

Test details

 

Associated requirements

System.Client.Webcam.VideoCaptureAndCamera

See the system hardware requirements.

Platforms

Windows RT 8.1
Windows 8.1 x64
Windows 8.1 x86

Expected run time

~30 minutes

Categories

Certification
Functional

Type

Manual

Running the test

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

If the driver implements KSPROPERTY_CAMERACONTROL_EXTENDED_FLASHMODE, you need a room where lighting levels can be adjusted.

Troubleshooting

See Also

Show:
© 2014 Microsoft