IWDTFCONFIG2::EnableObjectLogging method (wdtf.h)

Enables object logging for all objects.

Syntax

HRESULT EnableObjectLogging();

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

Requirements

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

See also

IWDTFCONFIG2