In this article, we see frequently asked Automation Testing interview questions for freshers and experienced QA professionals. Before going ahead, let’s see some unavoidable Interview Questions such as
- What Are The Reasons For Choosing Software Testing As Your Career
- Tell Me About Yourself (Sample Answers)
We have handpicked some related posts for you.
- Java Interview Questions For Automation Testers
- Selenium Interview Questions
- Manual Testing Interview Questions
- Database Testing Interview Questions
- Jira Interview Questions
Let’s continue with the current post, QA Test Automation Interview Questions for beginners and advanced level candidates.
Automation Testing Interview Questions And Answers:
1. What is Automation?
Automation is a process which performs repetitive tasks with minimum human assistance to reduce human efforts. If a person has to repeat a job more than once, then instead of doing the same process, again and again, we create a small piece of software or a bot that does the job to reduce human efforts.
2. What is Automation Testing?
Automation testing is the process of testing software or application using an automation testing tool to find the defects. In this process, executing the test scripts and generating the results are performed automatically by automation tools.
3. Why is Automation Testing required?
- It is required when we have a huge amount of regression test cases.
- It is required to save time & money
- It is required to increase the test coverage
- It is required to run tests anywhere & anytime
- It is required to generate robust reports
- It is required to test non-functional aspects of an application
- It is required when we run tests with multiple sets of data
- It is required when testing manually is impossible
- It is required to test on several different hardware or software platforms and configurations
4. Is it possible to achieve 100% automation?
It is impossible to automate everything. Achieving 100% automation is difficult because there are some scenarios where a registration page has a captcha or some test cases which we don’t execute often. By automating these types of test cases will not add value to the automation.
5. Can we automate CAPTCHA or can we automate ReCAPTCHA?
It’s not possible to automate CAPTCHA or ReCAPTCHA.
CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. The reason for creating a CAPTCHA is to control bots.
If someone is capable of automating CAPTCHA then it means that the CAPTCHA is not able to tell computers and humans apart. So the idea behind CAPTCHA is failed.
If someone is able to automate CAPTCHA then it’s not a CAPTCHA.
6. How do you handle CAPTCHA in your test automation project?
To automate an application which uses CAPTCHA, you have to consult your development team to provide a workaround.
- To keep the CAPTCHA static in your test environment
- To disable the CAPTCHA in your test environment
By making CAPTCHA static in your test environment helps you to automate CAPTCHA by providing one specific value as a CAPTCHA on every run.
7. What are the benefits of Automation Testing?
This is one of the common interview questions in any Automation testing job.
- Saves time and money. Automation testing is faster in execution.
- Reusability of code. Create one time and execute multiple times with less or no maintenance.
- Easy reporting. It generates automatic reports after test execution.
- Easy for compatibility testing. It enables parallel execution in the combination of different OS and browser environments.
- Low-cost maintenance. It is cheaper compared to manual testing in a long run.
- Automated testing is more reliable.
- Automated testing is more powerful and versatile. Automation tools allow us to integrate with Cross Browser Testing Tools, Jenkins, Github etc.,
- It is mostly used for regression testing. Supports execution of repeated test cases.
- Minimal manual intervention. Test scripts can be run unattended.
- Maximum coverage. It helps to increase the test coverage.
8. When do you prefer Manual Testing over Automation Testing?
9. When do you prefer Automation Testing over Manual Testing?
10. List some advantages and disadvantages of Manual testing?
- Manual testing can be done on all kinds of applications
- It is preferable for short life cycle products
- Newly designed test cases should be executed manually
- The application must be tested manually before it is automated
- It is preferred in the projects where the requirements change frequently and for the products where the GUI changes constantly
- It is cheaper in terms of initial investment compared to Automation testing
- It requires less time and expense to begin productive manual testing
- It allows testers to perform ad-hoc testing
- There is no necessity to the tester to have knowledge on Automation Tools
- Manual Testing is time-consuming mainly while doing regression testing.
- Expensive over automation testing in the long run
11. List some advantages and disadvantages of Automation testing
- Automation testing is faster in execution
- It is cheaper compared to manual testing in the long run
- Automated testing is more reliable
- Automated testing is more powerful and versatile
- It is mostly used for regression testing
- It does not require human intervention. Test scripts can be run unattended
- It helps to increase the test coverage
- It is recommended only for stable products
- Automation testing is expensive initially
- Most of the automation tools are expensive
- It has some limitations such as handling captcha, fonts, color
- Huge maintenance in case of repeated changes in the requirements
- Not all the tools support all kinds of testing. Such as windows, web, mobility, performance/load testing
11. Difference between Manual Testing & Automation Testing (Automation Testing vs Manual Testing)?
12. What type of tests have you automated?
Our main focus is to automate test cases to do Regression testing, Smoke testing, and Sanity testing. Sometimes based on the project and the test time estimation, we do focus on End to End testing.
13. How do you identify the test cases which are suitable for automation?
Automation testers should understand what to actually automate. Identifying the appropriate test cases for automation plays a vital role in the success of automation testing.
- Tests that run for multiple builds.
- Tests that leads to human error.
- Tests that require multiple sets of data.
- Tests that involve high risk.
- Tests that are impossible to perform manually.
- Tests that take a lot of time and effort when performing manually
- Tests that run on several different hardware or software platforms and configurations.
14. How many test cases you have automated per day?
It depends on Test case scenario complexity and length. I did automate 2-5 test scenarios per day when the complexity is limited. Sometimes just 1 or fewer test scenarios in a day when the complexity is high.
15. What type of test cases you won’t pick up to automate?
Before picking up the test cases to automate, I do check whether the application is stable or not. So based on this, I don’t pick up test cases when the AUT changes frequently and the test cases which I run rarely and run only one time. Also, I don’t automate while doing usability and exploratory testing.
16. Name some popular automation tool that you are aware of?
Some of the popular automation tools are Selenium WebDriver, QTP/UFT, JMeter, LoadRunner, Ranorex, etc.,
17. How do you select an automation tool?
Selecting an automation tool is essential for test automation. There are a lot of automation testing tools on the market. Some of the factors involved in selecting an automation tool are as follows.
- Supports for your platforms and technology
- Ease of use, setup, and accessibility
- Good debugging facility
- Type of support available for the tools like documentation, tutorials, training etc.,
- Cost and budget
- CI, DevOps support
- Good reporting system
18. What is Framework?
A framework defines a set of rules or best practices which we can follow in a systematic way to achieve the desired results.
19. Why Framework?
In a test automation project, we do perform different tasks by using different types of files. To organize and manage all the files and to finish all the tasks in a systematic approach we use a framework.
20. Can we do Automation testing without a framework?
We can perform automation testing without a framework. A framework is a set of rules or best practices which we can follow in a systematic way to achieve the desired results. If we understand the automation tool, then we can do automation testing without a framework but if we create and follow a framework then it will be helpful in many ways.
21. Have you created any Framework?
If you are a beginner: No, I didn’t get a chance to create a framework. I have used the framework which is already available.
If you are an experienced tester: Yes, I have created a framework (Or) No, but I have involved in the creation of the framework.
22. What are the advantages of the Automation framework?
The advantage of Test Automation framework
- Reusability of code
- Maximum coverage
- Recovery scenario
- Low-cost maintenance
- Minimal manual intervention
- Easy Reporting
23. What are the different types of frameworks?
There are different types of automation frameworks and the most common ones are:
- Modular Testing Framework
- Data Driven Testing Framework
- Keyword Driven Testing Framework
- Hybrid Testing Framework
- Behavior Driven Development Framework
24. What are some coding practices to follow while writing automation scripts or framework?
Some of the good coding practices are:
- Naming standards should follow
- Comments should be added
- Place reusable functions in a separate file
- Avoid duplicate code
- Add appropriate assertions
25. Can you explain Automation framework?
Refer this link
We have listed these questions which are independent of the automation tool or programming language. If you are attending for an automation testing interview then you need to know your tool (example Selenium) thoroughly and programming language (Java) you used to write your scripts. You will be asked to explain the framework you used in your project.
Hope this Automation Testing Interview questions & answers post would be much useful for you to prepare for a QA Test Automation Interview.