RoboCon2025

Appium Self-healing for RobotFramework AppiumLibrary
2025-02-13 , RoboCon

Are you tired of flaky tests breaking down with every UI tweak? Say goodbye to endless locator maintenance and hello to self-healing automation! Join our session on Integrating Self-Healing Locators into Robot Framework’s Appium Library. Transform your testing workflow with adaptive, resilient automation solutions!


As a nightmare, as it looks for UI flaky tests due to many changes related to UI elements, it causes a lot of effort, false results, and insights. We devised a solution that can provide self-healing for Mobile App flaky elements. The self-healing mechanism in AppiumLibrary is designed to enhance the robustness of mobile automation testing by automatically recovering from failed locators. When a locator fails to find a UI element due to changes in the app's structure (e.g., updated UI, element attributes changes), the self-healing mechanism dynamically identifies alternative locators on the fly to ensure that tests proceed without manual intervention.


In-Person or Online talk?:

In-Person

Categorize / Tags:

Appium, Mobile App Testing, UI Testing, Flaky Tests

Lessons Learned:

In the fast-paced world of mobile application development, UI changes are frequent and often unpredictable. These changes can cause automated test scripts to fail when locators—used to identify UI elements—become outdated or inaccurate. To address this challenge, we propose a Self-Healing Locator Mechanism integrated into the Robot Framework’s Appium library. This solution stores locator information in a database and employs intelligent algorithms to automatically recover from locator failures, significantly enhancing the resilience and maintainability of automated mobile tests.

Describe your intended audience:

Mobile App Test Automation Engineers
AppiumLibrary RF library users
Test Automation Engineers
Beginner / Intermediate and Advanced RF Users

Is this suitable for ..?:

Beginner RF User, Intermediate RF User, Advanced RF User

Scope, Result, and Deadline-oriented Software Test Automation lead with more than 12 years of experience including Automation and Performance Testing. Areas of expertise include Testing Planning Activities, Test case development, System testing, Database testing, Performance Testing, Automation Testing, Mobile App Testing, bug tracking, Evaluating test results, Error classification, and reporting, and supporting the developer with error analysis and root cause. Certified as DevOps Foundation and ISTQB Foundation Level Quality Engineer.

I have attended Robcon multiple times in 2022 and 2021 - Online and In-Person. This time I am eager to represent the idea I came up with my college Eslam for Appium Self Healing which is a big challenge for most Software Engineers in Test to help them have no flaky tests from the UI side

Hello, My name is Eslam Elmishtawy
A highly skilled Software Quality Engineer with extensive experience in creating and maintaining automation frameworks for testing mobile and web applications. Proficient in bug tracking and reporting using JIRA, as well as multiple programming languages, including Java, Python, and Dart. Strong understanding of SDLC and STLC, including Agile and Waterfall. Passionate about continuous learning and staying up-to-date with the latest technologies and trends in software development.