Applies to TestComplete 14.20, last modified on September 11, 2019

The Open Applications | Text Recognition option group of the default project properties includes Text Recognition settings that TestComplete will use for new projects.

These settings are available only if you have the Text Recognition feature enabled in the Install Extensions dialog (this feature is available only if you have a license for the TestComplete Desktop module).

To view or change these default options, select Tools | Default Project Properties from the main menu of TestComplete and then choose Project | Open Applications | Text Recognition from the tree on the left of the ensuing Default Project Properties dialog.

You can change the following option —

  • Accepted windows - A list of class names of windows whose text TestComplete will recognize using the Text Recognition technology.

    TestComplete will recognize pieces of text in those windows as TextObjects and show them in the Object Browser as children of the appropriate window.

    To add a new window class to the list, click Add and then enter the needed class name. You can use wildcards (* and ?).

    To modify an existing window class, click it twice (not a double-click) or press F2.

    To disable text recognition for a window temporarily, clear the check box next to the appropriate class name in the list.

    To remove a window class from the list, select the needed class in the list and click Remove.

  • Extended support - A list of processes for which TestComplete will use its extended text recognition feature.

    Add your application to the list of tested application in your project and then add the application’s process name to the Extended support list. When you run your tested application from the TestComplete IDE or from a test, TestComplete will load its text recognition modules to the process. The modules will capture the text that your application's Direct2D library functions will render on screen.

    Important Notes
    • TestComplete provides extended text recognition only for applications that use the Direct2D library to render text.

    • In order for TestComplete to load its text recognition modules to a process, add the appropriate application to the list of tested application in your project and launch it from the TestComplete IDE or from tests.

    • Add windows and controls whose elements you want to recognize by their captured text to the list of accepted windows (see above).

    To add a new process to the list, click Add and enter the process name (for example, notepad or Orders.exe).

    To temporarily disable extended text recognition for a process, clear the check box next to the process name in the list.

    To remove a process from the list, select the process name and click Remove.

To save the changes you have made to the options and close the dialog, press OK. Cancel will close the dialog discarding any changes.

See Also

Using Text Recognition Technology
Default Project Properties - Project Options
Project Properties - Text Recognition Options

Highlight search results