Data Science Interview Questions Data Science Interview Questions 1. What...
Read MoreAutomation testing is a full-fledged career nowadays in the software industry. Automation testing professionals work in continuity with the development team to deliver the project on deadlines which has brought several advantages and offers a lucrative career for modern-age professionals. Here are the top 40 Automation Testing Interview Questions you must know before going for your next interview to ace your Automation Testing Interview in one go.
1) How can you measure the success of automation testing?
Following criteria can map the success of automation testing:
Defect Detection Ratio
Automation execution time and time savings to release the product
Reduction in Labour & other costs
2) Can you list out some disadvantages of manual testing?
Manual testing requires more time and more resources.
Inaccuracy
Executing the same test case repeatedly is error-prone and tedious.
It is impractical to do manual testing on very large and time-bound projects.
3) What are the differences between open-source tools, vendor tools, & in-house tools in automation testing?
Here are the differences between all:
Open-Source Tools: They are free tools with source code available on the internet. Example: Selenium
Vendor Tools: These testing tools are developed by companies, and you need to purchase their licenses.
Example: Microfocus UFT.
In-house Tools: It is built by companies for their use.
4) What are the Prerequisites of Automation Testing?
A few important pre-requisites of Automation Testing are:
A stable build
Functionalities to be tested
Test cases for automated Testing
5) Can you do automation without a framework?
Frameworks are guidelines and not mandatory to create and execute automation scripts. So, yes, we can automate without a framework. Enhancing and maintaining test scripts would be easy if we created and followed a framework.
6) Tell me what you know about Selenium
Selenium is a free (open source) test automation suite. It is used to automate Web and Mobile environments. It consists of the following.
Selenium IDE (Browser Addon–Record and Playback Tool)
Selenium WebDriver
Selenium Grid (Distributed Testing)
Selenium supports scripting in languages like Java, C#, Python, Ruby, PHP, Perl, and JavaScript.
7) Tell me about QTP
QTP (Quick Test Professional) is now known as Microfocus UFT. It is a commercial automation tool and supports an extensive range of test environments: Web, Desktop, SAP, Delphi, Net, ActiveX, Flex, Java, Oracle, Mobile, PeopleSoft, PowerBuilder, Siebel, Stingray, and Visual Basic, amongst others.
The scripting language is VBScript. The tool gels well with ALM (Test Management Tool) and LoadRunner (Performance Testing Tool).
Salient features of QTP include Business Process Testing, keyword-driven framework, XML support, robust checkpoints, and test results.
8) What is SikuliX?
SikuliX is a tool that uses the “Visual Image Match” method to automate the graphical user interface. All the web elements in SikuliX should be taken as an image and stored inside the project.
SikuliX is comprised of
SikuliX Script
Visual Scripting API for Jython
SikuliX IDE
Practical uses of SikuliX are:
It can automate window-based applications and anything you see on screen without using internal API support.
It provides a simple API.
It can be easily linked with tools like Selenium.
Web applications can be automated.
SikuliX offers extensive support to automate flash objects.
It can work on any technology -.NET, Java.
9) What are the attributes of a good automation framework?
Here are some important attributes of a good automation framework:
Modular: It is a framework that should be adaptable to change. So that testers should be able to modify the scripts as per the environment.
Reusable: It should be reusable so that methods or utilities should be written in a common file accessible to all the scripts.
Consistent: It should be written in a consistent format.
Independent: The automation scripts should be written in such a way that they are independent of each other.
Integration: Automation Framework should be developed in such a way that it is easy to integrate with other applications.
10) What is Cross-Browser Testing?
It is a subset of browser automation testing that helps you ensure that the online application operates correctly across different browsers. Google Chrome, Mozilla Firefox, Microsoft Edge, Safari, etc.
11) Which Testing can be done using the Selenium Framework?
You can use a Selenium framework for the following testing:
Load testing of web applications.
Regression testing of web applications.
Functional testing of web applications.
12) Is Automation testing white box testing or black box testing?
Automation testing is primarily black box testing.
13) What keyword is used to fetch the URL of the current page in Selenium?
Selenium WebDriver can help you find the current URL of a page with the getcurrentURL(). This method will find the URL of the open applications and result in a string.
14) Where will you maintain information like URL, login, and password?
URL, login, and password are important information used very often and change frequently. They should always be maintained in a separate file. If not done, then the automation tester must change it in every file with its reference.
15) What are the Extensions and Test Assets of QTP?
Some Important Test Assets and extensions of QTP are:
Results .xml
Recovery scenario .qrs
Test batch runner .mtb
Shared object repository .tsr
Local object repository .mtr
Test file .mts
Function library .qfl16) What are the essential modules of an automation testing framework?
Here are some essential modules of the automation testing framework:
Test Assertion Tool: This testing tool will provide assert statements for assessing the expected values in the application under test. For Example, Junit, TestNG, Junit, etc.
Data Setup: Ensures that each test case takes the test data from the database, a file, or embedded in the test script.
Build Management Tool: The framework requires to be built and deployed to create test scripts.
Continuous integration tool: They are required to integrate and deploy the changes done in the framework at each iteration.
Reporting tool: It helps to generate a readable report after the test cases for a better view of the steps, failures, and results.
Logging tool: They help in better debugging of the error and bugs.
17) What is Cucumber?
Cucumber is an open-source (BDE) behavior-driven development tool. It is used tool for web-based application automation testing and supports languages like Java, Ruby, Ruby, Scala, Groovy, etc. Cucumber reads executable specifications written in plain text and tests the application under test for those specifications.
18) What is Test Complete?
TestComplete is an automated UI testing tool for desktop applications, web, mobile, etc. It offers the flexibility to record a test case on one browser and run it on multiple browsers, thus supporting cross browsers testing.
19) What is Cypress?
Cypress is an open-source testing framework. It is developed in JavaScript and has lately gained popularity because of its simplicity and extensive capabilities that enable browser testing, and user manuals should be thoroughly documented.
20) How can you handle the alert popups in Selenium WebDriver?
Selenium gives alerts if there are issues while you test. The pop-up interface allows you to handle the alert by switching the control to the pop-up, pressing the OK or Cancel buttons, and turning back to the source page screen.
String srcPage = driver.getWindowHandle();
Alert pop = driver.switchTo().alert(); // shift control to the alert pop-up.
Pop.accept(); // click k button.
Data Science Interview Questions Data Science Interview Questions 1. What...
Read MoreTop 30 DevOps Interview Questions & Answers (2022 Update) Top...
Read MoreAnti Money Laundering Interview Questions Anti Money Laundering Interview Questions...
Read MoreWhatsApp us