Skip to content
Test framework

Flows

Compose Page Object methods into reusable flows or runnable tests.

A Flow chains methods from your saved Page Objects — even from different pages — into a longer scenario, e.g. loginPage.login(...) then cartPage.checkout(). It needs at least one saved Page Object. Find it in the dock under Framework → Flows.

Build the steps

  1. Click Add step.
  2. Choose the source: a Page Object (group Page Objects) or a saved flow (group Flows), then the method.
  3. Fill in the arguments, one field per parameter.
  4. Reorder with Move up / Move down, remove with ×.

The right side previews the generated code live. Your steps stay in place when you switch between the Pages and Flows tabs.

Flow or Test

Use the Flow | Test toggle:

  • Test — builds a runnable test. Optionally set a Start URL (the page opened at the start) and a Test name, then click Generate test. The test appears in the Runner“Saved → open the Runner tab and click ▶ to run it.”
  • Flow — builds a reusable building block that other flows and tests can call. Set a Flow name. Any argument written as {name} becomes a parameter of the flow. A flow has no start page: opening the page is the job of the test that uses it. Click Save flow; the flow then appears as a source in Add step.

Header buttons: New (starts an empty flow; the current one is saved first), Open saved…, delete, and refresh (reloads Page Objects and flows).

Flows — Actify Studio Docs