Unify Automations
Logo
Test your automation

Test your automation

Logo

4 mins READ

Overview

Group 1 (2).png
Group 1 (2).png

The Test feature enables users to execute their automation once to verify or test its functionality. During this process, the automation runs a single instance using a predefined hard-coded setup schema(if present). For example, an automation designed to fetch an object's metadata when tested will execute it and generate a result. The results from each test are stored for easy access and reference.

How to test your automation?

  1. After creating an automation, navigate to the Test section.

    Group 30.png
    Group 30.png

  2. Click the Start New Test button

    Frame 427319503.png
    Frame 427319503.png
    Group 31.png
    Group 31.png

  3. A dialog box will appear for entering the setup schema. You can choose one of the following options to input the data:

    • Form: Manually enter the data for the setup schema.

    • JSON: Provide the setup data in JSON format.

  4. Click the Run Test button located at the bottom-right corner of the dialog box.

    Group 32.png
    Group 32.png

  5. Click the Repeat Test button to retest your automation using the same setup data

  6. Click the New Test button to retest your automation with different setup data.

→ If no setup schema is defined in the automation, the test will execute without it.

The Test Page 

  1. Run History 

    Frame 427319506 (1).png
    Frame 427319506 (1).png
    The Run History section is located on the left side of the test page, it displays:
    • A list of all tests performed on the automation so far.

    • Details for each test, including the execution date and time, the duration of the test, and a status tag indicating whether the test was successful, failed, canceled, etc.

  2. The Automation 

    Frame 427319507.png
    Frame 427319507.png
    At the center of the page, the automation version for the selected test is displayed.
    • Each node includes the duration it took to execute during the test, shown at the top-right corner of the node.

    • The status of each node is also indicated:

      • A green outline means the test successfully passed through the node.

      • A red outline indicates an error with the node, with details about the error available in the Output tab.

  3. The Input, Output and Details 

    Frame 427319508.png
    Frame 427319508.png
    This section provides detailed information about the input, output, and details of the currently selected node.
    • Input Tab

      Group 34.png
      Group 34.png
      Displays all the input data for the node, including their schemas, in JSON format.

    • Output Tab

      Group 35.png
      Group 35.png
      Shows the expected output when the automation is tested.

    • Details Tab

      Frame 427319269 (2).png
      Frame 427319269 (2).png
      Highlights the App and Action associated with the selected node.

    • Error Tab

      Frame 427319270 (1).png
      Frame 427319270 (1).png
      If the automation fails at the node, this tab provides details about the error.