Automation Testing Online Assessment Questions & Answers
40 questions for the online assessment stage — 15 easy, 25 medium.
About the online assessment round
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Automation Testing concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
Tips for the online assessment round
- Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task.
- Read every option before answering; tests often include two nearly correct choices.
- Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
- Attempt the questions you are sure about first, then return to the harder ones.
How do you verify that an element is displayed, enabled or selected?
Show answer
What are timers in JMeter and why is think time important?
Show answer
What is the difference between extract().response() and extract().path()?
Show answer
Your Jenkins test stage marks the build green even though tests failed. Why?
Show answer
Write a REST Assured POST test that sends a JSON body and checks the response.
Show answer
You configured 50 parallel threads but only 8 tests run at a time on the Grid. Why?
Show answer
How do you run tests in parallel?
Show answer
Why is XPath slow in Appium and what should you use instead?
Show answer
How do you handle waits inside page objects?
Show answer
How do you group tests?
Show answer
How do you publish Allure or Extent reports from Jenkins?
Show answer
How do you upload a file with REST Assured?
Show answer
What do number of threads, ramp-up period and loop count mean in a JMeter Thread Group?
Show answer
What is the difference between getText() and getAttribute()?
Show answer
What is the difference between Scenario and Scenario Outline in Cucumber?
Show answer
What is the difference between throw and throws?
Show answer
What are stubs, mocks, fakes and spies in testing?
Show answer
Write a simple page object class for a login page.
Show answer
A login action can lead either to the dashboard or to an error message. How should the page object method return?
Show answer
What is the difference between @Test(priority) and dependsOnMethods in TestNG?
Show answer
What are relative locators in Selenium 4?
Show answer
What is the difference between a Docker image and a container?
Show answer
How do you pass thread count and duration to a JMeter test from the command line?
Show answer
How do you mock an external API in automation tests?
Show answer
What does a good commit message look like?
Show answer
Write a REST Assured test that deserializes a response into a POJO.
Show answer
How do you verify that the correct page has loaded in POM?
Show answer
How do you resolve a merge conflict in Git?
Show answer
How do you send form parameters and headers in REST Assured?
Show answer
Explain the given-when-then structure in REST Assured.
Show answer
What is Docker and how does it help tests?
Show answer
How do you watch a test running inside a Docker Selenium container?
Show answer
How do you test negative scenarios for an API?
Show answer
Write a step definition that reads a DataTable as a list of maps.
Show answer
What is a quality gate in a CI/CD pipeline?
Show answer
What is the difference between a page object and a utility class in a test framework?
Show answer
Write a Java stream that extracts and sorts product prices from a list of WebElements.
Show answer
What are Cucumber Expressions and how do they differ from regular expressions?
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
Frequently asked questions
What happens in the Automation Testing online assessment round?
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Automation Testing concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
How do I clear the online assessment round?
Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task. Read every option before answering; tests often include two nearly correct choices. Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
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.