Macros
Discover how to optimize your workflow using Macros in DogQ. This feature allows specific sets of steps to be reused across different scenarios, enhancing the efficiency and readability of your tests.
You can use the Macros feature to optimize the workflow 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.
Last modified 3d ago