> For the complete documentation index, see [llms.txt](https://docs.smartbotpro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smartbotpro.io/scripts/basics/script-testing.md).

# Script testing

Before running the script for users, it is worth testing it for yourself.&#x20;

We advise you to first enable the output of debug messages in the project settings in order to see exactly what actions the bot performs.

<figure><img src="/files/09eIljZ0vDUhZ9ujm3hi" alt=""><figcaption><p>Переходим в настройки проекта</p></figcaption></figure>

<figure><img src="/files/tmZ5Oq3KWxopwxn9S7G4" alt=""><figcaption><p>Включаем режим отладки</p></figcaption></figure>

Now we need to go to the script that we will test.&#x20;

Hover over the block you want to start testing from. An indicator with three dots will appear on the right.

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

When you hover over this indicator, a context menu will appear, where you will see the item "Test"

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

Click on this item, and a list of your channels associated with the scenario will appear on the side.&#x20;

It remains only to click on the "Start" button.&#x20;

The bot will send messages to the specified channel.

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

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

You can test the scenario both from the very beginning and from any block :thumbsup:
