TestComplete samples (both built-in and additional) are located in the <Users>\Public\Public Documents\TestComplete 15 Samples folder.
Some file managers display the Public Documents folder as Documents.
TestComplete has the Infragistics Control Support plugin that expands TestComplete abilities to interact with Infragistics UltraGrid controls from scripts. If this plugin is installed and enabled, TestComplete extends the UltraGrid control functionality with methods, properties and actions of the
InfragisticsUltraGrid object. These supplementary members let you perform specific operations over the UltraGrid control, for example, simulate clicks on grid cells, obtains and set values in grid cells, expand and collapse rows and so on.
Since UltraGrid can only be used within .NET applications, which are always “open” to TestComplete, the internal properties, fields and methods of the UltraGrid control are also visible to TestComplete. This “openness” means that you can use UltraGrid’s “native” methods and properties to perform desired actions, for example, to get a grid cell’s value.
|In order for TestComplete to have access to internal methods and properties of the UltraGrid control and to extend the UltraGrid functionality, both the .NET Application Support and Infragistics Control Support plugins must be installed and enabled.|
The topics of this section provide detailed information about performing various operations with the UltraGrid control. They also contain numerous sample routines that you can use in your scripts with minimum changes (if any).
In This Section
Related Topics of Interest
TestComplete includes a sample project that demonstrates how you can work with Infragistics UltraGrid controls from scripts:
<TestComplete Samples>\Desktop\Working With Grids\Infragistics WinGrid
|Note:||If you do not have the sample, download the TestComplete Samples installation package from the support.smartbear.com/testcomplete/downloads/samples page of our website and run it.|
The script requires the sample application which is part of the Infragistics NetAdvantage trial download package that is available at http://www.infragistics.com/Downloads/default.aspx. The script assumes that by default, the application under test has the following path: <Infragistics NetAdvantage>\Windows Forms\Samples\WinGrid\Cs\SamplesExplorer\bin\SamplesExplorer.exe. Before running the script, make sure that the TestComplete Tested Applications project item contains a valid link to the application to be tested (SamplesExplorer.exe).