Course objectives
After completing this course, students will be able to:
- Eliminate NoSuchElementException: Stop scripts from failing immediately when a developer changes an ID or CSS class.
- Architect Healenium Infrastructure: Deploy the Healenium backend using Docker and integrate it with PostgreSQL.
- Implement Self-Healing Drivers: Transition existing frameworks by wrapping standard drivers with SelfHealingDriver.create(delegate).
- Analyze Healing Reports: Use the Healenium Web UI to review healed locators, confidence scores, and success rates.
- Master the IDEA Plugin: Use the IntelliJ plugin to update your source code with healed locators in a single click.
- Scale with Appium & Selenide: Apply self-healing logic to Mobile automation and wrapper frameworks like Selenide.
Course outlines
- Phase 1: Understanding the AI Engine
- The "Brittle Locator" Problem: Why traditional automation fails in Agile/DevOps.
- Healenium Architecture: How the Proxy, Backend, and Database interact.
- The Healing Algorithm: Deep dive into Tree comparison and heuristic matching.
- Phase 2: Infrastructure & Setup
- Docker Implementation: Running the docker-compose.yaml to spin up Postgres and the Healenium Backend.
- Maven Integration: Adding healenium-web and hlm-backend dependencies.
- Configuration: Setting up the healenium.properties file for threshold and recovery settings.
- Phase 3: Writing Self-Healing Scripts
- The Wrapper Method: Converting a ChromeDriver into a SelfHealingDriver.
- Page Object Model Integration: Making your Page Factory or @FindBy annotations self-healing.
- Simulating UI Changes: A hands-on lab where we intentionally break a website's IDs to watch Healenium fix them in real-time.
- Phase 4: Reporting & Maintenance
- Healenium Web UI: Reviewing the "Healing Results" dashboard.
- The One-Click Fix: Using the IntelliJ IDEA Plugin to permanently update your Java files.
- Parallel Execution: Running self-healing tests in parallel on Selenium Grid or Selenoid.
- Phase 5: Advanced Scenarios
- Iframe & Shadow DOM: Handling complex web structures with Healenium.
- Appium Integration: Applying self-healing to Android and iOS mobile apps.
- CI/CD Pipeline: Integrating Healenium into Jenkins or GitHub Actions.