All jobs / Automation developer / Framework Design
Automation developer interview question · 3–5 years
Three squads share checkout steps and each forked a page object. What do you introduce?
The strongest answer
A shared task / actor layer for the jobs they all perform, versioned like a library, with a contract for the few page APIs underneath
Why it works
Exactly. Shared jobs want a shared language. Ownership of a library beats a turf war.
What a good answer covers
- Shared tasks for shared jobs.
- Version the library.
- Do not win by turf.
- A new tool is not a shared layer.
Answers that fall short
- Close, but not the strongest: A rule that only your squad may touch checkout tests
Turf is how the next squad forks again. - Weak: Copy-paste freeze: nobody edits the forks
A freeze is how the product leaves the tests behind. - Red flag: A rewrite in a new framework so forks “do not count”
A rewrite without a shared layer repeats the fork.
Who gets asked this
More Framework Design questions
- 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.
- Someone opens the test report at eight in the morning. What questions does it have to answer?