Skip to main content

Automation Testing Interview Questions

Displaying 1 - 10 of 18

What are the apparent advantages of a test framework?

Following are the possible benefits of using a test framework.

  • It reduces the complexity of using a variety of technologies inculcated in a product.
  • It organizes the unit and functional testing efforts of a developer and tester.
  • Provides early feedback on the quality of the code.
  • Helps in tracking test coverage as well as code coverage.
  • Results in easy debugging and reduces chances of errors.

What is a test framework?

In general, a framework is an entity which binds several modules in a logical sequence to cover the end-to-end flows of an application. The objective of investing in a framework is to test a product which has a recurring roadmap and regular release cycle.

What Are The Points That Are Covered In The Planning Phase Of Automation?

During the planning phase of automation, the points to be considered are as follows:

  • Selection of the “right” Automation tool
  • Selection of Automation Framework if required
  • List of in scope and out of scope items for automation
  • Test Environment Setup
  • Preparing the Gantt Chart of Project timelines for test script development & execution.
  • Identify Test Deliverables

Is Automation Testing A Complete Replacement For Manual Software Testing?

No. Proper automation requires as little intervention from humans as possible since the tools used are built to run tests once they are set up. As convenient as this might be, it should not be a complete replacement for manual testing – only for repetitive tasks like load testing, where thousands of virtual users are required.  

Engineers should not automate things like test scripts if those scripts can only be expected to run occasionally, nor should they automate code reviews, or bug testing for new builds of software that might require human interaction to detect issues. We can conclude by saying that large-scale, repetitive tasks are a better fit for automation.

What Are The Pre-requisites To Start Automation Testing?

The first step is to segregate the different test cases that are to be automated. Following this, you must prepare test data as per the needs of the test cases. Reusable functions need to be written which are frequently used in those test cases. Later test scripts are prepared by using reusable functions and applying loops and conditions wherever necessary.

What Are The Risks Associated In Automation Testing?

The risks of Automation Testing are:

  • Do you have skilled resources? Automation testing demands resources with some knowledge about programming. Firstly, focus on resources and then identify whether the resources have proper knowledge for automation testing. Are they capable to adapt easily to the new technologies? These measures are to be well assessed for building an automation testing team.
  • The initial cost for automation is high. The initial cost for automation is too high for the initial setup. It includes the cost of automated tools to be purchased, training and maintenance of the test scripts. The unsatisfied customer base is high for automation testing their products. It should be ensured that the cost compensates the testing results.
  • If UI is not fixed, do not think about automation: Prior to automating the user interface, it should be strongly be determined that, whether the UI is changing extensively or the cost of the automated script maintenance is high or not.
  • Stop automating the tests which run once: Ensure that certain test cases might be running once and not included in the regression testing. Avoid automating such test modules.

What Are The Features And Benefits Of Quick Test Pro (QTP)?

Here are the benefits of using QTP:

  • It is a keyword driven testing.
  • It is suitable for web based application for both client and server.
  • It has better error handling mechanism.
  • Data-driven testing features are excellent.
  • It has a record and play feature.
  • Screenshots can be recorded.

What do you use for automation parallel testing?

There are multiple way to do parallel testing using automation:

  • TestNG: TestNG provides multiple ways to execute tests in separate threads. In testng.xml, if we set 'parallel' attribute on the tag to 'tests', testNG will run all the ‘@Test’ methods in tag in the same thread, but each tag will be in a separate thread.
  • Selenium Grid: Selenium-Grid allows you to run your tests on different machines against different browsers in parallel. That is, running multiple tests at the same time against different machines running different browsers and operating systems. Essentially, Selenium-Grid support distributed test execution. It allows for running your tests in a distributed test execution environment.
Subscribe to Automation Testing Interview Questions

About

At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.