Testing code
Last updated
Last updated
You can test your code by clicking on the Test Code button on the top right corner. A log view will slide out from the bottom. Here you can see the logs as the code gets executed in the development mode.
Your automation task may need to handle event under different situations. For example, if you are building a task for auto tagging Shopify product based on product pricing, then you want to test the behavior of the task for different ranges of product pricing.
You can create different test event by first click on the Test Events button.
You can define the exact event data value and give it a unique name.
Next, you can select the event to be used to trigger the code in development mode.