SDET Interview Questions for Hiring Managers: Hiring Test Automation Engineers for Web Projects
Every time a website or app is updated, something that used to work can break: the checkout, the contact form, the login, or a page on a particular phone. Checking everything by hand before each release becomes impossible as a product grows. A software development engineer in test, usually shortened to SDET, writes code that checks the product automatically.
This guide is for managers and founders hiring an SDET for a web product or online store. It explains what the role does, how it differs from other testing roles, and the interview questions, coding exercise, and red flags that help you choose well.
What an SDET does
An SDET is a developer whose main product is tests. They build and maintain automated test suites that click through a website like a user, call APIs directly, and check results. They also connect those tests to the development pipeline so they run on every change. Good SDETs also help developers write testable code and decide what is worth testing.
The role differs from a quality engineer or manual tester, who focuses more on test planning, exploratory testing, and the overall quality process. Many teams need both. Our guide to quality engineer interview questions covers that role.
Do you need one?
A small business site built on a standard platform usually needs careful manual checks before major updates rather than a full-time SDET. A custom web application, a store with complex pricing or integrations, or a product released every week benefits greatly from automation. A contractor can often set up a test suite that the development team then maintains.
Most checks belong low in the pyramid, where they are fast and reliable.
Questions about strategy
We have a store with a checkout, accounts, and discount codes. What would you automate first, and why?
How do you decide whether a check should be a unit test, an API test, or a browser test?
What makes a test flaky, and how do you fix one rather than just rerunning it?
Which things would you still test by hand?
Strong candidates focus on business risk first, such as payments and sign-ups, keep slow browser tests few and stable, and explain flakiness in terms of timing, test data, and dependencies.
Questions about tools and pipelines
Ask which frameworks the candidate has used for browser testing, such as Playwright, Cypress, or Selenium, and for API testing, and why they would choose one for your stack. Ask how tests run in continuous integration, how long the suite takes, and what happens when a test fails before a release. Ask how they manage test data, such as test accounts and payment provider sandboxes, so tests do not interfere with each other or with real customers.
Tools matter less than reasoning. A candidate who explains trade-offs clearly will learn your tools quickly.
A coding exercise
SDETs write code, so test it directly. Give a small, realistic task, such as writing an automated test for a simple login page or an API endpoint, in the language your team uses, with an hour or two of time. Review the result for readability, sensible checks, and how the candidate handles waiting for pages to load, which is the most common source of flaky browser tests.
Discuss the result together. Ask what they would add with more time and how the test would fail if the feature broke. Our guide to running a structured interview explains how to score exercises consistently.
Questions about working with developers
Ask how the candidate reports a bug, how they respond when a developer disagrees that something is a bug, and how they encourage developers to write their own tests. Ask about a time their tests caught a serious problem before release, and a time a bug got past them. Honest answers to both are a good sign.
Red flags
Be cautious with candidates who aim to automate everything through the browser, accept flaky tests as normal, measure success only by the number of tests, or cannot write clean code. For senior roles, look for experience designing a test strategy, not only adding tests to someone else's.
Questions managers ask
How many tests should we have? There is no right number; ask instead which risks the tests cover and how long the suite takes to run. Should developers write tests too? Yes; SDETs work best when developers write unit tests and the SDET builds the frameworks, shared tools, and higher-level tests. Can we outsource testing? Partly, especially for device coverage and exploratory testing, but someone close to the product should own the test strategy.
Making the hire succeed
Start a new SDET on the checks that protect revenue, such as checkout, sign-up, and login, and agree on how long the full suite may take before it slows releases. Review flaky tests together every month and fix or remove them, since a suite that fails at random teaches the team to ignore it. Give the SDET a voice in planning, so features are planned to be testable from the start.
After a few months, look at what the tests have caught and what reached customers anyway. That comparison shows where the suite needs to grow and where tests can be removed because they never find anything useful.
When you compare finalists, look closely at the coding exercise. Clear names, small focused tests, and sensible waiting for pages to load are signs of someone whose tests will still be useful a year from now.
Releases you can trust
SDET interview questions should test strategy, tool choice, handling of flaky tests, test data, pipelines, and real coding skill, alongside collaboration with developers. Start automation with the parts of the product that make money or sign up customers, and keep manual exploratory testing for the rest.
Data analyst interview questions for managers: defining the role, SQL and spreadsheets, marketing metrics and GA4, statistics, a take-home task, and red flags.
Quality engineer interview questions for web projects: the role, test planning, exploratory testing, bug reports, accessibility and devices, and a hands-on task.
Snowflake interview questions for managers hiring a data engineer: what Snowflake does, data modeling, cost control, data quality, privacy, and an exercise.
Read the guide ›
Help us write the right things
Google Analytics tells us which articles people actually read, so we write more of what helps. It sets two cookies and nothing else. We do not sell your data and we do not build an advertising profile from it.