GetTestCaseState Function

Action

Returns the state of the current test case.

Syntax

TestState = GetTestCaseState()
Variable Description
TestState The state of the currently running test case. TESTCASESTATE.

Notes

The return value is one of the following values:
Value
Description
NULL
No test case is running.
TCS_ENTERING
The test case is in TestCaseEnter or DefaultTestCaseEnter.
TCS_RUNNING
The test case is currently running.
TCS_EXITING
The test case is in TestCaseExit or DefaultTestCaseExit.