Prepare a Test to Run in Power Mode

The following steps describe how to prepare a test to run using the advanced features available with Power Mode.

For details on Power Mode features, see Run Tests in Power Mode.

This task includes the following steps:

  1. Enable Power Mode for your test

    Click the Power Mode button in the Power Mode group. The Power Mode button turns green and displays On, the Run button displays the Power Mode icon , and the Power Mode group nodes are displayed.

  2. Configure the application for your test

    Click the Application node in the Power Mode group and use the options in the Application pane to configure your application.

    If the applications you want to test are not on the list, you must add them before running the test.

    For details on working in the Application pane, see Application Pane (Power Mode Group).

  3. Configure data injection (optional, for ALM and UFT users)

    1. Create a data set.

    2. To use data injection you must first create a data set in .xls, .xlsx, or .csv format. For details on how to format a data set, see Create Data Injection Data Sets.

      After you create a data set you can store it in your file system or in Application Lifecycle Management. To store data sets in Application Lifecycle Management, upload them to the Resources folder for your project. For details on uploading resources, see the Application Lifecycle Management User Guide.

      Note: Sprinter stores the path to the data file in the DataSource.xml file in Sprinter's Resources folder. It is not recommended to modify this folder.

    3. Associate the data set with your application.

    4. After you create the data set, you associate it with your application in the Data Injection pane of the Tests Explorer. For details, see Data Injection Pane (Power Mode Group).

      Data can be automatically entered into forms only in the application that is defined in the Application Pane (Power Mode Group).

    5. Define which fields you want to inject, and in what order.

    6. If you want to use all the fields in your data set, in the order they appear, you can skip this step.

      Click the Customize Fields button in the Data Injection pane to define which field you want automatically enter in your application and in what order they should be entered. For details, see Manage (& Map) Fields Dialog Box.

  4. Edit the macros for your application

    If you have already defined macros for this application, click the Macros node to review, edit, and delete the Macros associated with your application.

    For more details, see Macros Pane (Power Mode Group).

You are now ready to run a test in Power Mode, as described in Run a Manual Test in Sprinter.