Applies to TestComplete 14.70, last modified on October 26, 2020
In TestComplete, you can call routines located in dynamic link libraries (both 32-bit and 64-bit libraries are supported) directly from your tests. This section explains how you can do this.
In This Section
Provides basic information on calling DLL routines from TestComplete tests.
Describes the requirements to be met for calling DLL functions from tests.
Provides information about specifics of simultaneous usage of 32- and 64-bit DLLs in TestComplete tests.
Explains how you can call DLL functions from keyword tests.
Explains how to create variables of custom data types to be passed via parameters of a DLL function.
Provides detailed information on creating string variables to be passed via parameters of a DLL function.
Explains how to create arrays to be used in calls to DLL functions.
Describes specifics of calling Visual C++ and Delphi functions that return references to IUnknown, IDispatch or any other interface objects.
Describes constants used to declare OLE-incompatible parameter types of C++ functions.
Describes constants used to declare OLE-incompatible parameter types of Delphi functions.
Provides information on known limitations in the TestComplete support for calling routines implemented in dynamic link libraries.
A tutorial that provides step-by-step instructions illustrating how to call the
DrawTextExA function located in User32.dll from scripts.
On our web site, you can find some examples of script code that demonstrate calling functions located in external DLLs. Follow the links below to see these examples:
Using External Functions