Robust automated GUI testing relies on identification of individual UI objects and their properties. Using TestComplete, you can perform GUI testing by interacting with individual UI objects rather than by clicking on screen coordinates.
TestComplete recognizes many controls, including standard Windows, .NET, Java, Web and RIA controls as well as popular third-party UI control libraries. In tests, TestComplete represents each application control as an object with properties and methods for automating the object and verifying its state.
Using these methods and properties, TestComplete records and plays back object-specific actions, for example:
-
Select and unselect check boxes and radio buttons.
-
Select items from combo boxes, list views and menus.
-
Change and verify values in grid cells.
-
And much more.
Such object-based operations make up easily readable and understandable tests.
Supported Controls
Follow these links for a list of supported controls in various technologies:
What If My Control Is Not Supported?
If TestComplete does not support your custom control, you can do one of the following:
-
Map your custom control class to a supported class. See Object Mapping.
-
Use accessibility information to recognize and interact with the control. See Using Microsoft Active Accessibility and Using Microsoft UI Automation Technology.
-
Identify your custom control by its text content. See Using Text Recognition Technology and Optical Character Recognition.
-
Interact with your custom control using its native methods and properties.