Software Development Engineer in Test (SDET) Interview Questions & Answers
40 questions for Software Development Engineer in Test (SDET) interviews — 1 easy, 37 medium, 2 hard.
About the Software Development Engineer in Test (SDET) role
A developer-minded tester who writes automation code, test utilities and frameworks alongside product engineers. SDETs cover UI, API and integration testing and own quality in the pipeline. Interviews include data structures style coding in JavaScript or TypeScript, framework design questions, API testing, CI integration and discussions about test strategy, flakiness and code review. Expect to explain how your tests fit into the release process and how you work with developers.
How do you combine API and UI tests?
Show answer
How do you share cookies between API login and UI?
Show answer
Write a test that updates a user with PUT and verifies the change.
Show answer
What does the reportSlowTests option do?
Show answer
What are generics in TypeScript?
Show answer
What are template literals?
Show answer
Write an API test with the request fixture.
Show answer
How do you share one authenticated API context across all tests in a worker?
Show answer
How do you integrate Playwright with Allure or other reports?
Show answer
How do you validate response headers?
Show answer
How does this behave in arrow functions compared with regular functions?
Show answer
How do you run Playwright in GitHub Actions?
Show answer
What does maxFailures do?
Show answer
How do you structure environment-specific configs in Playwright?
Show answer
What are interfaces and types in TypeScript?
Show answer
How do retries work?
Show answer
How do you override options like baseURL or viewport for one file?
Show answer
How do you test that duplicate POST requests do not create duplicate orders?
Show answer
Tell me about a time you introduced component tests to a frontend team.
Show answer
How do you use test.step and test annotations?
Show answer
How do you attach a screenshot or log to the report from inside a test?
Show answer
What are closures?
Show answer
How do you publish the Playwright HTML report from a CI pipeline?
Show answer
What is testInfo and what can you do with it?
Show answer
Tell me about a time an accessibility check caught a real issue before release.
Show answer
How do you organise tests with page object model in Playwright?
Show answer
How do you filter a list of locators by text or by a child element?
Show answer
Promise.all vs Promise.allSettled vs Promise.race?
Show answer
How do you keep API tests independent of environment data?
Show answer
How do you debug a test in VS Code with the Playwright extension?
Show answer
How do you test file upload via API?
Show answer
Tell me about a bug you found through API testing that UI tests missed.
Show answer
A beforeAll creates one user and tests in the same file fail randomly in parallel mode. Why?
Show answer
How do you mock an API response?
Show answer
How do you validate an API response in Playwright?
Show answer
Explain the event loop.
Show answer
How do you read environment variables safely in a TypeScript test project?
Show answer
What happens if you forget an await?
Show answer
Test data is left behind when tests fail midway. How do you guarantee cleanup?
Show answer
Frequently asked questions
What does a Software Development Engineer in Test (SDET) do?
A developer-minded tester who writes automation code, test utilities and frameworks alongside product engineers. SDETs cover UI, API and integration testing and own quality in the pipeline. Interviews include data structures style coding in JavaScript or TypeScript, framework design questions, API testing, CI integration and discussions about test strategy, flakiness and code review. Expect to explain how your tests fit into the release process and how you work with developers.
Which skills are tested in a Software Development Engineer in Test (SDET) interview?
Expect questions on TypeScript coding, API test automation, Framework design, CI pipelines, Code reviews. Most rounds also ask you to explain a project and solve one practical problem live.
How do I prepare for a Software Development Engineer in Test (SDET) interview?
Revise JavaScript and TypeScript, API Testing, Framework Design and CI/CD, Fixtures and Hooks first using the topic sheets, practise the questions on this page aloud, then do one full mock interview to practise timing.