All jobs / Automation developer / Automation Fundamentals
Automation developer interview question · 0–1 years
Where should most automated checks live?
The strongest answer
In fast, isolated tests — units and API contracts — with a thin UI smoke on the money path, not a mountain of browser clicks for every field
Why it works
Exactly. Cheap layers catch cheap bugs. The UI pack is a scarce budget.
What a good answer covers
- Many cheap tests, few browser tests.
- UI pack = money path.
- Do not skip the glue.
- Tools follow the pyramid, not the reverse.
Answers that fall short
- Close, but not the strongest: In the UI, because that is what the user sees
Users see the UI; that does not make every check a browser test. - Weak: Only in unit tests; the browser is never worth it
Skipping the UI entirely leaves the glue untested. - Red flag: Wherever the tool we licensed is strongest
A licence is not a test strategy.
Who gets asked this
More Automation Fundamentals questions
- You need to prove a discount rule. Where do you put the first automated check?
- Test B fails when you run it after test A, and passes alone. What is wrong?
- A junior’s test is 80 lines of clicks with one expect at the end. What do you ask for?
- A test only checks that the page did not throw. What is missing?
- A UI test fails one in four CI runs. What is it?
- A PR adds a test that Playwright can click a native checkbox. What do you say?
- A test logs in, updates the profile, buys, refunds, and checks the invoice PDF. What do you do?
- A new date-parsing helper is wrong on leap days. Where does the first test go?