Automation Testing Interview Questions And Answers [Updated 2020]

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

We have handpicked some related posts for you.

Let’s continue with the current post, QA Test Automation Interview Questions for beginners and advanced level candidates.

Automation Testing Interview Questions

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.

  1. Saves time and money. Automation testing is faster in execution.
  2. Reusability of code. Create one time and execute multiple times with less or no maintenance.
  3. Easy reporting. It generates automatic reports after test execution.
  4. Easy for compatibility testing. It enables parallel execution in the combination of different OS and browser environments.
  5. Low-cost maintenance. It is cheaper compared to manual testing in a long run.
  6. Automated testing is more reliable.
  7. Automated testing is more powerful and versatile. Automation tools allow us to integrate with Cross Browser Testing Tools, Jenkins, Github etc.,
  8. It is mostly used for regression testing. Supports execution of repeated test cases.
  9. Minimal manual intervention. Test scripts can be run unattended.
  10. Maximum coverage. It helps to increase the test coverage.

8. When do you prefer Manual Testing over Automation Testing?

Refer this link

9. When do you prefer Automation Testing over Manual Testing?

Refer this link

10. List some advantages and disadvantages of Manual testing?
Advantages:

  1. Manual testing can be done on all kinds of applications
  2. It is preferable for short life cycle products
  3. Newly designed test cases should be executed manually
  4. The application must be tested manually before it is automated
  5. It is preferred in the projects where the requirements change frequently and for the products where the GUI changes constantly
  6. It is cheaper in terms of initial investment compared to Automation testing
  7. It requires less time and expense to begin productive manual testing
  8. It allows testers to perform ad-hoc testing
  9. There is no necessity to the tester to have knowledge on Automation Tools

Disadvantages:

  1. Manual Testing is time-consuming mainly while doing regression testing.
  2. Expensive over automation testing in the long run

11. List some advantages and disadvantages of Automation testing
Advantages:

  1. Automation testing is faster in execution
  2. It is cheaper compared to manual testing in the long run
  3. Automated testing is more reliable
  4. Automated testing is more powerful and versatile
  5. It is mostly used for regression testing
  6. It does not require human intervention. Test scripts can be run unattended
  7. It helps to increase the test coverage

Disadvantages:

  1. It is recommended only for stable products
  2. Automation testing is expensive initially
  3. Most of the automation tools are expensive
  4. It has some limitations such as handling captcha, fonts, color
  5. Huge maintenance in case of repeated changes in the requirements
  6. 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)?

Refer this link

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

Detailed Explanation: Types of 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

Conclusion:

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.

Rajkumar SM is a founder of SoftwareTestingMaterial. He is a certified Software Test Engineer by profession and blogger & youtuber by choice. He has an extensive experience in the field of Software Testing. He writes here about Software Testing which includes both Manual and Automation Testing. He loves to be with his wife and cute little kid 'Freedom'.

Leave a Comment

Share via
Copy link
Powered by Social Snap