Testing & QA

Manual vs Automation Testing: What to Automate and What Not To

Automation is not a replacement for manual testing. Here is how to decide which tests to automate, how to judge the return, and how to keep a suite trustworthy.

  • DivTech editorial team
  • 7 min read
Manual testing
vs
Automated testing
Testing & QA · part 1 of 5

Few QA questions cause as much debate as how much to automate. Some teams automate everything they can and drown in brittle scripts. Others test entirely by hand and find that every release takes longer than the last. The useful answer sits in between: automate the checks a machine does better, and keep people on the work that needs judgement.

This guide sets out what each approach is good at, practical criteria for choosing, a simple way to judge the return on automation, and how to stop flaky tests eroding trust. It reflects how our software testing and QA team plans test strategies for web and mobile products.

What each approach does best

Manual and automated testing answer different questions. Automated tests confirm that things which used to work still work, quickly and identically every time. Manual testing, especially exploratory testing, finds the things nobody thought to check: confusing flows, odd edge cases, layouts that are technically correct but look wrong.

comparisonManual vs automated testing
Manual testingJudgement
  • Exploratory testing and unexpected paths
  • Usability, clarity and visual polish
  • New or rapidly changing features
  • One-off checks and investigations
  • Low setup cost, but repeated effort every release
Automated testingRepetition
  • Regression checks on every change
  • Large data sets and many input combinations
  • API and integration contracts
  • Fast feedback inside the CI pipeline
  • Higher setup and maintenance cost, near-zero cost per run

verdictUse automation to protect what already works and free testers to explore what is new.

DivTech System

What to automate

A test is a strong candidate for automation when most of these are true:

  • It runs often. Anything checked on every pull request or every release pays back quickly.
  • The feature is stable. Automating a screen that will be redesigned next sprint means writing the test twice.
  • The expected result is clear and deterministic. A total, a status code or a saved record can be asserted; whether a page feels cluttered cannot.
  • Failure would be costly. Login, checkout, payments, permissions and data exports deserve automated protection even if they rarely change. In ecommerce, checkout is the obvious first candidate.
  • It involves lots of data or combinations. Pricing rules, tax calculations and validation across many inputs are tedious and error-prone by hand.
  • It must run in the pipeline. If the check is meant to block a bad merge, it has to be automated.
decision matrixShould this test be automated?
How stable the feature is (changing to stable) →
Automate if high risk

Stable but rarely run, such as a year-end report. Automate when failure is costly; otherwise keep a written manual check.

Automate first

Stable and run on every build: core user journeys, APIs, calculations. The best return on automation.

Test manually

Changing and rarely run, such as a new experimental feature. Explore by hand and revisit later.

Automate below the UI

Changing but run often. Cover the logic with unit and API tests and keep UI checks manual until the screen settles.

How often the test runs (rarely to every build) →
DivTech System

What not to automate

  • Exploratory testing. Its value comes from a person noticing something odd and following it.
  • Usability and visual judgement. Tools can catch layout shifts and contrast failures, but not whether a flow makes sense to a new user. Pair this with UI/UX design reviews.
  • Features about to change. Wait until the design and behaviour settle.
  • One-off checks. A data migration verified once may be better served by a script and a careful manual review than by a permanent test.
  • Things designed to resist automation. CAPTCHAs and third-party login pages should be stubbed or bypassed in test environments, not driven by scripts.

A simple way to judge automation ROI

You do not need a complex model. For each candidate, compare three numbers over a sensible period such as a year: the manual time per run multiplied by the number of runs, the time to build the automated test, and the expected maintenance time. Maintenance is the figure teams underestimate most; UI tests in particular need updating whenever screens change.

As an illustration with hypothetical numbers: a manual regression pass of a checkout flow that takes one hour and runs before each of 40 releases a year costs 40 hours. If automating it takes 12 hours and maintaining it another 10 hours a year, it pays back within the year, and it also runs on every pull request, which manual testing never would. A rarely used admin screen checked four times a year is a much weaker case.

Speed of feedback has value beyond hours saved. A test that fails within minutes of a change points straight at the cause; a bug found during a manual pass a week later costs far more to trace. That is why automated checks belong in the CI/CD pipeline rather than in a separate run nobody looks at.

The test pyramid

Where you automate matters as much as what. The test pyramid suggests many fast, cheap tests at the bottom and few slow, expensive ones at the top.

stackThe test pyramid, top to bottom
L1
Exploratory and manual

Human-led sessions on new features, usability and risky areas. Not automated by design.

L2
End-to-end UI tests

A small set covering critical journeys through the real interface. Slowest and most brittle.

L3
API and integration tests

Services, databases and external contracts tested without the UI. Fast and stable.

L4
Unit tests

The largest layer: individual functions and components, run in seconds on every change.

Push each check down to the lowest layer that can catch the bug.

DivTech System

Teams that invert the pyramid, with hundreds of UI tests and few unit tests, usually end up with slow pipelines and frequent false failures. If a rule can be tested through an API or a unit test, do it there and keep the UI test for the journey itself. Our guide to types of software testing explains each level in more detail.

Flaky tests: the silent killer of automation

A flaky test passes and fails on the same code. A few of them are enough to teach a team to ignore red builds, at which point the suite stops protecting anything. Common causes and fixes:

  • Timing: fixed sleeps and race conditions. Use the framework's built-in waiting for elements and network calls instead.
  • Shared test data: tests that depend on each other or on leftover records. Give each test its own data and clean up after it.
  • Unstable environments: shared staging servers and slow third-party sandboxes. Stub external services where the test is not about them.
  • Fragile locators: selectors tied to layout or styling. Prefer accessible roles, labels or dedicated test IDs.

Who should write and own automated tests

Automation works best as a shared responsibility. Developers should write unit and most integration tests as part of each feature, because they know the code and get the fastest feedback. QA engineers bring test design skills: they decide which journeys deserve end-to-end coverage, design test data, spot gaps and keep the suite healthy. Where a separate team writes all automation after the fact, tests tend to lag behind features and break whenever screens change. Whoever writes a test, the team that changes the feature should fix the test when it breaks, rather than throwing it over a wall.

Getting the balance right

A practical starting point for most products: write unit tests as part of every feature, add API tests for each important endpoint, automate a small set of end-to-end journeys that would hurt most if they broke, and spend manual effort on exploratory testing of what is new. Review the balance each quarter. Tool choice matters less than this strategy, but if you are choosing, our comparison of Selenium vs Cypress vs Playwright will help, and our guide to a QA process for agile teams shows how it fits into sprints.

The same principles apply whether your front end is built in React or another framework, and whether you test in-house or with a partner. At DivTech, our QA engineers work alongside development teams to build suites that stay fast and trusted. Contact us to review your current test strategy.

Frequently asked questions

Can automation testing replace manual testing completely?

No. Automation is excellent for repeatable regression checks, but exploratory testing, usability and visual judgement still need people. The aim is to free testers from repetitive checks so they can focus on finding new problems.

What should we automate first?

Start with stable, business-critical flows that run on every release, such as login, checkout or core calculations, and cover them mainly through unit and API tests with a few end-to-end UI tests on top.

Why are our automated tests so flaky?

The usual causes are fixed waits, shared or leftover test data, unstable shared environments, dependence on third-party services and fragile selectors. Fix the cause rather than adding retries, and quarantine flaky tests with an owner.

How much test automation is enough?

Enough that the team trusts a green build to mean the main paths work, and that regression testing no longer delays releases. Coverage percentages help as a signal but are not a goal in themselves.

  • Test automation
  • Manual testing
  • QA strategy

free consultation

Need help with testing & qa?

Talk to our Software Testing & QA team. We'll review your situation and suggest a practical next step, free.