Working With Developer Express QuantumGrid

Applies to TestComplete 15.42, last modified on September 08, 2022

TestComplete includes the Developer Express Control Support plugin that expands TestComplete abilities to interact with Developer Explorer QuantumGrid (TcxGrid) controls from scripts. If this plugin is installed and enabled, TestComplete extends the QuantumGrid control functionality with methods, properties and actions of the DevExpressQuantumGrid object. These supplementary members let you perform specific operations over the QuantumGrid control, for example, simulate clicks on grid cells, obtains and set values in grid cells, expand and collapse rows and so on.

Since the QuantumGrid is a VCL control and can be used within VCL (Delphi or C++Builder) applications, which are always “open” to TestComplete, the internal methods and properties of the QuantumGrid control are also visible to TestComplete. This “openness” means that you can use the QuantumGrid’s “native” methods and properties to perform the needed actions as well.

By default, Developer Express VCL components for C++Builder are compiled and distributed without debug information. Therefore, TestComplete cannot obtain access to properties and methods of such VCL controls used in the tested C++Builder Open Application. However, you can re-compile Developer Express VCL components for C++Builder with debug information and then use them in C++Builder Open Applications tested by TestComplete. To learn how to prepare these components for C++Builder applications, see Preparing Developer Express VCL Components for C++Builder Applications.

Finally, you can work with the QuantumGrid controls as a black-box application windows, that is, you can simulate various mouse actions and keystrokes, record and play back low-level procedures, and so on. For more information, see Simulating User Actions.

The topics of this section provide detailed information and sample code for performing various operations with the QuantumGrid control.

In This Section

Preparing Application With QuantumGrid Controls for TestComplete

Explains how you should prepare an application that contains QuantumGrid controls for testing.

Getting Views in Developer Express QuantumGrid

Explains how to obtain view objects used by the grid.

Searching for Records in Developer Express QuantumGrid

Describes how to search for a specific record within the QuantumGrid control.

Selecting Cells in Developer Express QuantumGrid

Describes the approaches used to select individual grid cells.

Getting Focused Row, Column and Cell in Developer Express QuantumGrid

Explains how to obtain indexes of the row and cell that currently have focus.

Activating In-place Editors in Developer Express QuantumGrid

Explains how you can activate the cell’s in-place editor.

Obtaining and Setting Cell Values in Developer Express QuantumGrid

Describes how you can get and set values in individual grid cells.

Working With Specific In-place Editors in Developer Express QuantumGrid

Describes how you can set values in check box, radio button and spin box editors and how to work with editors that have a drop-down window.

Copying and Pasting Cell Values in Developer Express QuantumGrid

Describes how you can copy and paste cell values.

Selecting Multiple Rows in Developer Express QuantumGrid

Describes how you can select several rows within the TcxGrid control.

Obtaining Selected Rows in Developer Express QuantumGrid

Explains how to obtain the row(s) selected in the TcxGrid control.

Iterating Through Rows in Developer Express QuantumGrid

Gives an example of processing the grid rows data in a loop and saving the grid contents to an XML file.

Sorting Data in Developer Express QuantumGrid

Explains how to sort grid data by a column.

Expanding and Collapsing Rows in Developer Express QuantumGrid

Describes how to simulate the expanding and collapsing of grid rows.

Related Topics of Interest

Table Checkpoints

Explains how to create checkpoints that verify data displayed in tabular controls.

See Also

Developer Express QuantumGrid Support
Working With Grids
Supported Developer Express Controls
About Open Applications

Highlight search results