Execute Test Cases actions

Execute Test Cases actions run the specified execution list in the specified Pipeline’s Most-at-risk Hits Execution Test Repository, or in the specified Tosca Test Repository. The execution is performed using a Tosca configuration object that is managed using DEX (Tricentis Distributed Execution Engine). Execute Test Cases actions support Tosca Test Repositories only.

When the action is run, a configuration and execution list are supplied to DEX, which handles the execution using an appropriate agent that supports the configuration. The configuration path is set in the Tosca Test Repository’s Configuration field; the execution list ID is supplied in the action’s Source table. Note that an execution list still may be executed if a configuration path has not been set.

As a result of the execution, a test event is created in Tosca’s Execution Tab, with the format LiveCompare_<YYYY-MM-DD>T<timestamp>. The results are returned in the Execute Test Cases action’s Result dataset.

Action property Description
Pipeline A Pipeline parameter or dataset whose Most-at-risk Hits Execution Test Repository provides the Test Repository in which to execute test cases.
Result A Table dataset that stores the Tosca test events that were created as a result of the execution.
Source A Table parameter or dataset containing unique IDs of one or more Tosca execution lists in its TEST_LIST_ID column.
Test Repository A Test Repository parameter or dataset referring to the Tosca Test Repository in which to execute test cases. If both a Test Repository and Pipeline are specified, the action uses the specified Test Repository only.
  • If a Test Repository is specified, the Execute Test Cases action creates and runs test runs.

  • If a Pipeline is specified, the Execute Test Cases action uses the options specified for the Pipeline’s Execute Test Repositories.

The Result dataset has the following columns.

Column Description
TEST_REPOSITORY The name of the Test Repository in which the test case was executed.
TEST_REPOSITORY_TYPE The type of the Test Repository in which the test case was executed.
TEST_EVENT_ID The unique ID of the Tosca test event that was created as a result of running the execution list.
TEST_EVENT_NAME The name of the Tosca test event.
TEST_EVENT_PATH The Tosca test event’s path.
STATUS The status message returned by Tosca.

Example (Pipeline)

Execute Test Cases action example (Pipeline).

Example (Test Repository)

Execute Test Cases action example (Test Repository).

Test repository integrations