Run Sessions Pane (Options Dialog Box > General Tab)

Relevant for: GUI tests and components and API testing

This pane enables you to determine global UFT run settings that are applicable to both GUI testing and API testing.

To access

Select Tools > Options > General tab > Run Sessions node.

Important information

The Restore Factory Defaults button resets all Options dialog box options to their defaults.

Relevant tasks
See also

User interface elements are described below:

UI Element

Description

View results when run session ends

Instructs UFT to open the run results and display the results automatically following the run session.

Automatically export run results when run session ends

Instructs UFT to export the run results to the location you specify in the Configure Automatic Export of Run Results Dialog Box.

Configure

Opens the Configure Automatic Export of Run Results Dialog Box, in which you can define settings that instruct UFT to automatically export run results to a specific folder in the file system after a run session. These settings specify the type of report, the export location in the file system, and whether to export all run results or only results for failed run sessions.

Stop command shortcut key

Enables you to define a shortcut key or key combination that stops the current record (for GUI tests only) or run operation, even if UFT is not in focus or is in hidden mode.

Click in the field and then press the required key or key combination on the keyboard.

The default key combination is CTRL+ALT+F5.

Note: It is important to define a shortcut that is not already defined for some other operation by application being tested. If this is the case and:

  • you open the application manually before you click Record or Run, the shortcut defined in the application is applied for its original purpose.

  • you start a record or run session and UFT opens the application for you, the shortcut you define stops the session.

Allow UFT to continue running GUI or business process tests after disconnecting from an RDP computer

Enables GUI or business process tests in UFT to continue running on a remote computer when a Remote Desktop Connection session is disconnected from the remote computer.

Note: Running a test with a disconnected Remote Desktop connection is not supported for the Hyper V virtualization server.

Enter the following information for the user accessing the remote computer running UFT:

  • User Name: The Remote Desktop connection user name of the user connecting to the remote computer running UFT, using the format <domain>\<user Name>
  • Password: The Remote Desktop Connection password for the user connecting to the remote computer running UFT

Click the Check Connection button to validate the user name and password.

For details on running GUI tests with a disconnected RDP connection, see Running GUI tests with a disconnected Remote Desktop Connection.