O'Reilly logo

TestComplete Cookbook by Gennadiy Alpaev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with nonstandard controls

Sometimes, the possibilities extended by TestComplete are not sufficient to properly handle the controls elements. If that's the case, we need to extend TestComplete possibilities by using private properties and methods of objects that are within TestComplete's access. The brightest example of the situation at hand lies in working with the grids. Grids are quite complex controls elements, changeable and customizable, depending on the situation.

In this recipe, we will use a simple example of the Microsoft DataGridView control to see how standard control properties can be used for solving nonstandard situations. Our task consists of placing a screenshot to the log of a single cell of the grid (by pre-assigned column ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required