Mobile Self-Healing Support in AIQ
Self-healingLast createsreviewed: aSeptember repository24, of accessors for each step in the test script. If an accessor changes permanently, AIQ will recommend substitutes based on what it has learned from previous executions of the test script and replace the accessor in the script automatically.2026
WhileUse the script is being self-healed, the IDE will highlight the steps that have been changed as part of themobile self-healing process.
The ability to self-healimprove alocator scriptresilience forwhen Mobilesupported Testingmobile waselements addedchange in thepredictable 4.9.5ways.
What ofchanged AIQ. Previously,in this option was only available for Web Testing.
Enabling Self-Healingarticle
You can invoke the
- Apply self-healing
functiontobystablerightmobileclickingworkflowsinside a step in the test script, selectingSelfHeal Scriptand then choose the browser.
About Self-Healing
a replacement for good locator strategy.Self-healing can be run without fallback, howeverfirst; it is notrecommended.- Review healed steps after execution so accidental matches do not hide product changes or test defects.
- Document
Self-device, OS, app version, and locator type when reporting mobile self-healingplaysbehavior.
Validation workflow
- Run the
scriptmobilebackscenarioonce.and identify locator failures that are candidates for healing. - Enable or review self-healing behavior for the affected steps.
- Replay
healedIfon the targetisdevicevalid,matrixitandis maintained asconfirm thetarget.
Ifvalidates the targetintended isUI invalid,element.
Review isnote: movedAligned tothe fallback accessorsarticle with itscurrent fallbackAIQ attributeself-healing enabledlanguage and the first fallback accessor found is moved to target.
If an accessor fallback attribute is enabled but invalid during the self-heal run, its fallback attribute will be disabled.
If an accessor is fallback is disabled and invalid during the self-heal run, it will be deleted.
If an accessor is fallback disabled but valid during the self- heal run, its fallback attribute will be enabled.
A newly found accessor will be added usingmobile-specific thevalidation standard approach. Fallback is enabled for all except:details.
index and byXY, due to the brittleness,
images as they are resource intensive targets.
Last updated: JulySeptember 24, 20232026
If you have any feedback on this topic, please contact us at documentation@appvance.ai.