0% found this document useful (0 votes)
21 views5 pages

Automation Testing - Interview Question

Impartment interview question for automation testing

Uploaded by

reddisandeep92
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views5 pages

Automation Testing - Interview Question

Impartment interview question for automation testing

Uploaded by

reddisandeep92
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Ques.10. What is manual testing?

Ans. It involves validation of the requirements of the application by executing a predefined


set of test cases manually without the use of any automation tool.

Ques.11. What is automation testing?


Ans. It automated test case execution using an automation tool. It helps in reducing the test
execution time as the test scripts written once, can be run automatically any number of
times without any human intervention.It will save time, effort, and money on repetitive
tests that don’t change frequently and achieving greater speed, reliability, and efficiency.

What are the types of automation Testing?

 Unit tests: These are developed by software engineers and are used to validate a
single piece of code in isolation.

 Integration tests: These evaluate the interoperability of various software


components.

 Regression testing: These tests are used to ensure that the new code did not
damage any existing functionality

 Performance tests: Ensure that the program does not crash and continues to
perform relatively well under high load or harsh circumstances.

 UI Tests: These tests are used to verify that the program provides a consistent user
experience and that no visual or graphical components on the screen are damaged.

2) When will you automate a test?

Automation in preferred in following cases

 Repetitive Tasks
 Smoke and Sanity Tests
 Test with multiple data set
 Regression test cases

4. When is a good time to automate a test?

A test is a good candidate for automation under the following conditions.

 The test is repeatable.


 The feature under the test doesn’t change its behavior frequently.
 It’s time-consuming for a human tester.
 The test involves complicated calculations.
 The test ensures the previous functionality didn’t break after a new change.

3) When will you not automate testing?


One should not automate in following cases

 When the Application Under Test changes frequently


 One time test cases
 Adhoc – Random testing
 Automated testing is also not suitable for exploratory testing. A human tester can
explore the software in a much better way than a computer.

28. What are the different phases in an automation testing life cycle?

 scope of automation testing


 Choose the correct automation frameworks and tools
 Design a test plan + test execution strategy
 Set up the test environment
 Development and execution of the test cases
 Analysis and generation of test reports

32. When selecting an automation tool, what features will you look for?

Here are some of the features to look for when selecting an automation tool:

 Test Environment support,


 Ease of use,
 Debugging features,
 Testing capabilities for various elements,
 UI element identification features,
 Should allow database testing.,
 Should support multiple frameworks.

) What are the types of the framework used in software automation testing?
In software automation testing four types of framework used are

 Data-driven automation framework


 Keyword driven automation framework
 Modular automation framework
 Hybrid automation framework

9) What is the scripting standard while performing automation testing?

While writing the scripts for automation, you must consider following things,

 Uniform naming convention.


 3 Lines of comments for every 10 lines of code
 Adequate indentation.
 Robust error handling and recovery scenario
 Use of Frameworks wherever possible

10) What are the most popular tools for automation testing?
The most popular test tool for automation testing are

 QTP (HP UFT)


 Rational Robot
 Selenium

11) On what basis you can map the success of automation testing?

By following criteria, the success of automation testing can be mapped

 Defect Detection Ratio


 Automation execution time and time savings to release the product
 Reduction in Labour & other costs

13) Tell me what you know about Selenium

 Selenium is a free (open source) Test automation library. It is used to automate Web
and Mobile environments. It consists of

19. What are the different components of Selenium?

Selenium is not a single tool or a framework. It is a suite of tools that work with each other
or in isolation to provide different types of automation testing. Here are the four major
components of Selenium.

 Selenium WebDriver
o A collection of open-source APIs and browser-controlling code
implementations that provide a concise and straightforward programming
interface.
 Selenium Grid
o It enables the tester to run multiple tests across different browsers,
machines, and operating systems in parallel.
 Selenium IDE
o Stands for the Integrated Development Environment.
o It allows the tester to write, record, run and debug the test cases.

20. What is UI testing?

The software’s user interface is the only thing that the users see, touch and feel. They are
not concerned about the backend code, database, or the frameworks you used to build the
software. Building an application with broken, inconsistent, or annoying user interfaces can
be enough to lose customers.

Typically, UI testing is performed manually by a human tester. With the advancements in


the tools and frameworks in automation testing, UI testing is becoming a good candidate for
automation.

5) What are the points that are covered while planning phase of automation?
During planning phase of automation things which must be taken in concern are

 Selection the “right” Automation tool


 Selection Automation Framework if any
 List of In scope and out of scope items for automation
 Test Environment Setup
 Preparing Grant Chart of Project timelines for test script development & execution.
 Identify Test Deliverables

6) In what condition we cannot use automation testing for the Agile method?

Automation testing is not useful for agile methods in following conditions

 When Agile testing always ask for changes in requirements


 When Exhaustive level of documentation is required in Agile
 Only suitable for those regression tests during agile testing like continuous
integration

15) Explain what Sikuli is?


Sikuli is a tool that uses “Visual Image Match” method to automate graphical user interface.
All the web elements in Sikuli should be taken as an image and stored inside the project.

Sikuli is comprised of

 Sikuli Script
 Visual Scripting API for Jython
 Sikuli IDE

What is Protractor?

Protractor is an open-source automated testing platform that enables you to test your
web applications end-to-end. It is based on WebDriverJS. Google developed Protractor,
which is mainly used for testing Angular apps.

What is QTP?

QTP (Quick Test Professional) is currently known as HP UFT. It is a commercial automation


tool that supports a broad range of test environments, including but not limited to Web,
Desktop, SAP, Delphi, Net, ActiveX, Flex, Java, Oracle, Mobile, PeopleSoft, PowerBuilder,
Siebel, Stingray, and Visual Basic.

How many test cases can you automate per day?

The number is determined by the test cases' level of complexity. When the complexity of
the test cases was minimal, I could automate between five and six test cases every day.
Occasionally, for complex cases, I was able to automate just one test case.
3. What’s the difference between manual testing and
automated testing?

Manual Testing Automated Testing

A human executes the test cases one


Tests are executed by a testing tool or
by one, without any software
framework, without human assistance.
assistance.

Useful for non-repeatable tests that Useful for repeatable tests where the
involve human ingenuity, software feature under test doesn’t
participation, and domain experience. change frequently.

Good for accessibility and usability


Good for testing regression issues to
testing, as the tester can test the
make sure that the software didn’t break
software from an end-user’s
after introducing new changes.
perspective.

Can be slow and time-consuming, and Since it’s run by a computer, automated
subject to human errors and tests are fast and free from errors, given
misjudgment. that we are testing the right thing.

It’s possible to test the software in a


Exploratory testing is not possible in
randomized manner, also known as
automated testing.
exploratory testing.

Unless it’s programmed for that, the


UI problems and inconsistencies are
automated testing cannot discover and
easily spotted by a human tester.
report the UI problems.

It’s very difficult, rather impossible to


Performance testing can be easily done
test the software under extreme load
with automation testing.
to conduct performance testing.

To write automated tests, the tester


The tester doesn’t need prior
needs to have prior programming
programming knowledge.
knowledge.

You might also like