Repository navigation
Keywords and API Reference
MuchoRio edited this page Nov 13, 2026
·
4 revisions
Locara provides both zero-code automatic healing (via test listeners) and explicit helper keywords for advanced scenario orchestration.
1. smartTap(TestObject to, String targetHint = "") & tap(TestObject to, int timeoutSeconds = 10, String targetHint = "")
Performs an intelligent tap on the target element with automatic self-healing, keyboard protection, and scroll fallback.
import core.LocaraKeywords
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
TestObject btnTransfer = findTestObject('Object Repository/Transfer/btn_Lanjut')
new LocaraKeywords().smartTap(btnTransfer, 'Lanjut')Safely inputs text into the target field, utilizing the Field Relationship Parser if the original input selector is broken.
new LocaraKeywords().smartSetText(findTestObject('Object Repository/Auth/input_Password'), 'DemoPass123!', 10, 'Password')Zero-Spy navigation directly by semantic intent hint, optionally synthesizing a Katalon .rs file.
new LocaraKeywords().tapByHint('Konfirmasi Bayar', 'Object Repository/Payment/btn_Konfirmasi', 10)For programmatic overlay dismissal or direct XPath recovery inside helpers:
import com.qureon.locara.katalon.Locara
import com.qureon.locara.core.guard.OverlayAirbag
new OverlayAirbag().dismissBlockingOverlay(driver, pageSource)
Locara.tapByHint('Icon QRIS', 'Object Repository/Home/icon_QRIS')
// For custom Appium driver.executeScript("mobile: scrollGesture", ...) helpers:
Locara.notifyManualScroll() // Prevents double scroll on the following tap/setText
Locara.clearManualScrollState() // Explicitly resets ThreadLocal scroll guard state
Built with ❤️ by Qureon Engineering Intelligence • Autonomous Self-Healing for Resilient Mobile Automation