Automation Test Engineer Interview Questions

3,204 automation test engineer interview questions shared by candidates

1.About Bug Life Cycle 2.java questions-Abstract Vs Interface 3.Runtime polymorphism and can we override static methods in child class?If not why? 4.About constructor and is it possible to override constructor in child class. 5.How do you handle exceptions? 6.Try catch mechanism 7.Throw vs Throws Keyword 8.How do we create customized exceptions? 9.Super and This keyword? 10.What is the output if we compare same string with == and equals()? 11.Explain about your framework? 12.About Page Factory class? 13.How do you log reports? Explain extent reports syntax? 14.How do you read data from properties file? Syntax? 15.How do you take Screenshot and syntax? 16.About TestNG annotations(Data Provider(syntax),parameters) 17.How do you run test case multiple times?? 18.How do you implement grouping mechanism?? 19.BDD cucumber framework- about feature file, dry run, data tables. 20.Difference between string buffer and string builder. 21.Collection framework-difference between hash table and hash map? 22.About maven clean, When you add dependencies in pom.xml file from where its going to download dependencies? 23.Difference b/w GIT FETCH & GIT PULL 24.Do you face any conflicts while merging branches? 25.Java program
avatar

Automation Test Engineer

Interviewed at Capgemini

4.2
Jun 26, 2023

1.About Bug Life Cycle 2.java questions-Abstract Vs Interface 3.Runtime polymorphism and can we override static methods in child class?If not why? 4.About constructor and is it possible to override constructor in child class. 5.How do you handle exceptions? 6.Try catch mechanism 7.Throw vs Throws Keyword 8.How do we create customized exceptions? 9.Super and This keyword? 10.What is the output if we compare same string with == and equals()? 11.Explain about your framework? 12.About Page Factory class? 13.How do you log reports? Explain extent reports syntax? 14.How do you read data from properties file? Syntax? 15.How do you take Screenshot and syntax? 16.About TestNG annotations(Data Provider(syntax),parameters) 17.How do you run test case multiple times?? 18.How do you implement grouping mechanism?? 19.BDD cucumber framework- about feature file, dry run, data tables. 20.Difference between string buffer and string builder. 21.Collection framework-difference between hash table and hash map? 22.About maven clean, When you add dependencies in pom.xml file from where its going to download dependencies? 23.Difference b/w GIT FETCH & GIT PULL 24.Do you face any conflicts while merging branches? 25.Java program

Version of selenium and testng, difference between get and navigate to, if there is no select element in dom then how to select value from dropdown, code to switch to different window, about multiple inheritance, encapsulation
avatar

Automation Test Engineer

Interviewed at MathCo

3.8
Dec 29, 2024

Version of selenium and testng, difference between get and navigate to, if there is no select element in dom then how to select value from dropdown, code to switch to different window, about multiple inheritance, encapsulation

1. Sprint activities - standup , burn down and retrospective 2. Git commands 3. Git fetch vs git pull 4. How you will automate script with 3 page + delay in each page is 30 to 100 mins . - partial automation 5. Test ng annotation - Data providers 6. @ test priority 7. DB CRUD operations - create read update delete ( Insert / select/ update/ remove) 8. Delete DB info in automation scripts 9. Perquisites handling in automation ( balance check before placing transfer ) 10 . Get entire text from a webpage and approach to save in Java - I said " list [] " or string. Then I have used substring () function to divide each paragraph
avatar

Automation Test Lead

Interviewed at Infosys

3.6
May 28, 2025

1. Sprint activities - standup , burn down and retrospective 2. Git commands 3. Git fetch vs git pull 4. How you will automate script with 3 page + delay in each page is 30 to 100 mins . - partial automation 5. Test ng annotation - Data providers 6. @ test priority 7. DB CRUD operations - create read update delete ( Insert / select/ update/ remove) 8. Delete DB info in automation scripts 9. Perquisites handling in automation ( balance check before placing transfer ) 10 . Get entire text from a webpage and approach to save in Java - I said " list [] " or string. Then I have used substring () function to divide each paragraph

Solve either one the below coding question you have to move zeros either to end of the array or bring them to beginning of the array. For example, if {14, 0, 5, 2, 0, 3, 0} is the given array, then moving zeros to end of the array will result {14, 5, 2, 3, 0, 0, 0} and bringing zeros to front will result {0, 0, 0, 14, 5, 2, 3}. Solve without using For loop and without using a new blank array/collection. Write a Java program to replace all leading and trailing zeroes in a number without using Replace function. Eg. input - 0001120380.0000 output - 1120380, input - 00012.001200 output - 12.0012
avatar

Automation API Test Engineer

Interviewed at R Systems

3.9
Nov 6, 2024

Solve either one the below coding question you have to move zeros either to end of the array or bring them to beginning of the array. For example, if {14, 0, 5, 2, 0, 3, 0} is the given array, then moving zeros to end of the array will result {14, 5, 2, 3, 0, 0, 0} and bringing zeros to front will result {0, 0, 0, 14, 5, 2, 3}. Solve without using For loop and without using a new blank array/collection. Write a Java program to replace all leading and trailing zeroes in a number without using Replace function. Eg. input - 0001120380.0000 output - 1120380, input - 00012.001200 output - 12.0012

Viewing 1081 - 1090 interview questions

Glassdoor has 3,204 interview questions and reports from Automation test engineer interviews. Prepare for your interview. Get hired. Love your job.