You can use the Macros feature to optimize and make your tests more readable. With macros, performing a specific set of steps in multiple scenarios is possible by reusing the same Macro.

To do this:

  1. Create your Macro by going to the Macros page, clicking on the New button, specifying a Name, and optionally the Project.
  2. Define the steps which you want to use across different scenarios.
  3. After that, you can add this set of steps to any scenario using the Use Macro test step.

A typical example is creating a "precondition" step - e.g., logging in with a specific user before executing the rest of the steps or navigating to the particular page.