IWDTFCONFIG2 interface (wdtf.h)

Defines operations that control WDTF objects within a test script.

Inheritance

The IWDTFCONFIG2 interface inherits from the IDispatch interface.

IWDTFCONFIG2 also has these types of members:

Methods

The IWDTFCONFIG2 interface has these methods.

 
IWDTFCONFIG2::DisableObjectErrorLogging

Disables object error logging for all objects.
IWDTFCONFIG2::DisableObjectLogging

Disables object logging for all objects.
IWDTFCONFIG2::EnableObjectErrorLogging

Enables object error logging for all objects.
IWDTFCONFIG2::EnableObjectLogging

Enables object logging for all objects.

Remarks

WDTF object logging defaults to disabled. If object logging is enabled, each WDTF object writes to the test scripts log. If object logging is enabled, object error logging is enabled by default.

The following example shows the logging output for a call to DeviceDepot.Query("Volume::") when logging is enabled for an example system.


WDTF_TARGETS    : INFO  :  - Query("Volume::")
WDTF_TARGETS    : INFO  :          Target: Generic volume
WDTF_TARGETS    : INFO  :          Target: Generic volume
WDTF_TARGETS    : INFO  :          Target: HL-DT-ST RW/DVD MU10N ATA Device
WDTF_TARGETS    : INFO  :          Target: Generic volume
WDTF_TARGETS    : INFO  :          Target: Generic volume
WDTF_TARGETS    : INFO  :          Target: Generic volume

Requirements

Requirement Value
Minimum supported client Windows XP Professional
Minimum supported server Windows Server 2008
Target Platform Windows
Header wdtf.h