Information in this topic applies to desktop applications only. |
To recognize UI elements in an application by their text contents, the following requirements must be met:
-
You must have an active license for the TestComplete Desktop module.
-
The Text Recognition plugin must be installed and enabled in TestComplete. The plugin is installed and enabled automatically when you install TestComplete.
If you experience issues with text recognition, select File > Install Extensions from the TestComplete main menu and check whether the Text Recognition plugin is enabled.
-
The text to recognize must be drawn:
-
By the window procedure when it processes the
WM_PAINT
orWM_PRINTCLIENT
message.
– or –
-
By functions of the Direct2D library.
-