assert_
glossary ↓ downloads
track: java · selenium
suite 00 · mindset shift

The automation ROI test

Mindset shift8 min read
as a manual tester

You decide what to test each cycle based on risk and what changed.

in automation

You decide what to automate based on repetition, stability, and cost of failure. Same judgment, new lens.

Not everything should be automated. Automation is an investment: you spend time writing and maintaining a test so it can pay you back every time it runs. A test that runs once never pays for itself. A test that runs on every commit for two years pays for itself hundreds of times over.

Three questions decide whether a check is worth automating:

1. How often will it run?

Regression checks that repeat every release are prime candidates. A smoke test for login runs thousands of times a year. A check for a one-off data migration runs once — do it by hand.

2. How stable is the feature?

Automating a screen that's redesigned every sprint means rewriting the test every sprint. Wait for the churn to settle. Stable core flows — login, checkout, search — are where automation shines.

3. What does a miss cost?

If a payment flow silently breaks, the business bleeds money. High-cost failures justify automation even when they're rare, because the machine never forgets to check.

The test pyramid — where UI automation fits

You'll hear about the test pyramid: lots of fast unit tests at the bottom (developers write these), a middle layer of API/integration tests, and a small top layer of end-to-end UI tests. UI tests are the slowest and most fragile kind, so teams keep them focused on critical journeys. As an automation engineer you'll work mostly in the top two layers — and knowing the pyramid explains why your team doesn't want 2,000 UI tests.

the test pyramid — where your new career sits
UI / E2E — few API & integration — some no browser, fast, stable Unit tests — many developers write these automation engineers work here slower costlier more fragile faster cheaper more stable
the ROI check, as pseudocode
if (runsOften && featureIsStable && failureIsCostly) {
    automate();          // pays back many times
} else if (exploringNewFeature) {
    testManually();      // human judgment wins here
} else {
    reassessNextRelease();
}
⚡ exercise · score your own regression suite

Take 5 test cases you personally execute every release. For each, score 1–5 on: frequency, stability, and cost-of-failure.

  1. Multiply the three scores per test case.
  2. Rank them. The top 2 are your first automation targets — keep them, you'll automate one of them for real in Suite 04.
key takeaways
  • Automation is an investment that pays back per run — one-off checks rarely qualify.
  • Frequency × stability × cost-of-failure is the quick ROI filter.
  • The test pyramid keeps UI automation small and focused on critical journeys.
← Back to roadmap What NOT to automate →