Most Popular Test Automation Framework Interview Questions

Test Automation Framework Interview Questions And Answers:

In this post, we will list out the most frequently asked test automation framework interview questions and answers. You can also find  Advanced Selenium Interview Questions  and TestNG Interview Questions .

Here is a video tutorial:

Check the below video to watch “Test Automation Framework Interview Questions And Answers”

Please be patient. The video will load in some time.

1. What is a Framework?

framework defines a set of rules or best practices which we can follow in a systematic way to achieve the desired results.

2. Tell me some popular Test Automation Frameworks?

There are different types of test 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 Post on Types of Automation Frameworks

3. 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.

4. 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.

5. What are the advantages of using Test Automation Framework?

  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 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
  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

6. Which Test Automation Framework you are using and why?

Some of the Test Automation Frameworks are:

  • Data Driven Testing Framework
  • Keyword Driven Testing Framework
  • Hybrid Testing Framework

7. Mention the name of the framework which ‘you are currently using’ or which ‘you have hands on experience’.

Example: 
Answers should be, Already the organization which I am working for is using that particular framework or I have an experience on that particular framework or It’s easy to handle all my scripts to execute and generate logs, screenshots and reports by using this framework.

8. Can you explain the Framework which you have used in your Selenium Project?

Check this link for detailed answer

9. Where you have applied OOPs in your Automation Framework?

Check this link for detailed answer

10. What is Automation testing? What are the advantages of Automation Testing?

Automation testing is the process of testing the software using an automation tool to find the defects. In this process, executing the test scripts and generating the results are performed automatically by automation tools. Some most popular tools to do automation testing are HP QTP/UFT,  Selenium WebDriver , etc.,

For advantages refer to question 5 of this post “Test Automation Framework Interview Questions”

11. What are the most popular testing tools for functional testing?

  1. Selenium
  2. QTP(Quick Test Professional) / UFT(Unified Functional Testing)

12. Why do you prefer Selenium Automation Tool?

  1. Free and open source
  2. Have large user base and helping communities
  3. Cross-browser compatibility
  4. Platform compatibility
  5. Multiple programming languages support

13. What type of test cases do you pick up to automate?

I focus on the test cases which should be executed in a repetitive manner such as regression test cases, smoke and sanity test cases

14. 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 pickup test cases when the AUT changes frequently and the test cases which I run rarely and run only one time. When I do usability and exploratory testing.

15. 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.

16. How you build Object Repository in your project? 

In QTP, there is an Object Repository concept. When a user records a test, the objects and its properties are captured by default in an Object Repository. QTP uses this Object Repository to play back the scripts. Coming to Selenium, there is no default Object Repository concept. It doesn’t mean that there is no Object Repository in Selenium. Even though there is no default one still we could create our own. In Selenium, we call objects as locators (such as ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, XPath, and CSS). Object repository is a collection of objects. One of the ways to create Object Repository is to place all the locators in a separate file (i.e., properties file). But the best way is to use Page Object Model. In the Page Object Model Design Pattern, each web page is represented as a class. All the objects related to a particular page of a web application are stored in a class.

If you have any other questions related to Test Automation Framework Interview Questions, please post it in the comments box below and we will include those in this post.

Here I have hand-picked few posts which will help you to learn more interview related stuff:

  • Selenium Interview Questions
  • Test Automation Framework Interview Questions
  • TestNG Interview Questions
  • SQL Interview Questions
  • Manual Testing Interview Questions
  • Agile Interview Questions
  • Why You Choose Software Testing As A Career
  • General Interview Questions

If you have any more question, feel free to ask via comments. If you find this post useful, do share it with your friends on Social Networking.

© 2021 bewegingstechnologie.net