Delen via


HID Radio Button - Verify HID Usages

This manual test verifies that the HID driver for the hardware radio switch correctly implements the HID usage IDs described in the requirement.

Test details

Associated requirements

System.Client.RadioManagement.HardwareButton System.Client.RadioManagement.RadioManagementAPIHID

See the system hardware requirements.

Platforms

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

~2 minutes

Categories

Basic 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.

In addition, input a value for following parameter before running the test:

Parameter Value

HardwareType – this parameter tells the tests which type of hardware button is installed on the system:

TOGGLE_BUTTON – A system with a hardware radio button of TOGGLE type. This can be a Toggle Button with an LED, or a Toggle Button without an LED.

TOGGLE_LED – A system that does not have a hardware radio button, but does have an LED which toggles on and off.

AB_SLIDER – A system with a hardware A-B slider switch. This can be an A-B slider with an LED, or an A-B slider without an LED.

No Value (empty string) – A system that does not have a hardware radio button, an LED, or an A-B slider switch. The tests ensure that a radio HID driver is not installed and, if so, will pass. If a radio HID driver is detected and the HardwareType parameter is an empty string, the test will fail.

 

Troubleshooting

For troubleshooting information, see Troubleshooting System Client Testing.

The tests provide logs which describe what action caused a failure, along with any related HRESULT values to assist in debugging issues.

More Information

This test verifies the HID driver for the hardware radio switch correctly implements the HID usage IDs described in the requirement. The test prompts you to invoke the hardware radio switch and will pass/fail based on the HID usages it sees.

Command syntax

Command option Description

TE.exe HID_RadioLogoTest.dll /name:<test_name> /p:HardwareType=<HardwareType>

Runs the selected test from the command line.

For example: TE.exe HID_RadioLogoTest.dll /p:HardwareType=AB_SLIDER /name: HidSwitchLogoTests::VerifyHidSwitchDriver

TE.exe HID_RadioLogoTest.dll /list

Shows the list of tests that are defined in the test dll:

C:\Test>TE.exe HID_RadioLogoTest.dll /list Test Authoring and Execution Framework v2.9 for x86

C:\Test\HID_RadioLogoTest.dll HidSwitchLogoTests HidSwitchLogoTests::VerifyHidSwitchDriver

 

File list

File Location

HID_RadioLogoTest.dll

<testbinroot>\nttest\nettest\netui\RadioManagement\Logo

*TAEF files

<testbinroot>\..\..\TaefBinaries\<architecture>

 

 

 

Send comments about this topic to Microsoft