Define record and run settings

Define record and run settings

  1. Use one of the following to open the Record and Run Settings dialog box:

    • Select Record > Record and Run Settings.

    • In the toolbar, click the Record button. If you are recording for the first time in a test and have not yet set your recording preferences (by opening the dialog box manually), the Record and Run Settings dialog box opens.

  2. Select the relevant environment by clicking a tab.

  3. Set the required options.

  4. To apply your changes and keep the Record and Run Settings dialog box open, click Apply.

  5. Close the Record and Run Settings dialog box to begin your record or run session, click OK.

Back to top

Set record and run environment variables

  1. Use one of the following to open the Record and Run Settings dialog box:

    • Select Record > Record and Run Settings.

    • In the toolbar, click the Record button . If you are recording for the first time in a test and have not yet set your recording preferences (by opening the dialog box manually), the Record and Run Settings dialog box opens.

  2. Set your record and run preferences normally before recording your test.

    Note: If you already have environment variables set for one or more application details, and you select the option to open an application when the record session begins (the lower radio button in each tab of the Record and Run Settings dialog box), UFT One ignores the record settings you enter in the dialog box.

  3. Record and edit your test normally.

  4. If you did not define environment variables prior to recording your test, define an environment variable for each application detail you want to set using the appropriate variable name. For details on the variable names required, see:

  5. Run the test. UFT One uses the environment values to determine which applications to open at the beginning of the run session, and on which processes to record.

Back to top