On this page
"Should we automate our tests?" is usually asked as a yes-or-no question. It works better as two smaller ones: which checks, and when. Manual and automated testing do different jobs, and a small team gets the most from each by putting them in the right order.
What each one is good at
Manual testing finds what nobody wrote down. A person notices that the price flickers before it loads, that the back button loses the form, that the error message blames the user. No script told them to look. This is why new features, changed screens and anything a customer will judge by feel are tested by hand first.
Automated testing repeats what you already know. A script checks that login still works, in the same way, on every merge, at three in the morning. It never gets bored and never skips a step. It also never notices anything it wasn't told to check.
So the two don't compete. Automation protects what already works. Manual testing looks at what is new or uncertain.
Where the cost sits
The two cost money in different places, and that decides most of the order.
- A manual check costs the same every time you run it. Twenty minutes today is twenty minutes next week.
- An automated check costs most on the day you write it, then a smaller amount whenever the product changes under it. Each run after that is close to free.
That gives a simple test for any single check. Compare the hours you spend running it by hand each month with the hours it takes to write the script and keep it working.
Here is an example, not a benchmark. A checkout check takes 20 minutes by hand and runs before 8 releases a month: 160 minutes a month. Automating it takes 6 hours, and keeping it working takes 30 minutes a month. The script saves 130 minutes a month, so it pays for itself in about three months. Run the same check before 2 releases a month and the saving drops to 10 minutes a month: payback takes three years. Same check, different answer.
Two things follow. Automation pays when a check runs often. And it pays only while the thing it checks stays still: a script written against a screen that is redesigned next month is paid for twice.
What to automate first
Rank your checks by these four questions. The ones that score on all four go first.
- Does it take money or bring people in? Sign-up, login, password reset, checkout. A break here costs you the same day.
- Is it stable? The flow has looked the same for a few months and no redesign is planned.
- Does it have one clear right answer? "The order appears in the account with the right total" can be checked by a script. "The page looks right" can't.
- Does it run often? On every merge, or before every release.
That is usually a short list. Five to ten flows is a sensible first target. Start there, run them in CI on every merge, and stop. A small suite the team trusts is worth more than a large one people rerun until it passes.
Before you choose the flows, it helps to see how your team tests today.
What to keep manual
- New features in their first weeks. The design is still moving, and the interesting bugs are the ones nobody predicted.
- Exploratory testing. A tester with a goal and no script: wrong inputs, two tabs, a slow connection, the steps in the wrong order.
- Anything judged by eye or by feel. Layout on a small phone, confusing wording, an animation that stutters.
- One-off risks. A data migration, a new payment provider, a major version of a library. You will test it thoroughly once, so a script would never pay for itself.
- Real devices. An emulator tells you how the layout fits. A real phone tells you how it behaves.
An order that works for a small team
While the product changes every week. Developers write unit tests. One written regression checklist covers your critical flows and someone runs it by hand before each release. No end-to-end suite yet, or at most a smoke test of the three flows you could not afford to lose.
Once the main flows have settled. Automate those five to ten flows and run them on every merge. The checklist shrinks to what the suite doesn't cover. Manual time moves to new features and exploratory sessions.
When releases speed up. Add API-level tests for the rules with many combinations, such as pricing, permissions and limits. They run faster and break less than tests that click through screens. Grow the end-to-end suite slowly, one flow at a time, and delete tests that no longer earn their keep.
Signs the timing is off
You automated too early if tests are rewritten every sprint, a red build is rerun instead of read, or the suite has been switched off "for now."
You are automating too late if the regression checklist takes more than a day, releases wait on it, or the same bug has come back twice.
Both are fixable, and the fix is the same: go back to the four questions and move checks to the side where they belong.
Who does the work
Automation is code, and it needs an owner like any other code. On a small team that owner is often a developer with a roadmap to ship, which is how suites fall behind. If that is where you are, our test automation service puts an automation engineer on it: Playwright or Cypress tests written in your repo, run in your CI and kept working, with half a manual tester for everything a script can't judge.
The service behind this post
Test automation
An automation engineer writes Playwright or Cypress tests in your repo, runs them in your CI and keeps them working. Half a manual tester covers what automation can't, and overnight results are in your Slack before your workday starts.
Read about test automationAbout the author
Written by the TestStaff QA team
Senior QA engineers who test web and mobile releases for software teams. Every bug we report comes with video and repro steps within 24 hours.
About TestStaff