Self Healing Test
(Selenium + ML)
Healenium
•Healenium leverages the power of machine
learning to improve the reliability and resilience
of selenium tests.
•Works by automatically detecting and healing
test failures caused by changes in the web UI.
Introduction
Overview
01
Healenium improves stability of Selenium-
based test cases, handling changes of
updated web elements
02 Stable and smart Selenium testing with less
effort
Business Values
Minimize Maintainance time of automation
code
Efficient Test Automation
UI changes does not affect automated E2E
tests
Stable E2E Tests
Reduce the testing stage failure due to the
non product related issue
Green CI Pipeline
01 02 03 04
Visualize controls
state:
Provides detailed
reporting with fixed
control values and
screenshots
Benefits of using Healenium
Handles
NoSuchElement
test failures:
replaces failed
control with a new
value in run time
Test on mobile:
All of these features
are available for
mobile testing as
well
Adopts test to UI
changes:
Self-healing
capabilities allows to
replace "broken"
locator with a new
value and fix test in
runtime.
Implementation
Create a Maven project and add maven dependency of
Healenium in POM.xml
wrap your Selenium driver with SelfHealingDriver
Specify custom healing config file healenium.properties
•
•
•
•
healenium.properties
Implementation
Start the healenium backend:
create the docker-compose file.
Create init.sql file
Start the docker(Docker compose up -d)
Run the framework:
mvn clean test
Framework
Framework
DEMO
Thank You!
Presented By:
Meenal Jain

AI in UI automation using Helenium

  • 1.
  • 2.
    •Healenium leverages thepower of machine learning to improve the reliability and resilience of selenium tests. •Works by automatically detecting and healing test failures caused by changes in the web UI. Introduction
  • 3.
    Overview 01 Healenium improves stabilityof Selenium- based test cases, handling changes of updated web elements 02 Stable and smart Selenium testing with less effort
  • 4.
    Business Values Minimize Maintainancetime of automation code Efficient Test Automation UI changes does not affect automated E2E tests Stable E2E Tests Reduce the testing stage failure due to the non product related issue Green CI Pipeline
  • 5.
    01 02 0304 Visualize controls state: Provides detailed reporting with fixed control values and screenshots Benefits of using Healenium Handles NoSuchElement test failures: replaces failed control with a new value in run time Test on mobile: All of these features are available for mobile testing as well Adopts test to UI changes: Self-healing capabilities allows to replace "broken" locator with a new value and fix test in runtime.
  • 6.
    Implementation Create a Mavenproject and add maven dependency of Healenium in POM.xml wrap your Selenium driver with SelfHealingDriver Specify custom healing config file healenium.properties
  • 7.
  • 8.
    Implementation Start the healeniumbackend: create the docker-compose file. Create init.sql file Start the docker(Docker compose up -d) Run the framework: mvn clean test
  • 9.
  • 10.
  • 11.
  • 12.