Software Automation Engineer Interview Questions

13,030 software automation engineer interview questions shared by candidates

1) Write a program to find largest number in your mobile number if I stored number in long number = 7702210731? 2) Write a program for count the charters in string “MALAYALAM” (how many time M, A, L, Y repeated)? 3) What is encapsulation and write the program for it? 4) What is interface? 5) What are the listeners in TestNG? 6) Write a program for matrix [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] 7) Class Parent { Method1(); Method2(); } Class child extends Parent { p.method1(); p.method2(); p.method3(); } Public static void main() { Child c = new parent(); Parent p = new child(); } IN the above code p.method3() will execute (or) not? And can we write the child c = new parent(); ? 8) Program for taking the screen shot ? 9) In TESTNG I have 5 test methods (not before and after) and how they will execute? And if I want 1 and 3 methods need to execute first and 2,4 and 5 are need to execute second then how we will write the code? 10) For the above question he want to 1 and 3 as regression suite and 2, 4 and 5 are sanity suite then how you will implement?
avatar

QA Automation Engineer

Interviewed at GSPANN Technologies

3.9
Apr 17, 2017

1) Write a program to find largest number in your mobile number if I stored number in long number = 7702210731? 2) Write a program for count the charters in string “MALAYALAM” (how many time M, A, L, Y repeated)? 3) What is encapsulation and write the program for it? 4) What is interface? 5) What are the listeners in TestNG? 6) Write a program for matrix [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] 7) Class Parent { Method1(); Method2(); } Class child extends Parent { p.method1(); p.method2(); p.method3(); } Public static void main() { Child c = new parent(); Parent p = new child(); } IN the above code p.method3() will execute (or) not? And can we write the child c = new parent(); ? 8) Program for taking the screen shot ? 9) In TESTNG I have 5 test methods (not before and after) and how they will execute? And if I want 1 and 3 methods need to execute first and 2,4 and 5 are need to execute second then how we will write the code? 10) For the above question he want to 1 and 3 as regression suite and 2, 4 and 5 are sanity suite then how you will implement?

Java: How does a static affects your code? What does final do to a variable? What means when a method is declared final? What´s the difference between interface and abstract? How do you make a multiple inheritance in Java? WebDriver: How would you find an element that has a certain text inside a table, in a unknown position? What´s the Seleniu API that gets all tables in a row? What´s the difference between explicit and implicit wait? How does Selenium interact with a download/print dialog? Which are the element locators? What´s the fastest? Wjhat´s the slowest?
avatar

Test Automation Engineer

Interviewed at Forte Group

3.9
Aug 18, 2015

Java: How does a static affects your code? What does final do to a variable? What means when a method is declared final? What´s the difference between interface and abstract? How do you make a multiple inheritance in Java? WebDriver: How would you find an element that has a certain text inside a table, in a unknown position? What´s the Seleniu API that gets all tables in a row? What´s the difference between explicit and implicit wait? How does Selenium interact with a download/print dialog? Which are the element locators? What´s the fastest? Wjhat´s the slowest?

1.find out consequtive number of 1's in a 101100111101011 2. A string was given "Genpact headstrong marketing limited" I had to make it as "Genpact limited marketing headstrong". 3. Find second largest salary of employee from employee table
avatar

Automation Test Analyst

Interviewed at Genpact

3.7
Aug 4, 2016

1.find out consequtive number of 1's in a 101100111101011 2. A string was given "Genpact headstrong marketing limited" I had to make it as "Genpact limited marketing headstrong". 3. Find second largest salary of employee from employee table

Automation framework used for projects? Core Java, Spring, cucumber, BDD, Agile, Fluentlenium, selenium, junit, maven, testng, Page Object model, data driven development, Jenkins, sonar lint, version one, Restful web services, SOAP, Oracle, sap server, Hadoop
avatar

QA Automation Architect

Interviewed at Info Services

4.3
Jan 15, 2018

Automation framework used for projects? Core Java, Spring, cucumber, BDD, Agile, Fluentlenium, selenium, junit, maven, testng, Page Object model, data driven development, Jenkins, sonar lint, version one, Restful web services, SOAP, Oracle, sap server, Hadoop

Viewing 11 - 20 interview questions

Glassdoor has 13,030 interview questions and reports from Software automation engineer interviews. Prepare for your interview. Get hired. Love your job.