Continuous test automation is the key to ensuring success in the Agile software development. Also, it’s an essential skill for the most testing and QA job profiles. That’s why we brought the top 10 automation testing interview questions to help QA engineers in giving their best during interviews.
All of these are the most asked questions while selecting a candidate for the automation job profile. We’ve even tailored the answers by discussing with the candidates who had success in their automation interviews.
We believe you would get the same benefit from this post as most of our readers have gained from reading the following most popular post on Selenium testing.
Before you proceed, do you wish to understand why is it important to learn test automation?
The concept of test automation is not new at all. However, it is the Agile model which replaced the traditional waterfall approach and made the automation testing necessary.
In Agile testing, software testers get to explore new ways of implementing automation. So, all of this buzz around Agile testing led us writing this post on the frequently asked automation testing interview questions.
Also, please don’t forget to refer an another gem for test engineers.
Automation Testing Interview Questions.
1. What are the criteria for selecting a test case for automation?
2. Which types of test cases should you exclude from automation testing?
3. What are the main stages in the automation testing lifecycle?
4. Which are the main action items during the planning stage of automation testing?
5. What are the principal features of a good automation tool?
6. What different approaches can you use for designing an automation solution?
7. Which are the main tools for software automation testing?
8. What are the benchmarks for measuring the success of automation testing?
9. What is your view on software automation testing replacing the manual testing?
10. What are the possible test automation requirements for a web application?
Automation Testing Interview Questions & Answers.
Let’s begin with a few questions to build a basic understanding of automation. In this section, we’ll quiz you to justify the need for automation.
We recommend considering the following points for automating a test case.
- Determine the execution frequency of the test case. Do you run it often for every new build or once with large input?
- Find out if automating it would save you time that you can devote to exploratory testing.
- Is the test case critical for business or does it cover an end-to-end scenario?
- Make sure analyzing the result of an automated test should not exceed the time it used to take during manual execution. Otherwise, it’ll lose its viability for automation.
- Do consider the likelihood of the test catching defects.
- Could it be a blocker for a major feature or functionality which is critical to business? If the answer is yes, then make sure to it get automated and passed in every build.
We prefer not to automate the following test case types.
1- Test instances where the AUT (application under test) is frequently changing.
2- Test cases which need to execute once.
3- Tests which require visual verification.
4- Unplanned/random testing.
In the automation testing process, steps involved are.
1- Automation tool identification and selection.
2- Determine the scope of automation testing.
3- Test suite design and development.
4- Test execution (On demand or Nightly basis).
5- Regular maintenance of test suite.
In the planning stage, a tester should execute the following tasks.
1- Decide on the “right” automation tool.
2- Choose an automation framework if required.
3- Clarity on what to include and exclude from the test automation.
4- Define milestones and share with stakeholders.
5- Track progress using any project management tool like MPP.
6- Test environment configuration.
7- Identify Test Deliverables.
1- Quick and easy test environment setup.
2- Cross platform support.
3- Good debugging/logging support.
4- Robust object identification.
5- Object and image testing abilities.
6- Cross browser testing support.
7- Database integration and validation.8- Should facilitate crowdsourcing.
We can design a test automation solution based on the following types of frameworks.
1- Data-driven automation framework.
2- Keyword-driven automation framework.
3- Modular automation framework.
4- Hybrid automation framework.
5- Behavioral driven development framework.
Some of the most common automation testing tools are as follows.
1- QTP (HP UFT),
2- Rational Robot,
3- Selenium Webdriver,
4- Soap UI,
5- Fitnesse, and
6- Squish for QT.
Software test engineer or a QA manager can use the following indicators for tracking the success of automation testing.
1- Automation testing coverage ratio.
2- Code coverage level.
3- Defect detection ratio.
4- Reduction in the manual test cycle.
5- Time to release the product.
6- Reduction in labor & other costs.
Automation testing isn’t a replacement for manual testing. It’s just a continuation of the manual testing. Because there are many situations where an automated solution can’t displace the insight, understanding, and experience of a tester.
We can plan the automation testing requirements of a web application in the following manner. You can adopt these rules irrespective of the automation tool like SilkTest, QTP, Selenium or any other test tool you are using for automation testing.
Web UI testing.
1- Every web page should have unique names.
2- A similar type of objects should follow the uniform naming scheme.
3- No object should have a duplicate name.
4- The test must ensure that every image has its ALT attribute set.
5- Dynamic content should have a proper name, ID or XPath.
6- All tables displaying data should have names.
7- Cross-browser consistency.
Web service layer (Rest/Soap) testing.
1- API Request/Response validation.
2- API error code checking.
3- Web service XSD verification.
4- Cross-server (tomcat/web sphere) validation.
Summary – Automation Testing Interview Questions for QAE.
All the above questions are asked during QA and automation testing interviews. These are the standard automation testing concepts that you must know. We wish that you would benefit from reading them and feel confident while facing the interviewer for answering automation related questions.
It’ll be a pleasure answering your queries if you may have for the above set of automation testing interview questions. And if you’ve read this post through the end, then don’t miss to like it or share on social media.
All the Best,