Automation Testing Interview Questions for Mid-Level Roles (₹8–10 LPA)
40 questions with answers for mid-level roles — 5 easy, 34 medium, 1 hard.
What ₹8–10 LPA interviews expect
About ₹8–10 LPA Automation Testing roles
Roles in the ₹8–10 LPA band are typically for mid-level roles. Interviewers check whether you can already do the work expected at this level, so questions here are weighted towards Selenium WebDriver (8), API Testing and CI/CD (7), Cucumber and BDD (5), Core Java for Testers (4).
Salary bands are indicative only. The same skills can pay differently across cities, company types and negotiation.
Should every test in a project be written in Cucumber?
Show answer
How do you upload a file with REST Assured?
Show answer
What are Cucumber hooks and how are they different from Background?
Show answer
Tell me about a time you worked with a team in a different location or time zone on automation.
Show answer
How do you run Selenium tests in Docker containers in CI?
Show answer
Your code review shows a test class with 30 copy-pasted lines in every method. How do you refactor it with Java features?
Show answer
File upload tests pass locally but fail when they run on a remote Grid. Why?
Show answer
Write a Scenario Outline for login with three data sets.
Show answer
What is a quality gate in a CI/CD pipeline?
Show answer
What are try-with-resources and why use them?
Show answer
During a load test response times rise sharply. Which server-side metrics do you check?
Show answer
How do you verify that the correct page has loaded in POM?
Show answer
Implicit vs explicit vs fluent wait?
Show answer
How do you assert on an array in a JSON response using Hamcrest?
Show answer
How do you handle a website that uses CAPTCHA?
Show answer
How do you pass parameters from testng.xml?
Show answer
How do you handle waits inside page objects?
Show answer
What is the Optional class in Java and where is it useful in test code?
Show answer
How do you handle dropdowns in Selenium?
Show answer
What is CI/CD and why does automation need it?
Show answer
Tests on the Grid fail with SessionNotCreatedException saying the new session request timed out. What do you check?
Show answer
What is the difference between SOAP and REST?
Show answer
How do you take a screenshot on failure in TestNG?
Show answer
A cookie consent banner appears randomly and blocks clicks in your Selenium tests. How do you handle it?
Show answer
Write a step definition that reads a DataTable as a list of maps.
Show answer
How do you avoid page object classes becoming too large?
Show answer
How do you handle a dropdown that is not a <select> tag?
Show answer
Tests pass on QA but fail in the staging pipeline. How do you investigate?
Show answer
Which tests should run at each stage of a CI/CD pipeline?
Show answer
What is the difference between driver.close() and driver.quit()?
Show answer
What is the use of the this and super keywords?
Show answer
Your CI pipeline is blocked because a downstream service needed for API tests is often down. What do you do?
Show answer
How do you record videos of tests running on a Docker Selenium Grid?
Show answer
What is data-driven testing?
Show answer
Tell me about a time you introduced BDD to a team. How did it go?
Show answer
What is the difference between noReset and fullReset in Appium?
Show answer
You configured 50 parallel threads but only 8 tests run at a time on the Grid. Why?
Show answer
How do you verify that an element is displayed, enabled or selected?
Show answer
The on-screen keyboard hides the login button in your mobile test. What do you do?
Show answer
Frequently asked questions
What do Automation Testing interviews for ₹8–10 LPA roles test?
At ₹8–10 LPA the focus is usually on: practical depth in core tools, design choices and trade-offs, ownership of modules or features, mentoring juniors informally. This page's set is weighted towards Selenium WebDriver (8), API Testing and CI/CD (7), Cucumber and BDD (5), Core Java for Testers (4).
Which companies pay ₹8–10 LPA for Automation Testing roles?
Pay depends on company type, city, skills and negotiation, not only experience. Use the company-wise pages to practise for the specific employers you are targeting, and treat salary bands as a rough guide.
How should I prepare for a ₹8–10 LPA Automation Testing interview?
Solve every question here without looking at the answer first, mark the ones you miss, save them to Last-Minute Revision and revise them the night before. Prepare two project stories that show impact at the level expected for ₹8–10 LPA.