YouTube Link: https://youtu.be/i-U0W_SaWzc
** Test Automation Engineer Masters Program :https://www.edureka.co/masters-program/automation-testing-engineer-training **
This Edureka PPT on Top 40 Test Automation Interview Question and Answers will help you to prepare yourself for Software Testing Interviews. It covers questions for beginners, intermediate and experienced professionals. Below topics are covered in this PPT:
What is Software testing
Top 40 Interview Questions
1. Beginners level questions
2. Intermediate level questions
3. Advance level questions
Security Testing Selenium playlist: https://goo.gl/NmuzXE
Selenium Blog playlist: http://bit.ly/2B7C3QR
Software Testing Blog playlist: http://bit.ly/2UXwdJm
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
2. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Agenda
01
Introduction to
Software Testing
02
Test Automation
Trends
03
Top 40 Test
Automation Interview
Questions
3. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Software Testing
Software Testing
Software Testing is a process used to identify the correctness,
completeness and the quality of developed compute software. It includes a
set of activities conducted with intent of finding errors in software so that
it could be corrected before the product is released to end users.
4. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Manual testing is essentially self-
explanatory — testing of a web
application is done manually, by
human action
Automated testing uses the
assistance of tools, scripts, and
software to perform test cases by
repeating pre-defined actions
7. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
01 What do you mean by the term Automation Testing?
Test Automation is a process of automating the manual
process to test the application/system under test.
Automation Testing
8. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
02 What are different types of Automation Testing?
Unit Tests
GUI Tests
Functional Tests
9. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
03 What is an automated test script?
An automated test script is a short program that is written
in a programming language to perform a set of
instructions on an application
10. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
04 What are good coding practices that should be followed while writing
test cases for automation?
<Use comments at appropriate places>
<Maintain separate files for reusable functions>
<Follow coding conventions>
<Run scripts regularly>
11. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
05 What is a Test Automation Framework?
A framework is a set of the structure of the entire
automation suite. It is also a guideline, which if followed
can result in a structure which is easy to maintain and
enhance.
12. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
06 Why use automation frameworks? What are the benefits that they
offer?
Maintain consistency of
testing
Less maintenance of code
Improves reusability of
test scripts
13. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
07 What are different types of automation frameworks that are
available?
▪ Linear Scripting Framework
▪ Data-driven Framework
▪ Keyword-driven Framework
▪ Modular Testing Framework
▪ Hybrid Testing Framework
14. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
08 What are pre-requisites to start automation testing?
Stable build
List of repeated functionality
List test data
Automation Framework
Skilled Resources
Filter Test Case Scenario
15. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
09 What are the factors that determine the effectiveness of Automation
Testing?
▪ Time saved
▪ Defects found
▪ Test coverage
▪ Maintenance Time
▪ Instalment cost
▪ Test reusability
▪ Quality of software under
test
16. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
10 What are main differences between Automation Testing & Manual
Testing?
▪ Test results are not reliable ▪ Automated testing is more reliable
▪ Process is time consuming ▪ Significantly faster approach
▪ Automated Testing is suited
for Regression Testing,
Performance Testing etc
▪ Manual Testing is suitable
for Exploratory, Usability
and Adhoc Testing
▪ Initial investment cost is low ▪ Initial investment cost is high
17. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
11 Is it possible to achieve 100% automation?
Usually, it is not usually possible, or necessarily desirable, to achieve
100% Test Automation. Because there would be many edge test cases
and some cases which are executed seldom
18. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
12 What are some conditions where we cannot consider
automation testing?
➢ Ever changing requirements
➢ Exhaustive documentation
➢ Only suitable for CI/CD
➢ One time test case
➢ Ad-hoc testing
➢ Exploratory testing
➢ User interface testing
19. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
13 How many test cases can you automate in a day?
How many test cases
can you automate?
Well it depends on the
test case scenario
complexity and length
20. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
14 What are some modern applications of Automation Testing?
Amazon – Delivery
Drones
Google – Self Driving
Cars
Starbucks – Robo
Cashiers
Facebook – Brain
Computer Interface
21. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
15 Is documentation necessary in Automation Testing?
22. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
16 Can automation testing replace manual testing?
No more manual
testing?
Automation testing isn’t a replacement for manual
testing. It’s just a continuation of the manual testing.
23. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
17 What are some popular Automation Testing Tools worldwide?
Selenium
Appium Watir
Ranorex
24. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
18 When should you prefer Manual Testing over Automation Testing?
Ad-hoc or exploratory
testing
Project is short term
Flexibility is needed
Usability testing is
performed
26. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
When is Automation testing useful? Which test cases to Automate?
Repetitive Tasks
Environment
Setup/Tear Down
Data Entry Tasks
Timing or Screening
Responsiveness
Non Functional
Testing
Capturing Results
19
27. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
20 How to implement automation, what would be the steps?
Test Tool
Selection1
Define Scope of
Automation
2
Planning, Design &
Development3
Test Execution4
Maintenance5
28. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
21 What are different approaches to Test Automation?
Focus on if various sections of
code are performing as per
expectations under different
conditions or not
Code-driven Testing Graphical User
Interface
Application’s having GUI’s can
be tested using this method to
record user actions and
responses
Framework Approach
The framework brings together
function libraries, test data
sources, object details and other
reusable modules
29. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
22 What are the points that are covered while planning phase of
automation?
Decide the right automation tool
Choose automation framework if needed
Define scope of automation
Develop test cases
Test environment configuration
Identify test deliverables
Develop test suites
30. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
How to decide the tool that one should use for Automation testing
in their projects?
23
Unit Testing
Integration Testing
Select for tool based on requirements
Understand the requirements
31. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
24 What are the primary features of a good automation tool?
Easy to use
Good debugging facility
Robust object identification Support multiple frameworks
Testing of a database
Test environment support
32. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
25 On what basis you can map the success of automation?
Defect Detection Ratio
Automation Execution Time
Reduce in labour cost
33. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
26 What is the scripting standard while performing automation testing?
Uniform naming convention
Regular commenting
Proper indentation
Robust error handling
& recovery scenarios
Using frameworks
34. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
27 What are the differences between open source tools, vendor tools &
in-house tools in automation testing?
Open Source Tools
Free tools for frameworks and applications
Developed by companies, they come with licenses
Tools built by companies for their own use
Vendor Tools
In-house Tools
35. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
27 What are the differences between open source tools, vendor tools &
in-house tools in automation testing?
Open Source Tools
Free tools for frameworks and applications
Developed by companies, they come with licenses
Tools built by companies for their own use
Vendor Tools
In-house Tools
36. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
28 What are advantages of using an Automation Framework?
Reusability of code
Maximum Coverage
Recovery Scenario
Reusability of code
Minimal Manual Intervention
Easy Reporting
37. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
29 What are the important modules of Test Automation Framework?
32 41
Test Assertion
Tool
Data Set Up
Build Management
Tool
Reporting Tool
CI/CD Tool
5 6
Logging Tool
38. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
30 What are some popular automation testing frameworks available?
Well here are ones I know
• Apache JMeter
• Selenium
• Appium
• Google EarlGrey
Here are some more
• Carina
• TestNG
• Cucumber
• Watir
• RobotFramework
39. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
31 What do you think are the use cases where implementing automation
is not suggested?
No Automation
Ad Hoc Testing
Exploratory
Testing
User Interface
Testing
40. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
32 What are advantages & disadvantages of using Automation Testing?
Simplifies test case execution
Improves reliability of tests
Increases amount of test coverage
Reduces maintenance cost of testing
Increases speed of test execution
Environment set up is slightly complex
Improves accuracy of software tests
Saves time and money
Development & maintenance time is
more
Initial investment is high
Skilled resources are required
Debugging test scripts is an issue
42. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
33 Is Automation Testing a Black-box testing or a White box testing?
Black – Box
Testing
TEST CASE - OUTPUT
In black box, internal
structure/design/implementation of
the item being tested is not known to
the tester
TEST CASE - INPUT
White – Box
Testing
TEST CASE - OUTPUTTEST CASE - INPUT
In white box, internal
structure/design/implementation of
the item being tested is known to the
tester.
43. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
34 Is Automation Testing a Black-box testing or a White box testing?
Automation Testing can be both
black box testing & white box testing
depending on the scenarios in which
automation is performed.
Black – Box
Testing
White – Box
Testing
44. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
34 What are attributes of a good Test Automation Framework?
A framework is a set of the structure of the entire
automation suite. It is also a guideline, which if
followed can result in a structure which is easy to
maintain and enhance.
Modular
Reusable
Consistent
Independent
Logging & Reporting
Integration
45. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
35 What are Test Automation Framework development challenges?
Setting scope
of automation
Identifying
requirements
Selecting tool
46. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
36 What is data-driven testing?
Data-driven is a test automation framework which stores test data in
a table or spread spreadsheet format.
47. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
37 What is TestNG? List out some of its prominent features?
TestNG is a automation testing framework inspired from JUnit and NUnit, but
introducing some new functionalities that make it more powerful and easier to
use.
Uses more Java concepts
Integrated Classes
Multi Threading
Flexible Plug-in API
48. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
38 What are advantages of TestNG over JUnit?
Annotations are
easy to understand
Test cases can be
grouped easily
Parallel testing is
supported
49. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
39 In what conditions we cannot use Automation Testing for Agile
method?
Not suitable for
all kind of
regression
tests
Exhaustive level of
documentation is
needed
Frequent changes
in requirements
50. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
40 What are some best practices that you should follow while Automation
Testing?
Define scope of automation very early
Select the right automation tool
Choose an appropriate framework
Follow scripting standards
Check for success of automation
Define scope of automation very early
Select the right automation tool
Choose an appropriate framework
Follow scripting standards
Check for success of automation
Define scope of automation very early
Select the right automation tool
Choose an appropriate framework
Follow scripting standards
Check for success of automation
51. SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Automation Testing Interview Questions
41 What are the risks associated in automation testing?
No skilled resources
Initial Cost
Unstable UI
Unstable Applications