Windows Applications Tab (Record and Run Settings Dialog Box)

This tab enables you to define preferences for recording and running tests on Windows-based applications, and open and record on applications from one or more environments.

Access the Windows Applications tab

Select Record > Record and Run Settings and then select the Windows Applications tab.

Back to top

Interactions with other add-ins and operations

For some Windows-based add-ins, the settings in this dialog box may also affect the applications that UFT One recognizes for other UFT One operations, such as learning objects or using the Object Spy. For details, see Record and run settings for Windows-based add-ins.

If you loaded other add-ins when you opened UFT One, there may be additional tabs in the Record and Run Settings dialog box. If this is the case, confirm that in each additional tab, the option to record and run on any open application (upper radio button of each tab) is selected.

While this setting does not directly affect your record or run sessions, it prevents UFT One from opening unnecessary applications when you begin record or run sessions.

Back to top

Record and run on any open Windows-based application

Select Record and run test on any open Windows-based application to instruct UFT One to record all operations performed on any Windows-based application that is opened while recording your test (including e-mail applications, file management applications, and so on).

UFT One records and runs only on applications that have a user interface, and it does not matter how the applications are opened (as child processes of Windows Explorer, child processes of UFT One, and so on).

Close your applications

When selecting this option, make sure that all the applications on which you want to record are currently closed. For some environments, UFT One can recognize and/or record on the applications that you open manually only after you select this option and click OK. Instances of these applications that are already open when the Record and Run Settings dialog box opens may be ignored or may not be recognized or recorded correctly.

Performance

For performance reasons, the default setting in the Windows Applications tab is set to record and run only on the applications you specify (and not on any open application).

If you do not specify an application or change this option, UFT One will not record or run on any Windows-based application.

Back to top

Record and run only on specific applications

Select Record and run only on... and define a specific application, to restrict record and run (and in some cases pointing hand) operations to selected applications.

Additionally, you can configure whether UFT One should open these applications for you at the beginning of a record or run session.

The following options are available:

  • Applications opened by UFT One. This option records, recognizes, and runs only on applications invoked by UFT One (as child processes of UFT One). For example, applications opened during a record or run session using a SystemUtil.Run statement, or using a statement such as:

    Set shell = createobject("wscript.shell")
    shell.run "notepad".
  • Applications opened via the Desktop (by the Windows shell). This option records, recognizes, and runs only on applications that are opened via the Windows Desktop. For example, applications opened from the Windows Start menu, by double-clicking executable files in the Windows Explorer, by double-clicking a shortcut on the Windows Desktop, or by clicking icons on the Quick Launch bar.
  • Applications specified below. This option records, recognizes, and runs only on applications listed in the Application details area.

    If you do not want to record on any Windows-based applications, select only the Applications specified below check box, and ensure that there are no applications listed in the Application details area.

Application details

Define details of the applications on which to record and run the test. For details on the details displayed, see Application Details Dialog Box.

If you define values for one or more environment variables, those values override the values in the Windows Applications tab during a test run.

Add

Opens the Application Details Dialog Box to enable you to add an application to the application list. You can add up to ten applications.

Edit

Opens the Application Details Dialog Box to enable you to edit the application details for the selected application.

Delete

Removes the selected application from the application list.

Back to top

See also: