次の方法で共有


TestCase::SetKey method

Sets the key of the TestCase.

Syntax

virtual HRESULT SetKey(
  [in] LPCWSTR key
) = 0;

Parameters

key [in]

The key.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

The TestCase objects hold information from the Iteration/TestCases/TestCase elements.

The key is the value of element TestCase/Key.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

TestCase