Using Guided Healing to update a test

As applications undergo changes during regression testing, application GUI is frequently modified and the regression tests must be updated to identify possible issues, and also to ensure that the new code has not affected other parts of the software. Some changes can be easily detected such as edit box labels, but others can be more difficult to identify, for example, the UI control properties. To help testers to identify those changes in the application and to fix the tests accordingly, more intelligence has been added to test playback with the Guided Healing feature.

By enabling the Guided Healing feature, new snapshots are captured for all the test steps during the playback. The Guided Healing feature applies to user action test steps, to variables and verification points. If an object is not found during the test run, the other object that best matches its description is identified as a possible candidate to replace the missing element and a snapshot is taken.

When you run your tests and activate the Guided Healing feature, you can decide if the test is automatically updated when it is complete. This option is available from HCL OneTest UI 10. This new feature is particularly useful when you have numerous test cases that remain re-usable for successive regression cycles. By default, this option is not selected, it gives you the opportunity to check the guided healing results for each step in the edited test and to proceed to a manual update of the steps. In this case, the steps are highlighted with colors to identify which of the test steps passed and those that require manual updates when the test is complete. If automatic update is selected, no action is required from the users, test steps are automatically updated.

Updating tests manually with Guided Healing can be carried out as a first testing phase to verify that the test steps are updated with the best candidates identified during the playback, prior to starting using Guided Healing automation feature.

Feedback