END_TESTCASE

END_TESTCASE <TestCase ID>

Marks the end of a block of script commands that represent a single testcase. TestExecute examines the results file for a matching START_TESTCASE and prints a TestCase result to the logfile.

If all of the teststeps between START_TESTCASE <TestCaseID> and END_TESTCASE <TestCaseID> pass, the overall test case result is marked as a pass. Otherwise it is marked as a fail. The testcase result is marked as unknown if the TestCase IDs do not match.

An END_TESTCASE command will not be processed until all outstanding test steps are processed.

If an END_TESTCASE is encountered in a script file, then a TestCase summary is added to the results file in addition to the TestStep summary.