Engineering Roles

QA And Automation Engineer Interviews

The Mythic Intel Team · Mar 4, 2025 · 7 min read

A QA engineer interview rewards people who can reason about risk, not people who can recite a list of test cases. Whether the title on the job posting says QA, SDET, or Automation Engineer, the panel is checking one thing: can you decide what to test, build the harness that tests it reliably, and keep that harness from rotting in CI. If you are studying QA engineer interview questions or preparing for an automation testing interview, answer the "why" before the "how" and you will already sound senior.

This guide covers the rounds you will face in a QA, SDET, or automation engineer interview, what each probes, and the depth that separates a passing answer from a strong one. Expect a recruiter screen, a coding round, a framework and test-strategy round, and a behavioral conversation.

What an SDET interview actually tests

A pure manual QA interview leans toward exploratory testing, bug reporting, and test-case design. An SDET interview adds real engineering: data structures, framework architecture, and the design of test infrastructure that runs on every commit. Most modern automation testing interviews sit between these poles. You will write code, and you will defend a test strategy.

The recruiter screen confirms scope. Be concrete about what you owned: the application under test, the frameworks you wrote, the size of the regression suite, and how it ran in the pipeline. Vague ownership ("I helped with automation") loses ground fast. Numbers help: how many tests, how long the suite took, what the flake rate was before and after your work.

Test strategy and the test pyramid

The test pyramid, introduced by Mike Cohn in his 2009 book Succeeding with Agile, is the model interviewers expect you to know. It puts a large base of fast unit tests, a smaller middle of integration tests, and a thin top of slow end-to-end tests. The logic is economic: unit tests are cheap, fast, and pinpoint failures; end-to-end tests are expensive, slow, and flaky, so you keep them few and targeted at critical user journeys.

You should also know its main critique. Kent C. Dodds proposed the Testing Trophy, which raises integration tests to the center of gravity and adds static analysis (type checking, linting) as the foundation. The argument is that most modern UI code depends on real components, so integration tests give more confidence per test than isolated unit tests. A strong candidate does not pick a side dogmatically. Say what the codebase warrants: a backend service rich in logic leans pyramid; a UI-heavy app with thin units leans trophy.

When asked "how would you test this feature," structure it:

  • Identify the risk: what fails, and who notices.
  • Pick the level: unit, integration, contract, or end-to-end, for each risk.
  • Cover the negative and boundary cases, not just the happy path.
  • Decide what stays manual (exploratory, usability) versus automated.

Flaky tests

Flaky tests come up in nearly every automation testing interview because they are the daily reality of running suites in CI. A flaky test passes and fails without any code change, and a suite that cries wolf gets ignored, which defeats the point. Be ready to name causes and fixes.

The most common cause is timing. The fix is almost always replacing fixed sleeps with explicit waits that block only until a specific condition is true.

// Brittle: blind delay, slow and still racy
await page.waitForTimeout(3000);

// Reliable: wait for the actual condition
await expect(page.getByRole('button', { name: 'Submit' })).toBeEnabled();

Other causes worth naming: shared mutable state and test-order dependence, unstable selectors tied to layout instead of roles or test ids, animation and network nondeterminism, and time or timezone assumptions. For diagnosis, mention quarantining the flaky test, retrying to confirm nondeterminism, and tracking flake rate as a metric the team watches.

Frameworks and tooling

Know the current tools and their tradeoffs, because "I only know one tool" reads as junior.

  • Selenium WebDriver: the long-standing standard, language-agnostic, broad browser support through the W3C WebDriver protocol. Mature but more verbose, and waits must be managed carefully.
  • Playwright: runs through a single API across Chromium, Firefox, and WebKit, with auto-waiting built in, network interception, and tracing. Adoption has grown sharply for new projects.
  • Cypress: runs in the browser with a strong developer experience and time-travel debugging. Excellent for component and front-end integration tests, historically weaker on multi-tab and cross-origin flows.

Below the UI, mention API-level tooling (REST clients, contract tests) and unit frameworks per language: JUnit or TestNG for Java, pytest for Python, Jest or Vitest for JavaScript. Architecture questions favor the Page Object Model to keep selectors and actions out of test bodies, plus clean test-data setup and teardown so tests stay independent.

CI integration

A test suite only earns its keep when it runs automatically. Expect questions about wiring tests into the pipeline: running fast unit tests on every commit, gating merges on them, and reserving the slow end-to-end layer for a later stage or a scheduled run. Talk about parallelization to keep wall-clock time down, sharding, headless execution, artifacts like screenshots and traces on failure, and surfacing results where the team will see them. The senior signal is treating the suite as a product with an owner, a budget for runtime, and a flake threshold, rather than a pile of scripts.

The behavioral round

QA roles sit between engineering, product, and release, so collaboration questions are real. Expect "tell me about a bug you caught late," "a time you disagreed with a developer on severity," and "how you decided what not to test." Ground each in a concrete situation, the action you took, and the measurable result.

A verified, role-specific practice room, like the one Mythic Intel builds for a QA or SDET posting, helps because it grades a spoken answer on accuracy, completeness, structure, and proof rather than letting you nod along to a script. The fastest fix for both the technical and behavioral rounds is the same: rehearse your answers out loud, time them, and listen back for the places where your reasoning gets vague.

your turn

Stop reading about interviews. Start training for yours.