All jobs / Automation developer / Framework Design
Automation developer interview question · 0–1 years
What is Given / When / Then for in an automation suite?
The strongest answer
A way to say the story out loud so a reader knows the setup, the action, and the proof — not a requirement to buy a BDD tool
Why it works
Exactly. The words are a communication habit. The tool is optional.
What a good answer covers
- Use the story shape.
- BDD tools are optional.
- Do not hide a mess in English.
- Still talk to the team.
Answers that fall short
- Close, but not the strongest: A Cucumber licence; without Gherkin there is no automation
Gherkin is a format, not a quality strategy. - Weak: A way to hide locators in English so nobody reads code
English wrappers still need honest locators. - Red flag: A replacement for talking to the developer
A file is not a conversation.
Who gets asked this
More Framework Design questions
- Where do base URLs, users, and feature flags for tests live?
- A teammate wants the suite’s test data in a spreadsheet so “anyone can add a case”, starting with 400 rows…
- 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?