How do you do this, how do you do that, how, how and how, and never a why question.
Automation Engineer Interview Questions
13,031 automation engineer interview questions shared by candidates
Given two strings, merge them -> so that "abc" and "def" becomes "adbecf" for example"
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?
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
Code to find a repeated number in an array
they will ask you to relocate.
I respect them too much to give any away, they'll try to make it easy for you just relax and breathe.
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
they tested my logic rather than syntax.
Viewing 11 - 20 interview questions