TestComplete has the Microsoft Control Support plugin that expands TestComplete abilities to interact with Microsoft DataGrid .NET controls from scripts. If this plugin is installed and enabled, TestComplete extends the DataGrid control functionality with methods, properties and actions of the
MicrosoftDataGrid object. These supplementary members let you perform specific operations over the DataGrid control, for example, simulate clicks on grid cells, obtains and set values in grid cells, click column headers and so on.
Since the DataGrid .NET control can be used within .NET applications, which are always “open” to TestComplete, the internal methods and properties of the DataGrid control are also visible to TestComplete. This “openness” means that you can use the DataGrid’s “native” methods and properties to perform the needed actions as well.
Finally, you can work with the DataGrid control as a black-box application window, 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.
|In order for TestComplete to have access to internal methods and properties of the DataGrid control and to extend the DataGrid control functionality, both the .NET Application Support and Microsoft Control Support plugins must be installed and enabled.|
The topics of this section provide detailed information about performing various operations with the DataGrid control. They also contain numerous sample routines that you can use in your scripts with minimum changes (if any). Note, that these topics are devoted to DataGrid controls. For information on working with DataGridView controls, see the Working With Microsoft DataGridView section.