> For the complete documentation index, see [llms.txt](https://sealights-docs.tricentis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sealights-docs.tricentis.com/setup-and-configuration/guides/tosca-cloud-runner-and-tia.md).

# Tosca Cloud runner and TIA

Tosca Cloud only — start footprints, enable TIA, then configure and run playlists with SeaLights.

**Part 3** of the ABAP Agent 2.0 path — **Tosca Cloud only**. Use after [Setup and installation](broken://pages/jvmOWRjO10SvuLg7G51U) and preferably [Show the value with Test Cycles](broken://pages/EXMBmOkLCBbhPiWjM2ki).

Goal: playlist **test-runner** reporting plus **Test Impact Analysis (TIA)**, beyond day-zero Test Cycle downloads.

{% stepper %}
{% step %}

### Prerequisites

* Part 1 complete (pipeline, build, `toscacloud` test repository)
* Preferably Part 2 complete (at least one build modification)
* Access to Tosca Cloud and SeaLights for your application
  {% endstep %}

{% step %}

### Start footprints collection

Start footprints for the pipeline **first**, and leave the task running for the rest of this flow.

Do not run `footprints stop` until you finish collecting coverage. Reference: [Collect Footprints data for your Pipeline](broken://pages/BtrDV52TrGwLRpGXR4Nd).
{% endstep %}

{% step %}

### Enable TIA

With footprints still collecting:

1. In SeaLights, enable **Test Optimization** for the application.
2. On the Tosca Cloud playlist, set **SeaLightsOptimization** = **true** (case sensitive).

Product UI details: [Optimize with SeaLights (Tosca Cloud)](https://documentation.tricentis.com/tricentis_cloud/en/content/admin_guide/sealights_integration.htm?Highlight=sealights#optimize_sealights) and [How SeaLights Builds Test Recommendations for SAP](https://docs.sealights.io/knowledgebase/test-optimization/test-optimization-for-sap/test-recommendations-for-manual-testing/how-sealights-builds-test-recommendations-for-sap).
{% endstep %}

{% step %}

### Configure Tosca Cloud and run a test

Still with footprints collecting, finish the adapter / playlist setup and run:

* Adapter and connection: [Connect Tosca Cloud to SeaLights](broken://pages/KWz17kExfX3vexGN20xZ)
* Playlist parameters and run/verify steps: [Run a test in Tosca Cloud](broken://pages/Bnfig4POuF0n76usnSUk)

Set **SeaLightsLabId** to the pipeline lab ID (leave `--labid` unset on `pipeline set`).
{% endstep %}

{% step %}

### Verify in SeaLights

Open **Test Optimization** for your application and confirm playlist results map to the expected build / build modification and that optimization behaves as configured on later runs.
{% endstep %}
{% endstepper %}

## Related

* [Tosca Cloud](broken://pages/ipS7hWsMxAB9qf7Bdg5G)
* [Show the value with Test Cycles](broken://pages/EXMBmOkLCBbhPiWjM2ki)
* [Tosca Commander](broken://pages/7W4EDP6qktKvhpqJfhAj) — Commander path (separate from Cloud)
