Known Issues - Delphi Add-in
The following known issues occur when testing a Delphi application.
Supported application versions
By default, UFT recognizes objects in your application as Delphi objects only if the application was built with a supported version of Delphi.
You can compile your application with an unsupported Delphi compiler version but may experience unexpected results.
For details on supported versions of Delphi, see the UFT Product availability matrix.
Button controls in message boxes are identified as WinButton objects instead of DelphiButton objects.
Workaround: Manually replace the button control test objects in the object repository with DelphiButton objects.
Pre-compiling your application
You must compile Delphi applications with the UFT agent before testing in the following scenarios:
You must compile Delphi 64-bit applications with the UFT agent before testing.
- 32-bit Delphi applications can be tested without pre-compiling.
- UFT supports backwards compatibility for all applications already compiled with the agent.
You must compile your Delphi application with the UFT agent before testing in the following scenarios:
When using UFT Delphi Add-in Extensibility
When testing a TwwDBGrid object
When your application was built with a Delphi version of 10 or higher, and you have the DelphiEdit.Set method in your test.
Alternately, use the DelphiEdit.Type method instead.
For more details, see Compile your Delphi application.