Repository navigation
Target Profiles
MuchoRio edited this page Nov 23, 2026
·
4 revisions
Locara features a Tri-Target Heuristic Architecture that tailors its recovery algorithms to the exact architectural pattern of the application under test.
| Profile | Target Application | Primary Heuristics | Best Suited For |
|---|---|---|---|
AUTO |
Any / Auto-Detected | DOM signature sniffer; switches between profiles dynamically | Mixed or evolving applications. |
UMUM |
Generic Mobile Apps | Accessibility ID, Class hierarchy, Text similarity, 2D proximity | E-commerce, Ride-hailing, Fintech, Consumer apps. |
REVAMP |
React Native Hybrid Apps | Parent-container resolution, nested ViewGroup text/accessibility heuristics | Deeply nested React Native & hybrid mobile architectures. |
KMP |
Kotlin / Compose Multiplatform |
testID morphology resolution, canonical screen-element token mapping |
Modern Jetpack Compose / SwiftUI / KMP enterprise apps. |
# Force KMP Profile for Kotlin Multiplatform / Compose Mobile Project
locara.target=KMPimport com.qureon.locara.katalon.Locara
// Switch profile cleanly for the active execution thread
Locara.setAppTarget("KMP")Observed and empirically verified during live Android 14+ (HyperOS/MIUI) & Compose Multiplatform (testTagsAsResourceId = true) reconnaissance:
-
Compose Error Container Pattern (
*_errorwithtext=""):- Inline validation nodes (
register_phone_input_error,register_account_number_input_error,register_account_password_confirm_input_error,lock_password_error, etc.) are rendered as parentandroid.view.Viewcontainers with emptytext="", wrapping a childandroid.widget.TextViewthat holds the red validation message. - Always extract error copy via descendant
TextViewfallback (e.g.MobileElementUtil.safeGetText()), never rawgetAttribute("text")on the container alone.
- Inline validation nodes (
-
Non-
_alert_Dialog Suffixes vs Full-Page Failed States:- Modal error dialogs in KMP do not exclusively use
*_alert_message/*_alert_ok_button. Verified modal exceptions include*_problem_message/*_problem_ok_button(my_account_spt_problem_*),*_error_message/*_error_ok_button(valas_error_*,face_error_*,kalkulator_error_*), andstatement_failed_*/liveness_failed_*/register_account_confirm_failed_*. - Do not blindly wildcard
*_failed_messageas modal alerts, because full-page error states (e.g.,my_account_failed_message,transfer_hub_failed_message) share that suffix without an OK button.
- Modal error dialogs in KMP do not exclusively use
-
Android 14+ System Overlays & Choosers:
- Runtime permission controller package on Android 14+ Google builds is
com.google.android.permissioncontroller(in addition tocom.android.permissioncontroller), second-prompt deny usespermission_deny_and_dont_ask_again_button, and"Don’t allow"uses Unicode curly apostropheU+2019. - Triggering SMS registration opens
com.android.intentresolver("Open with"chooser withdialog_dim_bg); first-time login triggers Google Password Managerandroid:id/autofill_save(autofill_save_no="Never").
- Runtime permission controller package on Android 14+ Google builds is
-
Compose Checkbox Safe-Left-Tap Invariant:
- Legal agreement checkboxes (
register_account_terms_checkbox,register_account_password_terms_checkbox) span the full width including embedded terms text links. Tapping the center risks opening the terms modal instead of togglingchecked=true; always tap the left-side checkbox box (x + 8%width) and guard against unchecking an already-checked box.
- Legal agreement checkboxes (
-
Post-Alert Form Reset Asymmetry:
- After backend rejection alerts (e.g.
[REG14]), KMP automatically clears text inputs (register_account_number_input_input,register_account_pin_input_input) while keeping the terms checkboxchecked=true.
- After backend rejection alerts (e.g.
-
Live Build vs Catalog (
qa-pack) Drift:- Always verify live dumps alongside static testID catalogs: live builds expose
register_account_back_button,register_phone_back_button,register_account_confirm_back_button,register_account_email_back_button, and renderregister_email_sent_message/register_email_later_buttonon the account-registration success modal.
- Always verify live dumps alongside static testID catalogs: live builds expose
-
Multi-Surface Login Entry (
lock_screenvsshell_modal_sheetvshome_login_button):- On cold launch, KMP renders full-screen
lock_screen(lock_panel+lock_password_input). - When dismissed to Guest Home (
home_screen+home_login_button), tappinghome_login_buttonor any auth-gated menu mounts Login inside a bottom sheet (shell_modal_sheet+shell_modal_scrim) withoutlock_screenorlock_panelin the hierarchy. Login flows must detect all three entry states (cold launch, guest/in-app, and already-opened login sheet) vialock_password_input/shell_modal_sheet/home_login_button.
- On cold launch, KMP renders full-screen
Built with ❤️ by Qureon Engineering Intelligence • Autonomous Self-Healing for Resilient Mobile Automation