> 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/test-tool-integrations/tosca-cloud/run-a-test-in-tosca-cloud.md).

# Run a test in Tosca Cloud

Footprints first, enable TIA, then configure and run a Tosca Cloud playlist.

Operational order for Tosca Cloud playlists with SeaLights:

1. Start footprints and keep them running
2. Enable TIA
3. Configure the playlist and run the test

Adapter setup (if needed): [Connect Tosca Cloud to SeaLights](broken://pages/KWz17kExfX3vexGN20xZ).

## 1. Start footprints collection

Start footprints for the pipeline before you enable TIA or run a playlist. Leave the task running throughout.

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

## 2. Enable TIA

With footprints still collecting:

1. In SeaLights, enable **Test Optimization** for your application.
2. On the playlist **Configuration → Parameters**, set **SeaLightsOptimization** = **true**.

{% hint style="danger" %}
Playlist parameter names are **case sensitive**.
{% endhint %}

Tricentis UI: [Optimize with SeaLights (Tosca Cloud)](https://documentation.tricentis.com/tricentis_cloud/en/content/admin_guide/sealights_integration.htm?Highlight=sealights#optimize_sealights).

## 3. Configure the playlist and run

Still with footprints collecting:

1. In Tosca Cloud **Integrations → SeaLights**, enter the SeaLights Agent Token ([SeaLights integration](https://documentation.tricentis.com/tricentis_cloud/en/content/admin_guide/sealights_integration.htm)).
2. On the playlist:

<figure><img src="https://1120332842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMsXHfFNCMXIaXf5BTCm6%2Fuploads%2FEBuXUSiKxFD9rK9d5DFF%2Fimage.png?alt=media&amp;token=64b2c96f-8aae-4cc2-99ed-38351f6560d0" alt="Tosca Cloud playlist configuration showing SeaLightsLabId parameter." width="375"><figcaption><p>Set <strong>SeaLightsLabId</strong> to the pipeline lab ID.</p></figcaption></figure>

3. Run the playlist against your QAS system.
4. Wait for SeaLights to process Footprints data, then open the Coverage Report / **Test Optimization** view for your application.

{% hint style="info" %}
SeaLights needs time to process Footprints data before coverage updates appear.
{% endhint %}

<figure><img src="https://1120332842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMsXHfFNCMXIaXf5BTCm6%2Fuploads%2FvB6wXKE2RKhJ89Yc1lhW%2Fimage.png?alt=media&amp;token=9a0b8fc4-4740-453f-99b3-c4d036e231cd" alt="SeaLights Coverage Report showing covered ABAP components."><figcaption></figcaption></figure>

Keep `search_testrepo` scheduled so recommendations stay aligned with Cloud tests — see [Search Test Repositories](broken://pages/3dzoIdoAGQw91N8Jpn6t).

## Related

* [Tosca Cloud runner and TIA](broken://pages/zVhfQlDB3kh3AEmmVE1X) (Part 3)
* [Connect Tosca Cloud to SeaLights](broken://pages/KWz17kExfX3vexGN20xZ)
* [Tosca Commander](broken://pages/7W4EDP6qktKvhpqJfhAj)
