Flows

How to use Flows in the trainer

Common sequences of steps can be bundled into reusable flows, which can then be inserted into any test. Flows are always up to date; any changes to the base flow will automatically be propagated to all tests containing that flow. A test can be composed with any number of primary (non-reusable) steps and reusable flows. You can also insert the same flow multiple times within a test.

Define a Reusable Flow

To find the flow options, click the "Insert Step" plus button in the toolbar at the bottom of the screen..

Click the "Add Flow" button in the top menu.

When prompted enter a name for the flow and save. This generates a step marking the beginning of a new reusable flow as well as a step marking the end.

Continue recording steps in the flow.

Now save your test to also save the reusable flow.

Insert a Reusable Flow

To insert an existing reusable flow click the "My flows" option at the top of the "Insert Step" menu. This option is disabled if there are no reusable flows defined in the workspace.

The selected flow will appear in the list of Steps, click the arrow on the left to expand the steps within the flow. A small badge icon in the "Start flow..." step indicates the number of tests using this flow.

You can use the Replay controls to play through the flow steps. You can also add, delete, or edit steps in the flow. When the test is saved, any changes to a reusable flow will be propagated to other tests using this flow.

Flow Limitations

At present, nesting one flow inside another flow is not supported.

Remove a Reusable Flow

Click on the "Remove flow" button to delete the flow and all of its steps from the test. The reusable flow will remain available in the workspace.

Convert Reusable Flow To Non-reusable test Steps

Delete the "Start flow..." step of a reusable flow converts all the flow steps into primary steps for the test. This does not alter the existing reusable flow.

Convert Existing test Steps into a Reusable Flow

To convert a set of primary steps of a test into a reusable flow, simply hover over the steps you would like to add to your new flow. Click the checkbox that appears for each contiguous step, and once you're ready click the "Add flow" button in the hover menu that appears at the bottom of the Trainer window. You'll then be prompted to name the flow and save.

Watch the next chapter in the quick start video guide.

Updated about a month ago


Flows


How to use Flows in the trainer

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.