Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Automation & CIMiddleOccasionalStrategy

How do you decide whether a test should be automated?

Answer

Automate when the check is repeatable, valuable, stable enough and cheaper to maintain than to rerun manually. Consider execution frequency, risk, data and environment control, feedback speed and whether automation can make a reliable assertion.

Strong answer includes

  • value and maintainability
  • risk and repetition
  • rejects a 100-percent automation goal

Practical example

A login flow that runs in every regression cycle and rarely changes is an easy automation candidate — high frequency, high value, stable. A one-off visual check of a marketing landing page redesigned every month is a poor candidate, because the maintenance cost of updating the automated check would exceed the cost of just looking at it manually twice.

Sources

DOU — QA interview: 250+ questionsDOU · Coverage signal across Junior, Middle, Senior, AQA, web, mobile and practical topicsISTQB CTFL syllabus v4.0.1ISTQB · Testing vocabulary, principles, lifecycle and test-design concepts