For the complete documentation index, see llms.txt. This page is also available as Markdown.

Run a test in Tosca Commander

Run Tosca Commander tests with SeaLights lab ID, Footprints coverage, and TIA.

After you connect Tosca Commander and have created a Footprints scheduled task, configure Tosca so each run associates with your SeaLights app's latest Build Modification.

Test-runner integration

  1. Ensure the SeaLights integration is enabled in Tosca Commander (see the Tricentis integration overview).

  2. On the execution list, playlist, or configuration you use for ABAP testing:

SeaLightsLabId in Tosca Commander or Tosca Cloud must match the labid of your ABAP pipeline:

  1. On the agent host, run pipeline list (no parameters). Syntax and example output: Create and list pipelines.

  2. In the output, find the block for your pipeline and note the labid line (for example, labid : S21 vwsvtstsap13.tricentis.com).

  3. Set SeaLightsLabId on your Tosca execution list, playlist, or configuration parameters to that value (without the labid label).

  4. Set SeaLightsOptimization = true when you want SeaLights Test Optimization to influence which tests run.

Exact screens differ by Tosca Commander version. If a parameter is not visible, follow the Tricentis SeaLights integration guide for your release.

Once the test repository is configured and the connection test succeeds:

  1. Finish any remaining agent setup for the pipeline (RFC, pipeline, additional test repositories) if you have not already.

  2. Schedule repository search with search_testrepo.

  3. Capture coverage with Footprints and your test runs.

For the full setup order, see Start the ABAP Agent Server and Configure Test Repositories.

search_testrepo registers a Windows Scheduled Task that runs watcher.exe SEARCH_TESTREPO on a cron schedule.

Parameter
Required
Description

--pipeline

Yes

Pipeline name ([[pipeline]].name).

--testrepo

Yes

Test repository name ([[testrepo]].name) linked to that pipeline.

--cron

No

5-field cron expression. Default: 0 2 * * 0 (Sunday at 02:00).

Full command reference (stop, list, prerequisites): Search Test Repositories.

SeaLights associates test executions with ABAP code changes through Footprints on the agent side.

1

Schedule Footprints for the pipeline

This creates a FOOTPRINTS scheduled task that periodically collects coverage-related data and sends it to SeaLights. Full syntax and stop command: Collect Footprints data for your Pipeline.

2

Run tests against the QAS system

Execute tests that exercise the ABAP components you care about while Footprints is collecting. The agent matches executed ABAP components against objects in the latest Build Modification and reports them as footprints.

3

Wait for processing, then check the Coverage Report

SeaLights needs time to process Footprints data. When processing completes, covered ABAP components appear in your application's Coverage Report.

Run the test and verify coverage

  1. Confirm Footprints is scheduled: slabapcli footprints run --pipeline <pipeline-name> (see Collect Footprints data).

  2. Run the Tosca Commander execution that targets your QAS system.

  3. Wait for SeaLights to process Footprints data, then open the Coverage Report for your application.

If the test executes ABAP components that appear in the latest Build Modification, those components show as covered.

Test Impact Analysis (TIA)

Use TIA after you have baseline coverage and a working code-to-test mapping from repository search:

1

Enable Test Optimization in SeaLights

In the SeaLights dashboard for your application, enable Test Optimization. SeaLights then recommends only tests impacted by code changes instead of the full suite.

2

Keep repository search current

Ensure search_testrepo is scheduled for your Tosca Commander repository so recommendations stay aligned with the tests in Tosca.

3

Process a transport (build modification)

Import or process a transport that contains known code changes so the agent creates a Build Modification. See Monitor your Pipeline for Build Modifications.

4

Re-run with SeaLightsOptimization

Run the same Tosca Commander suite again with SeaLightsLabId set and SeaLightsOptimization = true. Observe that only the recommended (impacted) tests execute, then review results on the SeaLights Test Optimization screen.

Tricentis also documents optimization here: Optimize your Tosca test run with SeaLights.

Last updated

Was this helpful?