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.

To prepare your test for its Power Mode run:

  1. Click the Power Mode button to enable Power Mode for your test.

  2. Choose an application for your test

    Open the Power Mode settings and choose your applications.

    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 Applications tab (Power Mode).

  3. Configure the application.

    Certain applications and technologies require you to do additional configurations. For example, if your application is a terminal emulator, you need to configure it to work with Sprinter. For details, see the Terminal Emulator section in the UFT One Help Center.

  4. Configure data injection (optional, for ALM and UFT One 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 the Data Injection pane.

      Data can be automatically entered into forms only in the application that is defined in the Applications tab (Power Mode).

    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.

  5. 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 details, see the Macros pane.

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