k11 Appium QA

v0.1.0
io.github.K11-Software-Solutions/appium-qa Checked 2 days ago Published 18 days ago

Self-healing Appium locators for Android and iOS apps, healed on the screen each test failed on.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

inspect_screen Inspect screen

List a screen's elements with locators verified to match exactly one element, most stable first (accessibility id, resource id, text, XPath). screen: a saved page source XML in the project; omit to read the live device. lang: python (default) or java, for how locators are written.

ParameterTypeDescription
interactive_onlyboolean
lang
max_elementsinteger
screen

check_locator Check locator

How many elements an Appium locator matches on a screen (1 = good) and whether it's visible. Accepts Python (AppiumBy.X, "v"), Java AppiumBy.x("v") and @AndroidFindBy / @iOSXCUITFindBy forms.

ParameterTypeDescription
locator *string
screen

capture_baseline Capture locator baselines

While tests pass, record what each locator's element looks like (accessibility id, resource id, text, hint, class) in .qa-mcp/appium-baselines.json, per platform. heal_locator and heal-ci use these after the app changes. Run it on each screen your tests use (or on screens saved from passing runs).

ParameterTypeDescription
locators *array
screen

heal_locator Heal locator

For a locator that no longer matches (or matches several elements), find the intended element on the screen and suggest a verified replacement with a confidence score, reasons, the runner-up and alternatives (accessibility ids preferred). screen: the page source saved when the test failed (see run_tests), or omit for the live device. Never edits files.

ParameterTypeDescription
locator *string
lang
screen

accessibility_check Accessibility check

Tappable elements a screen reader can't name, and duplicate accessibility ids. These hurt users AND make tests fragile (no stable accessibility id to target).

ParameterTypeDescription
screen

save_screen Save screen

Save the live device's current screen (page source) to .qa-mcp/appium-screens/<name>.xml, to inspect, heal or capture baselines later without a device.

ParameterTypeDescription
name *string

run_tests Run tests

Run the project's pytest + Appium suite. Failures caused by a missing element include the locator, the line, the platform and the screen saved at that moment (pass it to heal_locator).

ParameterTypeDescription
keyword
targets