reuse sequences in leapwork go.md

Reuse sequences in Leapwork Go

Reusable sequences let you define a common flow once and use it inside other sequences. This helps you reduce duplication, keep shared logic consistent, and update repeated steps in one place.

When to use reusable sequences

Reusable sequences are useful when the same flow appears in multiple tests, for example:

Why this helps

Using reusable sequences can help you:

Before you start

Add a reusable sequence to another sequence

  1. Open the sequence where you want to reuse an existing flow.
  2. Add a Run sequence step.
  3. Select the sequence you want to reuse.
  4. Save your changes.
  5. Run a preview to validate the full sequence before using it in a timeline.

Typical example

A common pattern is to create one sequence for Sign in and reuse it in multiple larger sequences, such as:

In this setup, you maintain the sign-in logic once and reuse it wherever it is needed.

Best practices

Validate before running load

Leapwork Go supports preview runs so you can verify that the full sequence works before using it in a larger execution. This is the safest way to confirm that the parent sequence and the reused sequence work together as expected.