Automation Framework Interview Questions and Answers - Here are the most frequently asked Software Automation Framework testing interview questions with answers.
What is a framework?
A framework is a set of structure of the entire automation suit. It is also a guideline, if followed can result in a structure which is easy to maintain and enhance. These guidelines include:
  • Coding standards
  • Handling the test data
  • Maintaining and handling the elements (object repository in QTP)
  • Handling of environment files and properties file
  • Reporting of data
  • Handling logs
What is Automation Framework?
A set of guidelines, assumptions and process developed by experts in order to perform a task(s) in an effective, efficient and optimized way.
What are the different types of Automation Frameworks available in the industry?
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
What are the attributes of a good framework?
The characteristics are:
  • Modular – The framework should be adaptable to change. Testers should be able to modify the scripts as per the environment or login information change
  • Reusable – The commonly used methods or utilities should be written in a common file which is accessible to all the scripts.
  • Consistent – The suite should be written in a consistent format by following all the accepted coding practices.
  • Independent – The scripts should be written in such a way that they are independent of each other. In case one test fails, it should not holdback remaining test cases (unless it is a login page)
  • Logger – It is good to have implemented the logging feature in the framework. This would help in case our scripts run for longer hours (say nightly mode), if the script fails at any point of time, having the log file will help us to detect the location and the type of error.
  • Reporting – It is good to have reporting feature automatically embedded into the framework. Once the scripting is done, we can have the results and reports sent via an email.
  • Integration – Automation framework should be such that it is easy to integrate it with other application like continuous integration or triggering the automated script as soon as the build is deployed.
What are the advantages of using Test Automation Framework?
  • 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 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
  • 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
What are the advantages and disadvantages of Linear Framework?
Advantages:
  • Easy to create and takes less time
  • Scripting knowledge is optional
  • Recommended for small scale projects
  • Recommended for dynamically changing requirements
Disadvantages:
  • No centralized maintenance of test objects
  • Low in performance due to duplicate objects
  • Less or no concentration on complex functionality testing
  • Less or no concentration on data driven testing
  • No centralized maintenance of resources
What are the advantages and disadvantages of Modular Framework?
Advantages:
  • Centralized maintenance of resources
  • High in performance
  • Modifications are easy
  • Concentration on complex functionality testing
Disadvantages:
  • Scripting knowledge is mandatory
  • Less or no concentration on data driven testing
  • Takes more time to create
What are the advantages and disadvantages of Data Driven Framework?
Advantages:
  • Positive and negative testing can be performed
  • Checking the reliability of system (AUT)
Disadvantages:
  • Maintaining resources is difficult?
  • Less or no concentration on complex functionality testing
What are the advantages and disadvantages of Hybrid Framework?
Advantages:
  • Scope is very high as we mix different approaches.
  • Flexible for performing all types of tasks.
Disadvantages:
  • Organizing and managing resources are difficult
  • Complex architecture.
  • Low in performance.
Request to Download PDF
Axact

Axact

Vestibulum bibendum felis sit amet dolor auctor molestie. In dignissim eget nibh id dapibus. Fusce et suscipit orci. Aliquam sit amet urna lorem. Duis eu imperdiet nunc, non imperdiet libero.

Post A Comment:

0 comments: