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

Mapping custom control classes to standard ones

At times, in tested applications, there crop up controls elements that are unknown in TestComplete and therefore, are unworkable; although, externally, a controls element of the kind appears to be a standard one (for example, a text field or a list of elements). It happens because programmers create controls with custom names and TestComplete doesn't know how to work with them.

The simplest way to resolve this issue is to try to explain this to TestComplete: this class is in reality a standard one (to be more exact, has been inherited from its standard class). In such a situation, we would be working with such an element as if it were a standard one, meaning the one taken after by inheritance. Certainly, ...

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