Automation Testing Interview Questions for Senior Roles (₹12–15 LPA)
40 questions with answers for senior roles — 2 easy, 36 medium, 2 hard.
What ₹12–15 LPA interviews expect
About ₹12–15 LPA Automation Testing roles
Roles in the ₹12–15 LPA band are typically for senior roles. Interviewers check whether you can already do the work expected at this level, so questions here are weighted towards Selenium WebDriver (8), REST Assured (6), Core Java for Testers (6), Page Object Model (5).
Salary bands are indicative only. The same skills can pay differently across cities, company types and negotiation.
What is the difference between imperative and declarative Gherkin?
Show answer
What are filters in REST Assured?
Show answer
How do you handle StaleElementReferenceException?
Show answer
A developer changed the UI and 40 tests failed with NoSuchElementException. How does POM help here?
Show answer
How do you extract an auth token with JSON Extractor and use it in later JMeter requests?
Show answer
Write a Dockerfile that runs a Maven and TestNG test suite.
Show answer
What is the Transaction Controller in JMeter used for?
Show answer
Mobile tests pass on the emulator but fail on a low-end real device. How do you investigate?
Show answer
What are relative locators in Selenium 4?
Show answer
Tell me about a time you had to choose between Selenium and another tool for a project.
Show answer
What is serialization and deserialization in REST Assured?
Show answer
How do you switch between windows and tabs?
Show answer
What is the difference between getText() and getAttribute()?
Show answer
How do you use Cucumber with REST Assured for API BDD tests?
Show answer
How do you handle waits inside page objects?
Show answer
Write a REST Assured test using RequestSpecBuilder and ResponseSpecBuilder.
Show answer
What locators does Selenium support?
Show answer
Selenium's driver version suddenly mismatches the browser version on agents. How do you prevent this?
Show answer
What is the difference between git merge and git rebase?
Show answer
What are generics in Java and how do they help in a test framework?
Show answer
How do you make WebDriver thread-safe for parallel runs?
Show answer
How do you upload a file with REST Assured?
Show answer
Write a Java stream that extracts and sorts product prices from a list of WebElements.
Show answer
What is the difference between SOAP and REST?
Show answer
How do you pass authentication in an API test?
Show answer
A utility method that parses dates from the UI breaks in parallel runs. What might be wrong?
Show answer
What are Maven profiles and how do you use them in automation?
Show answer
What is the Maven Failsafe plugin and how is it different from Surefire?
Show answer
Cucumber says a step is undefined even though the step definition exists. How do you fix it?
Show answer
How do you assert on an array in a JSON response using Hamcrest?
Show answer
What makes a good Gherkin scenario?
Show answer
You see ConcurrentModificationException in your test utility. What causes it and how do you fix it?
Show answer
What is the difference between an array and an ArrayList?
Show answer
What is polymorphism and how does it show up in Selenium?
Show answer
What is the use of Maven in automation projects?
Show answer
How do you run JavaScript in Selenium?
Show answer
How do you handle a component that appears inside many different pages, like a modal dialog?
Show answer
How do you verify that the correct page has loaded in POM?
Show answer
What is a webhook and how do you test it?
Show answer
Frequently asked questions
What do Automation Testing interviews for ₹12–15 LPA roles test?
At ₹12–15 LPA the focus is usually on: design and trade-off discussions, depth in one or two areas, debugging real-world failures, ownership and impact stories. This page's set is weighted towards Selenium WebDriver (8), REST Assured (6), Core Java for Testers (6), Page Object Model (5).
Which companies pay ₹12–15 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 ₹12–15 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 ₹12–15 LPA.