Automation Framework Releted InterView Questions, Automation Maintenance & Troubleshooting
Automation Maintenance & Troubleshooting: Jenkins, Flaky Tests, Execution Speed, Real Challenges Automation Maintenance & Troubleshooting Jenkins vs local · Flaky tests · Speed · What to automate · UI changes · Long‑term suite · Real challenge 1. Script fails only in Jenkins but works locally – why? Environment differences are the main culprit. Jenkins often runs: Headless mode – different browser behaviour. Different browser version / driver – mismatch with local. File paths – absolute paths that don’t exist on Jenkins. Missing environment variables or permissions . Timing – slower CI server needs longer waits. Debug: Check Jenkins console logs, headless rendering, use same browser/driver versions, make paths relative, and add explicit waits. 2. How do you debug a flaky test? Flaky test = passes/fails inconsistently without code changes. Steps: A...