Skip to main content

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.

release

What ofchanged AIQ. Previously,in this option was only available for Web Testing.

Enabling Self-Healingarticle

You can invoke the

  • Apply self-healing functionto bystable rightmobile clickingworkflows inside a step in the test script, selecting SelfHeal Script and then choose the browser.

    About Self-Healing

    • Self-healing can be run without fallback, howeverfirst; it is not recommended.

      a replacement for good locator strategy.
    • 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-healing playsbehavior.

    Validation workflow

    1. Run the scriptmobile backscenario once.and identify locator failures that are candidates for healing.
    2. Enable or review self-healing behavior for the affected steps.
    3. Replay

      Ifon the target isdevice valid,matrix itand is maintained asconfirm the target.

      healed
    step still

    Ifvalidates the targetintended isUI invalid,element.

    it

    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.