Salesforce QA Automation Framework

A purpose-built automation framework for Salesforce Lightning components, handling dynamic shadow-DOM elements and complex approval workflows.

-80%

Locator failures

40+ flows

Coverage

Problem

Standard automation tools struggled with Salesforce's dynamic Lightning Web Component DOM structure, causing constant locator failures.

Architecture

Custom locator strategy library with self-healing selectors, layered on top of Playwright with Salesforce-specific wait conditions.

Challenges

  • Dynamic shadow DOM elements
  • Complex multi-step approval workflows

Solutions

  • Built a resilient custom locator strategy library
  • Modeled workflows as reusable, composable test steps

Tech Stack

PlaywrightTypeScriptSalesforce APIsJenkins