Record and Run Macros

This section describes how to use macros to have Sprinter perform a series of user actions in your test and run them as a single command.

Macros can be used only in tests run in Power Mode.

This task includes the following steps:

  1. Activate Power Mode

    In Run mode, make sure you have a test open and that Power Mode is active. Click the Power Mode Run button. For details, see the relevant steps in Prepare a Test to Run in Power Mode.

  2. Record a macro

    If your application already has a macro associated with it that you want to run, you can skip this step.

    1. In the Macros sidebar click the Record button

    2. Perform the actions you want to include in your macro.

    3. In the Macros sidebar, click the Stop button . The Macro Details Dialog Box opens.

    4. Set the definitions for your macro and save it. For details, see Macro Details Dialog Box.

    5. For more details about the sidebar, see Macros Sidebar.

  3. Run a macro

    1. Close the instance of the application upon which the macro was recorded. Allow Power mode to reopen the application.

    2. In the Macros sidebar select the macro you want to run from the macros drop-down list.

    3. In the Macros sidebar click the Run button .

    4. The Macros sidebar displays an icon in its tab indicating the progress and success or failure of the macro. Click the icon for more details.

    5. For more details about the sidebar, see Macros Sidebar.

      For more details on using macros in your test, see Macros Overview.