Auto-Healing Feature for TestComplete Framework
Enable auto-healing in Desktop Automation with Python TestComplete to help locate elements after locator changes, with setup steps and limitations.
Auto-healing overview
Auto-healing can help Desktop Automation with Python TestComplete locate a UI element when its locator changes. Without auto-healing, a script can fail when the application changes and the original locator no longer identifies the element.
For example, a script might look for a button using its original locator. If the locator changes but the button still performs the same action, auto-healing can help identify the button using the updated locator so the test can continue.
Auto-healing does not handle changes to the application's workflow. You must manually incorporate this feature into your scripts.
Prerequisites
Make sure you have configured the auto-healing feature. For more information, see Configuring the Auto-Healing Feature.
Enabling the Auto-Healing Feature in the Application Settings File
Generate and download the script to a local folder.
Make sure the downloaded folder contains the generated script.
Open ApplicationSettings.xml in the downloaded script folder.
Locate and open the ApplicationSettings.xml file.

Set the auto-healing setting to True.
Update the auto-healing setting in the file.

Save the ApplicationSettings.xml file.
Save the changes to enable auto-healing.