Skip to content
testautomatisierung.info
by Wilson Campero

Test Automation: The Practical Guide from 200+ Projects

Test automation rarely fails because of the tool. It fails because of maintenance.

Wilson Campero, ISTQB Certified Tester Advanced Level, Founder Qytera Quality GmbH

Wilson Campero

ISTQB Certified Tester Advanced Level (Full)

I hold the black belt in software testing: ISTQB Full Advanced since 2014, all 3 modules. What I learned in 200+ projects, I share here.

22+

Years IT

200+

Projects

15+

Years Testing

★★★★★ 4.8 ProvenExpert

Do You Need Test Automation? 5 Warning Signs

If you recognize more than three of these symptoms in your team, test automation is no longer optional.

1

Release cycles take weeks instead of days

Features are done, but regression tests block the release.

2

Regression tests block the team for days

Every sprint ends with 2-3 days of manual testing. Developers wait.

3

DevOps is in place, but it doesn't feel faster

The pipeline is running, but without automated tests it just delivers buggy software faster.

4

Test team overwhelmed, developers don't test

Testers are the bottleneck. Developers push changes through without a safety net.

5

No test coverage metrics available

Nobody knows how much is tested. Decisions are based on gut feeling.

Recognized 3 or more? Test automation is the missing half of your DevOps transformation.

The tool isn't the solution. The strategy behind it is.

4 Reasons Why Test Automation Fails

From 200+ projects: The most common patterns that lead to failure. And how to avoid them.

1. The "Tool-First" Problem

The Pattern: The team evaluates tools for 3 months. Creates comparison matrices. Runs PoCs. Decides on Playwright. And realizes after 6 weeks: The test cases were the problem, not the tool.

Why it happens: Tool evaluation feels productive. It's concrete, measurable, and fun. The real work (test strategy, test architecture, test data) is abstract and uncomfortable.

The Solution: Test strategy before tool selection. First define: What should be automated? Which test types? Which priorities? The tool is a detail.

2. Test Automation as a Project Instead of a Process

The Pattern: A 6-month project is set up. Budget is approved. A team is assembled. After 6 months: 200 tests are green. Project is closed as "successful". After 12 months: 150 tests are red, 30 disabled, nobody maintains the rest.

Why it happens: Test automation has no end date. It's like a garden: it needs constant care. Projects have an end. Processes don't.

The Solution: Plan a fixed maintenance budget from day 1. 15-25% of the initial effort per sprint, permanently. No maintenance budget = no start.

3. The Euphoria-Decay Curve

The Pattern: Week 1-4: Setup. Week 5-8: Euphoria ("100 tests automated!"). Month 4-6: Disillusionment (tests become flaky). Month 7-12: Decay (tests get skipped). Month 13: "We need a new framework."

Why it happens: Flaky tests destroy trust. When a test fails 3 times in a row for no reason, the team ignores it. Then the next one. Then all of them.

The Solution: Zero tolerance for flaky tests. Every flaky test gets fixed or disabled immediately. A red test that gets ignored is worse than no test.

4. "We Don't Have Time to Test"

The Pattern: Feature goes live. Production bug is reported. 4 hours of debugging. Hotfix. Next feature goes live. Next bug. 4 hours. And so on. By the end of the quarter, the team has spent more time firefighting than testing would have ever cost.

Why it happens: Testing is invisible when it works. Firefighting is visible and rewarded ("Hero saves production!"). The incentive system is broken.

The Solution: Measure firefighting costs. Timesheets for unplanned bug fixes. Compare that with the test automation budget. The numbers speak for themselves.

Do you recognize your project in these patterns?

Start free quick check

The Difference Between Success and Failure

Test automation is an investment decision. These 7 questions will help you evaluate.

Test automation pays off when...

  • ...you do more than 2 releases per month
  • ...regression tests cost more than 2 person-days per sprint
  • ...your software will be developed for at least 2 more years
  • ...you have (or plan) a CI/CD pipeline
  • ...your team is willing to treat tests as code

Test automation does NOT pay off when...

  • ...the software will be replaced in 6 months
  • ...no budget for ongoing maintenance is planned
  • ...the test object changes fundamentally every day
  • ...only exploratory tests are needed
  • ...nobody on the team or externally can maintain the tests

7 Questions a CTO Must Answer

  1. 1

    How many person-days per sprint currently go to manual regression testing?

  2. 2

    How often per month do we deploy (or want to deploy)?

  3. 3

    How high are our firefighting costs (unplanned production bug fixes)?

  4. 4

    Is there someone on the team with programming experience who can write tests?

  5. 5

    Is a maintenance budget of 15-25% of the setup budget secured permanently?

  6. 6

    Do we have stable test environments or is the environment itself the problem?

  7. 7

    Is management willing to wait 3-6 months for measurable ROI?

Break-Even Formula

When test automation pays for itself:

Break-Even (Sprints) = Setup Cost / (Manual Test Cost per Sprint - Maintenance Cost per Sprint)

Example: 40 PD setup / (5 PD manual - 1 PD maintenance) = 10 sprints to break-even (~5 months)

Tool Comparison 2026: Which One Fits You?

No tool is the "best". But there is the right one for your team.

Playwright

Language:
TypeScript, JavaScript, Python, Java, .NET
Browser:
Chromium, Firefox, WebKit
Learning Curve:
Mittel
CI/CD:
Nativ (GitHub Actions, GitLab CI, Jenkins)
Community:
Sehr aktiv (Microsoft)
Cost:
Open Source

Wenn Ihr Team TypeScript kann und Cross-Browser-Tests braucht

Cypress

Language:
JavaScript, TypeScript
Browser:
Chromium, Firefox, Edge (kein Safari)
Learning Curve:
Niedrig
CI/CD:
Cypress Cloud oder eigene CI
Community:
Aktiv, kommerziell gestützt
Cost:
Open Source (Cloud kostenpflichtig)

Wenn Ihr Team schnell starten will und kein Safari braucht

Selenium

Language:
Java, Python, C#, Ruby, JavaScript
Browser:
Alle (via WebDriver)
Learning Curve:
Hoch
CI/CD:
Selenium Grid, Docker, Cloud-Anbieter
Community:
Riesig, seit 2004
Cost:
Open Source

Wenn Sie ein bestehendes Java/Python-Team haben und maximale Flexibilität brauchen

Robot Framework

Language:
Python (Keyword-Driven, kein Code nötig)
Browser:
Via Browser Library (Playwright) oder Selenium
Learning Curve:
Niedrig (Keywords statt Code)
CI/CD:
Jenkins, GitLab CI, eigene Pipelines
Community:
Aktiv, vor allem in DACH und Nordics
Cost:
Open Source

Wenn Tester ohne Programmiererfahrung automatisieren sollen

Frequently Asked Questions About Test Automation

When does test automation NOT make sense? +

Test automation doesn't pay off for one-time tests, exploratory tests, UX reviews, or software nearing end-of-life. Also when the test object changes fundamentally all the time (e.g., early prototypes), manual testing is more efficient. Rule of thumb: If a test runs less than 5 times, don't automate it.

What percentage of tests should be automated? +

There's no magic number. In practice, successful teams achieve 60-80% automated regression tests. The remaining 20-40% stay exploratory and manual. More important than the ratio is: Are you automating the right tests? An automated test that never fails has no value.

What does test automation cost per month in ongoing operations? +

After the initial setup (typically 2-4 months), expect 15-25% of the original effort for maintenance. For a team with 500 automated tests, that means about 2-3 person-days per sprint for maintenance, updates, and new tests. CI/CD infrastructure costs (cloud runners, test environments) run at 200-500 EUR/month.

Can test automation be introduced retroactively? +

Yes, and that's actually the most common case. Most organizations start test automation in existing projects, not greenfield. The key: Start small. Automate the most critical regression tests first (login, checkout, core processes), not everything at once.

Test automation with legacy systems: Is it possible? +

Yes, with limitations. Legacy systems without stable IDs, APIs, or test environments require more effort. Proven approaches: API tests instead of GUI tests where possible, image-based recognition for mainframe UIs, and wrapper services around legacy interfaces. The ROI is often higher than with modern systems because manual regression tests are particularly time-consuming with legacy.

How do I know if my test automation project is failing? +

Three early warning signs: (1) More than 10% of your automated tests are 'flaky' (sometimes green, sometimes red without code changes). (2) Maintaining tests takes longer than writing new features. (3) The team bypasses tests ('skip' or 'retry until green'). If you see any of these: Stop, analyze, rethink the architecture.

Test automation without your own team: Make or buy? +

Both work, but with different risks. 'Make' (own team): Cheaper long-term, but requires 6-12 months of ramp-up time and know-how development. 'Buy' (external experts): Faster productive, but more expensive with dependency risk. The best strategy: Externals start the setup, internal team takes over gradually. Knowledge transfer is mandatory, not optional.

How long until test automation delivers results? +

First measurable results after 4-6 weeks (automated smoke tests in the CI/CD pipeline). Noticeable ROI after 3-4 months (reduced regression test time by 40-60%). Full maturity after 6-12 months (stable test suite, under 5% flaky rate, automated reports). If you see no improvement after 3 months, you have an architecture problem.

About the Author

Wilson Campero, ISTQB Certified Tester Advanced Level, Founder Qytera Quality GmbH

Wilson Campero

ISTQB Certified Tester Advanced Level (Full)

I hold the black belt in software testing: ISTQB Full Advanced since 2014, all 3 modules. What I learned in 200+ projects, I share here.

22+

Years IT

200+

Projects

15+

Years Testing

★★★★★ 4.8 ProvenExpert

The mistakes in this guide are ones I made myself or observed at clients like Deutsche Telekom, Deutsche Bank, and SAP. The solutions have proven themselves in 200+ projects.

Next Step

Ask an expert?

Free 15-minute quick check: Where does your team stand?

Start quick check

Request consulting?

Build test automation strategically with expert guidance.

View services