Automation Testing Technical Round Questions & Answers
40 questions for the technical round stage — 4 easy, 32 medium, 4 hard.
About the technical round round
The technical round is the core of a Automation Testing interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
What are the UiAutomator2 and XCUITest drivers in Appium?
Show answer
Write Selenium code to verify that all links on a page are not broken.
Show answer
Difference between an abstract class and an interface?
Show answer
JMeter runs out of memory during a large load test. What do you do?
Show answer
What branching strategy do you use for test automation code?
Show answer
How do you handle environment-specific configuration?
Show answer
Write Appium code to scroll to an element by its text using UiScrollable on Android.
Show answer
What are the main components of Selenium Grid 4?
Show answer
Write a GET test in REST Assured.
Show answer
What is the difference between @Test(priority) and dependsOnMethods in TestNG?
Show answer
What are page components or page fragments in POM?
Show answer
What are Java 8 streams and lambdas?
Show answer
How do you automate a two-factor authentication step in a test environment?
Show answer
What is the difference between a declarative and a scripted Jenkins pipeline?
Show answer
How do you handle a web table in Selenium?
Show answer
Write a Java stream that extracts and sorts product prices from a list of WebElements.
Show answer
How would you design one mobile framework that serves both Android and iOS?
Show answer
What are the main OOP concepts in Java?
Show answer
Write a TestNG listener that logs test start and failure.
Show answer
Difference between absolute and relative XPath?
Show answer
What is Selenium Grid and why use it?
Show answer
What is the difference between an array and an ArrayList?
Show answer
How do you measure and assert API response time in REST Assured?
Show answer
What is the difference between getText() and getAttribute()?
Show answer
How do you handle dynamic elements whose ids change?
Show answer
What is the use of the this and super keywords?
Show answer
How do you switch between native and webview contexts in a hybrid app?
Show answer
Write a Dockerfile that runs a Maven and TestNG test suite.
Show answer
What are filters in REST Assured?
Show answer
Your CI pipeline is blocked because a downstream service needed for API tests is often down. What do you do?
Show answer
What is correlation in JMeter and why is it needed?
Show answer
What is a Jenkins agent and how do labels help run tests?
Show answer
How do you mock an external API in automation tests?
Show answer
How do you verify response time and headers in REST Assured?
Show answer
What is method overriding and where is it useful in frameworks?
Show answer
What new features came with Selenium 4?
Show answer
What are the Actions class use cases?
Show answer
Difference between ArrayList and LinkedList?
Show answer
Write a docker-compose.yml that runs a Selenium hub with Chrome and Firefox nodes.
Show answer
Frequently asked questions
What happens in the Automation Testing technical round round?
The technical round is the core of a Automation Testing interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.