TestComplete has the Microsoft Control Support plugin that expands TestComplete abilities to interact with Microsoft PropertyGrid controls from scripts. If this plugin is installed and enabled, TestComplete extends the PropertyGrid control functionality with methods, properties and actions of the
MicrosoftPropertyGrid object. These supplementary members let you perform specific operations over the PropertyGrid control, for example, simulate clicks on grid items, obtain and set item values, expand and collapse items and so on.
Since PropertyGrid is a .NET control and can be used only within .NET applications, which are always “open” to TestComplete, the internal methods and properties of the PropertyGrid control are also visible to TestComplete. This “openness” means that you can use the PropertyGrid’s “native” methods and properties to perform the needed actions as well.
Finally, you can work with the PropertyGrid 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 PropertyGrid control and to extend the PropertyGrid 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 PropertyGrid control. They also contain numerous sample routines that you can use in your scripts with minimum changes (if any).