Test bench

The Test bench serves as a workflow analysis tool, enabling users to execute workflows and navigate through them while accessing real-time information pertaining to variables, inputs, and tasks. This facilitates the identification and resolution of errors and issues.

The test bench panel is divided into two primary sections: on the left, it provides a simulation of how the step will appear in the Clients, while on the right, there is a panel displaying the variables associated with this step and their corresponding values. Additionally, should any variables be pinned, a third area will open to the right of the variable panel, displaying the pinned variables.

The test bench will pause at any elements necessitating user actions, such as a user step. To halt the workflow at other elements, simply add a breakpoint by selecting the element, right-clicking, and choosing Add Breakpoint (F9). These breakpoints can be removed using the same procedure. Additionally, it's possible to eliminate all breakpoints by right-clicking the design area and selecting Delete All Breakpoints.

Only the testbench client is affected by the breakpoints.

How to use the test bench

Start the testbench by clicking the Play (F12) button in the top right of the workflow window.

Click Next (F10) to continue to next the element in the workflow.

Click Forward (F11) to go to the next stop in the workflow, ie next breakpoint, user step or end step.

The test bench can be stopped at any time by clicking Stop (Ctrl+Enter).

The element currently being debugged is highlighted in yellow, if two or more swimlanes are present both paths are highlighted and the user can switch between them by choosing the appropriate tab in the test bench.

When using several swimlanes, the test bench can impersonate a different user by entering data in the window that pops up when the workflow moves to a different swimlane

If two or more swimlanes are present some steps must be completed before others to make it possible to move forward. Test Bench will prompt the user if action on another swimlane is needed.

Features in test bench

  • Sort: Sort on top node on Name (variable column): Ascending - Descending - Original

  • Edit: Slow double-click to enter inline-edit for all types that can be parsed from String (including boolean, number, date..).

  • Pinned Variables: Users can pin variables in the test bench for immediate reference. These pinned variables update with every step action and maintain their sort order during search and step functions. Pinning can be toggled through the context menu. Pinned variables are retained between debugging sessions within a workflow tab.

  • Search: The integration of a search box simplifies variable location. The first matching node in the variable tree view is automatically highlighted, and the Enter key allows users to cycle through matches. The sort order remains consistent during search operations.

  • Value Color Indicators: To facilitate change tracking, modified values since the last breakpoint are displayed in bold orange font. Variables created since the last breakpoint are highlighted in bold purple.

  • Variable Copy Options: The context menu provides options to copy a variable as JSON or to replicate only its name or value. These actions are also accessible via keyboard shortcuts.

  • Data Export Feature: Variables that contain binary data or file records can be exported to disk using the context menu.

  • Monospace Font: The debugger has transitioned to a monospace font to optimize readability and alignment.

Short cut keys

  • Edit value: F2

  • Copy value and nodes:

    • ctrl + c - copy as Json

    • ctrl + b - copy variable (trinket) name

    • ctrl + shift + c - copy selected variable (trinket) value as string

    • ctrl + s - save file record or data (you need a file record or a binary trinket)

    • ctrl + f - focus in find window in the debugger (when focus is on any of the variables in the tree view)

  • Pin variable: Ctrl+D

  • Export to disc: Ctrl+S

Last updated