Applies to TestComplete 14.61, last modified on September 22, 2020
This section describes TestComplete support for optical character recognition implemented with the Google Vision API. If no other means of accessing data in your tested application is available, you can use optical character recognition to get the text your tested application renders on screen, to verify that text, and to simulate user actions on the screen areas you recognize by their text contents.
In This Section
Describes how to use optical character recognition in automated tests to work with UI elements that TestComplete does not recognize in usual ways.
Describes the requirements that must be met for TestComplete to be able to recognize text on the screen.
Describes how to simulate user actions on UI elements recognized by their text contents.
Describes how to work with grids exposed by using optical character recognition.
Describes how to use optical character recognition to check the text contents of your tested application.
Describes how to iterate through recognized text blocks to select the needed one.
Describes how to identify a control with no text contents by text of nearby controls.
Describes how to migrate your existing tests using the legacy optical character recognition to the new format.
Describes possible alternatives that you can use in your tests instead of optical character recognition.
Describes how to fix the most common issues occurring when using optical character recognition in tests.
Follow this tutorial to learn how to recognize characters rendered on the screen and how to simulate user actions on controls recognized by their text contents.
Optical Character Recognition (Legacy)
Prior to version 12.60, TestComplete provided built-in OCR modules. Unlike the current OCR support featuring Google Vision API, those modules:
Learn how to restore legacy modules. You will not be able to use the new OCR featuring Google Cloud Vision API