Use debug controls to manage the flow of steps for testing automations.
You have the following controls to use while testing different environment overrides.
Debugging controls often work together with breakpoints. The steps are defined by breakpoints, which subdivide an automation so you can identify the location of any flaws.
Debugging control descriptions
|Step in||Advances to the next step and stops. If the next step is an automation, it runs that automation.|
|Step over||Advances to the next step and stops. If the next step is an automation, proceeds to the step after the automation.|
|Step out||If in a called automation, advances to the next step in the calling automation. Otherwise, it just continues.|
|Continue||Resumes testing until another breakpoint is reached.|
During debugging, you can right-click on the automation surface and access a menu of these controls.
Using breakpoints to test an automation
Breakpoints subdivide your automations into sections, so you can more easily test functionality and locate issues.
- Right-click a link between two automation blocks and select Toggle
Result: A red dot displays on the automation link, as in the following figure:
- Click Test at the top right of the Automation
Result: The automation pauses at the first breakpoint and highlights the current step, as shown in the following figure:
- To temporarily turn off a breakpoint, right-click on the
breakpoint and select Disable breakpoint.
Result: The breakpoint now shows with a red border filled with white. When you test the automation, it skips the disabled breakpoint and moves to the breakpoint in the second step, as shown in the following figure.
- To remove a breakpoint, right-click on the breakpoint and click Remove Breakpoint.
Managing breakpoints with debugging tools
Debugging tools help you manage breakpoints in your automations to facilitate the testing process.
Debugging tools are accessed from the Debug menu, shown in the following figure:
Check the Enable checkbox to enable or disable a breakpoint. The following figure shows the Enable checkboxes in the Debugging tools window:
Right-click in the Debugging tools window to access the menu, as shown in the following figure:
From this menu, you can enable or disable all breakpoints. You can delete the selected breakpoint or all breakpoints. You can search for a string in breakpoints.