Top.Mail.Ru
Script Testing and Publishing
CTRL+K

Script Testing and Publishing

In this article
  • Script Testing and Publishing
  • Running a Single Block
  • Testing a Script
  • Publishing a Script

Running a Single Block

To run and test an specific block, click Run test in the left panel while in edit mode.

Running the block

If the selected block relies on data from a previous block, you can manually enter input values. To do this, test the block first, then click the context menu icon and select Replace input values.

Replacing input values

Enter your values and run the test again. The block will retain your input values for future debug runs. To revert to the original values, click Restore.

Overriding input values

After testing, the block returns output data in the form of table columns. To see the column data type, hover over the column name.

Column data type

If the system does not support a data type, you will see a tooltip: "Will be converted to String" when hovering over the column name. For more information on data types refer to the Editing a Script page.

From the block settings panel on the left, you can test the current block or switch to other blocks that have not been configured or tested yet.

To test a block, click Test the block under its name. Once tested, the block fields available for mapping will appear in the mapping tree.

To configure a block, click Configure the block under its name. You will be redirected to the tab where you can add a connection or specify the block parameters.

Navigating to other blocks

Testing a Script

To test the full script, click Run test in the upper right corner while in edit mode.

Testing the script

During testing, the Testing tab opens automatically. The status Testing with the date and time appears at the top right corner of the canvas. A timer starts next to each block, and the number of records passed between blocks appears on the connecting lines.

Once the test is completed, the status changes to Tested.

The start date and time, timer, and transferred data remain visible until the next test run. Running another test replaces this data with new data (only the latest test is stored).

Testing completed

Publishing a Script

If the script works correctly, click Publish in the upper right corner of the header.

Publishing the script

Publishing the script creates a new version. You cannot publish a script if any blocks contain unfilled required fields.

Was the article helpful?

Yes
No
Previous
Query and Code Editor
We use cookies to improve our website for you.