Automation Testing Intern Interview Questions & Answers
40 questions for Automation Testing Intern interviews — 24 easy, 16 medium.
About the Automation Testing Intern role
An entry-level role for students and fresh graduates who help the QA team automate simple test cases under guidance. Interns write basic Playwright tests, update locators, run suites and read reports. Interviews check JavaScript fundamentals, async/await, basic Playwright commands, locators and assertions, plus willingness to learn and a small project or public code repository you can explain. Curiosity, clear communication and steady progress during the internship often lead to a full-time offer.
How do you run a single test or file in Playwright?
Show answer
Write a test that logs in and checks the dashboard heading.
Show answer
How do you handle a new tab?
Show answer
What is the difference between == and === in JavaScript?
Show answer
How do you handle a page that opens a browser permission prompt for notifications?
Show answer
What is the difference between map, filter and reduce?
Show answer
Why choose Playwright over Selenium?
Show answer
What does the channel option do?
Show answer
How do you select an option from a native select dropdown?
Show answer
What does the mount fixture return?
Show answer
How do you work with iframes?
Show answer
What are generics in TypeScript?
Show answer
Write an API test with the request fixture.
Show answer
How do you read environment variables safely in a TypeScript test project?
Show answer
let vs const vs var?
Show answer
Which frameworks does Playwright component testing support?
Show answer
How do you use keyboard shortcuts in Playwright?
Show answer
Tell me about a time you replaced brittle locators in an existing suite.
Show answer
How do you write data-driven API tests with many inputs?
Show answer
How do you install and start a Playwright project?
Show answer
Parallel tests create users with the same email and fail with 'already exists'. How do you fix it?
Show answer
What is npm and package.json?
Show answer
How do you handle errors in async code?
Show answer
What is the difference between a type and an enum in TypeScript?
Show answer
A toast message disappears after two seconds and the assertion on it is flaky. How do you test it reliably?
Show answer
What is the difference between null and undefined?
Show answer
What does the waitUntil option of page.goto do?
Show answer
What is the difference between path parameters and query parameters?
Show answer
What are arrow functions?
Show answer
When should you use getByTestId?
Show answer
What does the nullish coalescing operator do?
Show answer
Describe a time a test passed but the feature was actually broken.
Show answer
Tell me about the first time you used the trace viewer to solve a failure.
Show answer
What is a Promise and what states can it have?
Show answer
What are the main data types in JavaScript?
Show answer
Describe a time strict TypeScript types caught a bug in your test code.
Show answer
What is hoisting?
Show answer
How does this behave in arrow functions compared with regular functions?
Show answer
What actionability checks does Playwright run before a click?
Show answer
Frequently asked questions
What does a Automation Testing Intern do?
An entry-level role for students and fresh graduates who help the QA team automate simple test cases under guidance. Interns write basic Playwright tests, update locators, run suites and read reports. Interviews check JavaScript fundamentals, async/await, basic Playwright commands, locators and assertions, plus willingness to learn and a small project or public code repository you can explain. Curiosity, clear communication and steady progress during the internship often lead to a full-time offer.
Which skills are tested in a Automation Testing Intern interview?
Expect questions on JavaScript basics, async/await, Writing simple tests, Locators, Reading reports. Most rounds also ask you to explain a project and solve one practical problem live.
How do I prepare for a Automation Testing Intern interview?
Revise JavaScript and TypeScript, Playwright Core, Locators and Assertions first using the topic sheets, practise the questions on this page aloud, then do one full mock interview to practise timing.