> 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/sealights-agents-and-plugins/abap-agent/test-tool-integrations/tosca/run-a-test-in-tosca.md).

# Run a Test in Tosca

{% hint style="warning" %}
Make sure that you set the PIPELINE with `--labid` parameter
{% endhint %}

After you have created a FOOTPRINTS scheduled task, the next step is to configure Tosca so that when you run a test, the execution is associated with your SeaLights app’s latest Build Modification. You can do this as follows:

### Configure Tosca Cloud playlist with Sealights Lab ID <a href="#toc201668106" id="toc201668106"></a>

1. Configure your Tosca Cloud workspace to work with Sealights.:
   1. Go to integrations
   2. Select Sealights
   3. Enter Sealights Agent Token
2. Configure Tosca Playlist to run with Sealights Test Optimization:
   1. Go to a playlist you wish to integrate with Sealights
   2. In the Configuration tab, under Parameters, enter the following values:
      1. **SeaLightsLabId = `labid configured in the pipeline set command`**
      2. **SeaLightsOptimization** = **true**

{% hint style="danger" %}
**Careful! Playlist Configuration parameters are case sensitive!**
{% endhint %}

<figure><img src="/files/aEKgipAnb3SMCniHGsly" alt="" width="375"><figcaption></figcaption></figure>

### Run the test <a href="#toc201668108" id="toc201668108"></a>

You can now run a test in Tosca. If the test executes any ABAP components in the latest Build Modification for your SeaLights app, you’ll see the test coverage in your app’s Coverage Report.

{% hint style="info" %}
**Note:** It takes some time for SeaLights to process the Footprints data.
{% endhint %}

The following Coverage Report for Pipeline **HH\_SLABAPCLI\_170625** shows that Function **YCD\_GET\_MATL\_PRICES** and Program **YCDMAINPROG** have code that’s covered by a Tosca test.

<figure><img src="/files/DEDlJN2Mx37VaS9qmg0J" alt=""><figcaption></figcaption></figure>
