All jobs / Automation developer / Framework Design
Automation developer interview question · 1–3 years
A teammate wants the suite’s test data in a spreadsheet so “anyone can add a case”, starting with 400 rows for the checkout journey.
What do you push back on?
The strongest answer
Data-driven is one journey with genuinely different inputs — one row per rule, each named so a failure says which rule broke. Four hundred rows of the same path is runtime, not signal, and the file belongs in the repo
Why it works
Right — a row has to be a rule, it has to be named, and it has to be versioned with the code.
What a good answer covers
- One row per rule, not per repetition.
- Name the row so failures read.
- Keep the data in the repo.
- More rows is not more coverage.
Answers that fall short
- Close, but not the strongest: The row count — I would trim it to the meaningful cases and keep the spreadsheet
Trimming is most of it; an interviewer will still ask where the file lives and how a failure reads. - Weak: Nothing, as long as the framework can read the file; more cases means more coverage
Rows of the same path add minutes and find nothing new — coverage is rules, not repetitions. - Red flag: All of it — data-driven testing is a maintenance trap, and everything should be written in the test
Data-driven is the right shape for rule tables; what is missing is the discipline, not the technique.
Who gets asked this
More Framework Design questions
- Three squads share checkout steps and each forked a page object. What do you introduce?
- Your framework offers per-test, per-file and per-run fixtures. Setting up a tenant takes thirty seconds…
- A feature flag is off in staging and on in the PR preview. How do tests cope?
- Six squads share your framework, and every triage starts with somebody rerunning the test locally with extra…
- What does a test-platform team ship?
- A vendor wants all oracles inside their cloud recorder. What do you keep local?
- What does a paved road for tests look like on day one of a new service?
- Give the one sentence you want every squad to say about test platform.