Skip to content
MuchoRio edited this page Nov 23, 2026 · 7 revisions

๐Ÿ›ก๏ธ Welcome to the Locara Wiki

Adaptive Locator Intelligence

Next-generation in-flight autonomous self-healing engine for mobile test automation.

Version License: MIT Java Katalon Appium


๐Ÿ“Œ Overview

Locara (Locator + Recovery) is a high-performance, in-flight autonomous self-healing library engineered by Qureon. It intercepts broken UI locators during live test execution, recalculates targets dynamically via multi-dimensional spatial heuristics, and ensures zero pipeline failures from minor front-end layout or selector changes.

Unlike traditional proxy-based healing tools that operate externally over HTTP, Locara runs in-process (in-flight) inside your test runner runtime, introducing sub-15ms healing latency without requiring external daemon infrastructure.


๐Ÿ—บ๏ธ Documentation Map

Explore the topics below to get up and running:

Section Description
๐Ÿš€ Getting Started Installation, Fat JAR deployment, and locara.properties configuration.
๐Ÿ›๏ธ Architecture & Engines 2D Spatial Alignment, Field Relationship Parsing, and Autonomous Airbags.
๐ŸŽฏ Target Profiles Deep dive into AUTO, UMUM, REVAMP, and KMP specialized heuristics.
๐Ÿงฉ Keywords & API Reference Ready-to-use Groovy/Java keywords: smartTap, smartSetText, and auto-healing hooks.
๐Ÿ“Š Mission Control Dashboard Real-time telemetry, visual recovery logs, and telemetry dashboard server.
๐Ÿ’ก Troubleshooting & FAQ Common setup pitfalls, heuristic sensitivity tuning, and best practices.

โšก Key Highlights in v1.16.1

  1. Universal 2D Spatial Alignment: Uses Euclidean centroid distance, bounding-box aspect ratio matching, and layout quadrant pinning.
  2. Field Relationship Parser: Anchors dynamic input fields to adjacent static text labels (supports Above, Left-Of, Below, and Inside-Container relationships).
  3. Autonomous Overlay Airbag & Anti-Double-Scroll Guard: Automatically dismisses obstructive overlays (including Android 14+ permission variants) before interacting with targets, and steps back cleanly (ManualScrollGuard) when your script already scrolled (Mobile.swipe, Mobile.scrollToText, ScrollUtil, notifyManualScroll()).
  4. Tri-Target Heuristic Architecture & Thread Isolation: Switch seamlessly between UMUM, REVAMP, and KMP, with per-thread ThreadLocal<AppTarget> isolation (setThreadAppTarget/clearThreadAppTarget).
  5. Hardened Security, Offline Dashboard & Zero External Dependencies: Features native Mobile.* Ghost Mode fallback, XXE fail-closed/ReDoS/XSS/CSRF defenses, static-asset allowlist + RFC 9110 HEAD + atomic locara.properties Mission Control config, Gradle Wrapper portability, and a compact self-contained JAR (locara-1.16.1.jar).