Context Information

Each script runs either in the context of a testcase or of a testsuite. When running a testcase, it usually runs as part of a testsuite-execution.

The script provides you a context-object that offers information about the context the the current testcase or testsuite is running.

Context.RunIdProvides the ID of the current test-run.
Context.SuiteIdProvides the ID of the testsuite that is running.
Context.SuiteNameProvides the Name of the testsuite that is running.
Context.TestIdProvides the ID of the testcase that is running.
Context.TestNameProvides the Name of the testcase that is running.

Table of Contents