Welcome to the new Ranorex Support Portal


This feature helps to reduce the “Failed to find item” error when running your automated test. Self-healing overcomes this issue by adding an additional robust layer of object recognition to avoid exceptions and reduce manual maintenance

Enable Self-healing

Self-healing is enabled by default beginning in version 10.1.1. Below, you can find the steps of how to enable it manually:

  1. n the top toolbar, click SETTINGS…

  1. When the Settings window opens, select the Advanced tab, and click Expert settings…

  1. In the Expert path generation settings window, select Robust RanoreXPath (new) from the RanoreXPath generation mode drop-down list.

  1. Click Apply and OK.

Record your test

Before the self-healing option, when a test failed to find an object, an error displayed in the test log and reported a failed status in the test. The issue had to be solved, to re-run and complete these tests.

The self-healing option finds a similar or the closest object to the missing one in the system while running a test. All the objects are checked based on the attributes that RanoreXPath uses, for more information review Mapping dynamic UI elements.

  1. After you enabled the self-healing option, start recording your actions by clicking RECORD.

  1. As soon as you complete your recording, click Validate located in the Ranorex Recorder window.

  1. Once the validation is completed, click Stop to finish your recording. As a result, the recording opens in Ranorex Studio.

  2. In your items section, expand the ApplicationUnderTest. When you select a sub-item, note the RobustPath under the Properties section located on the right side window

  1. Click RUN to start running your test. The self-healing option allows the test to find an appropriate object and continue to run without interruptions or errors.



Get the latest test automation information right in your mailbox.


© 2024 Ranorex GmbH. All Rights Reserved