Preparing Application With QuantumGrid Controls for TestComplete

Applies to TestComplete 15.69, last modified on November 13, 2024

In order to automate testing of QuantumGrid (TcxGrid) controls in your application via the DevExpressQuantumGrid object, the Delphi and C++Builder Application Support and VCL Control Support plugins must be installed and enabled in TestComplete, and the tested application must be compiled with debug information included. This topic explains how to include debug information into your Delphi or C++Builder application.

First, you need to re-compile the QuantumGrid package with debug information. This means that you own the ExpressQuantumGrid suite with full source code. If you do not own the library’s sources, you will not be able to work with QuantumGrid controls using the DevExpressQuantumGrid object. In this case, you can handle grid controls in black-box mode, by simulating mouse clicks and keystrokes. See Interacting With Non-Compatible Application Objects to learn more ways to obtain the controls’ data.

To include debug information in QuantumGrid controls, do the following:

Then, you need to modify your project in order to include debug information in the tested application, and re-build the application. See the links above for instructions on settings for the required compiler options.

After you have performed the mentioned steps, TestComplete will be able to access internal objects, methods and properties and recognize QuantumGrid controls in the application under test.

Note: Before delivering the release version of your application, remember to compile the QuantumGrid package and your project without debug info to reduce the application size.

See Also

Working With Developer Express QuantumGrid
Object-Specific Tasks
Testing Delphi Applications - Overview
Testing C++Builder Applications - Overview

Highlight search results