DEV Community

George Bakatsias
George Bakatsias

Posted on

5 QA Automation Interview Questions That Senior Engineers Still Get Wrong

Whether you're preparing for a QA Engineer or SDET interview, some questions
trip up even experienced professionals. Here are 5 I've seen catch people off guard:

1. "Design a test automation framework from scratch — what's your architecture?"

Most candidates jump straight to tools (Selenium, Playwright).
Interviewers want to hear about:

  • Page Object Model vs Screenplay pattern
  • Test data management strategy
  • CI/CD integration approach
  • Reporting & failure analysis

Tip: Start with the problem (what are we testing?), not the tool.

2. "You have 2 hours to test this API — walk me through your approach"

The trap: candidates start writing tests immediately.

Better approach:

  • 5 min: Read the API docs/Swagger
  • 10 min: Identify critical paths & edge cases
  • 15 min: Set up collections (Postman/REST client)
  • 90 min: Execute tests (happy path → edge cases → security)
  • Remaining: Document findings

3. "What's the difference between a flaky test and a genuine failure?"

This tests your debugging mindset:

  • Flaky: passes/fails without code changes (timing, test data, environment)
  • Key follow-up: "How do you handle flaky tests in CI/CD?"
  • Expected answer: quarantine, retry logic, root cause analysis — NOT just "re-run"

4. "Write a test for this code" (Code Reading Challenge)

You get production source code and must decide which tests give full coverage.
This isn't about writing code fast — it's about analytical thinking:

  • Identify boundary conditions
  • Spot implicit requirements
  • Consider error handling paths

5. "Draft a bug report for this scenario"

Sounds simple, but interviewers evaluate:

  • Clear title (not "bug in form")
  • Steps to reproduce (exact, numbered)
  • Expected vs Actual behavior
  • Environment details
  • Severity/Priority classification

Want to practice all of these?

I put together a hands-on exercise pack with real scenarios,
solution docs, and a Playwright automation project:

👉 QA Automation Interview Master Pack

It includes:

  • ✅ A production-grade Playwright project (TypeScript, POM, fixtures)
  • ✅ Attention-to-detail exercises with solutions
  • ✅ Decision-tree test case templates
  • ✅ Code-reading challenges
  • ✅ Bug report writing exercises

Pay what you want — starting at €19.99.


What's the hardest QA interview question YOU've been asked? Drop it in the comments! 👇

Top comments (0)