All jobs / Automation developer / Automation Fundamentals
Automation developer interview question · 0–1 years
A test only checks that the page did not throw. What is missing?
The strongest answer
An oracle — the price, the status, the email, the row — something a human would call “it worked”
Why it works
Exactly. Green without an oracle is a smoke that never looked.
What a good answer covers
- Name the outcome you prove.
- Timeouts are not oracles.
- More browsers ≠ more proof.
- Screenshots support; they do not replace.
Answers that fall short
- Close, but not the strongest: A longer timeout
Time is not an outcome. - Weak: A second browser so we have coverage
Two browsers still need a check. - Red flag: A screenshot stored forever
A picture without a claim is not an assert.
Who gets asked this
More Automation Fundamentals questions
- 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?
- How do you debug a flake that only happens in CI?
- The framework offers retries: 2 on every test. When do you use it?
- You quarantine a flake. What else is required?
- When do you stub the payment API in a UI test?