Delphi Connector

(Available from version 7.0 onwards.)

Automation Studio is designed to provide powerful and reliable screen element capturing from applications that are based on Delphi.

The Delphi connector supports Delphi XE3 only.

Connector Features

The built-in Delphi connector provides the following features:

Configure the Connector

No configuration is required for the Delphi connector. This connector is enabled by default.

Capture a Screen Element

The procedure for capturing a screen element from a Delphi application is the same as for all screen elements. See Capture a Screen Element.

Edit a Screen Element

The Edit Screen Element window opens after capturing a screen element. This screen allows you to customize how the screen element is treated and identified. See Edit a Screen Element.

Information specific to Delphi application screen elements is provided below.

Element Hierarchy

The element hierarchy for a captured Delphi application element is as follows:

  • Root branch for the Delphi process

    • Delphi form element

      • Delphi screen element

See View the Element Hierarchy.

Screen Element Types Supported

The screen element type values available differ between levels in the hierarchy.

Type

Screen Element Types

Delphi Screen Element

  • Delphi VCL Button

  • Delphi VCL ComboBox

  • Delphi VCL Form - used for menu items

  • Delphi VCL ListBox

  • Delphi VCL StringGrid

Delphi Form

  • Delphi VCL Form

Delphi Process

  • Process

Recognition Properties Supported

The recognition properties available differ between levels in the hierarchy. These are identical as for WIN32 screen elements.

Main Relation Type

The element's main relation type is displayed in the Edit Screen Element window, but cannot be changed.

This section is not displayed for the Delphi process.

See Identify an Element's Main Relation Type.

Multi Instance Support

The Delphi connector provides support for multiple instances.

You can specify which instance of the application to relate to if multiple instance of the same application are open.

Multi instance support differs between levels in the hierarchy.

Type

Multi Instance Support

Delphi Screen Element Optional, inactive by default.

Delphi Form Element

Optional, inactive by default.

Delphi Process

Active by default, cannot be deactivated.

See Set Multi Instance Behavior

Screen Element Assets

Each screen elements has its own properties, functions, and events. These are visible in the Assets Panel.

For information on screen element assets, see here.

Monitor Screen Elements in Debug Mode

When in debug mode, you can view and modify the values of a screen element's properties.

For example, the text entered in the Input field in this sample Delphi application can be viewed or modified during debug.

See Monitor Screen Elements in Execution Mode.