Delphi Add-in

You can use the UFT Delphi Add-in to test Delphi user-interface objects (controls).

The following tables summarize basic information about the Delphi Add-in and how it relates to some commonly-used aspects of UFT.


General Information

Add-in Type

This is a Windows-based add-in. Much of its functionality is the same as other Windows-based add-ins.

Supported Environments

The Delphi Add-in supports testing on Delphi controls created in the Delphi IDE and based on the Win32 VCL library. For details on supported Delphi environments, see the Delphi Add-in section of the Unified Functional Testing Product Availability Matrix.

Test Object Methods and Properties

The Delphi Add-in provides test objects, methods, and properties that can be used when testing objects in Delphi applications. For details, see the Delphi section of the UFT Object Model Reference for GUI Testing.

Extending the Delphi Add-in

Delphi Add-in extensibility enables you to develop support for testing third-party and custom Delphi controls that are not supported out-of-the-box by the UFT Delphi Add-in.

Known issues Known Issues - Delphi Add-in


Opening Your Application

You can open your Delphi application before or after opening UFT.

Add-in Dependencies



Before running a test on a Delphi application, the application being tested must be compiled with the UFT agent MicDelphiAgent. See Enable communications between UFT and your Delphi application.



Configuration Options

Use the Windows Applications pane.
(Tools > Options > GUI Testing tab > Windows Applications node)

Record and Run Settings

Use the Windows Applications tab.
(Record > Record and Run Settings)

  • UFT recognizes only Delphi applications that have been precompiled with the MicDelphiAgent.pas module. For details, see Enable communications between UFT and your Delphi application.

  • In some cases, if you select the Record and Run only on radio button, the settings may also apply to (limit) the applications that are recognized for Object Spy and other pointing hand operations.

Custom Active Screen Capture Settings

Use the Windows section.
(Tools > Options > GUI Testing tab > Active Screen pane > Custom Level button)

Application Area Additional Settings

Use the Applications pane.
In the application area, select Additional Settings > Applications in the sidebar.

See also: