class A { static void m1() { System.out.println("In m1 A"); } } class B extends A { static void m1() { System.out.println("In m1 B"); } void m2() { System.out.println("In m2 B"); } } class Test { public static void main(String[] args) { A a=new B(); a.m1(); } }
Senior Test Automation Engineer Interview Questions
348 senior test automation engineer interview questions shared by candidates
int []arr ={1,2,3,4,5,6,7,8,9,10} i.e another example : {1,3,5,6,7,8,9,10} o/p: 1 2 3 2 3 4 3 4 5 ..... int []arr ={1,2,3,5,6,7,8,9,10} o/p: 1 2 3 5 6 7 9 11 12
What is the difference between a HashMap and a HashTable?
Java based questions were there
1. Examples where you have made a framework which can be used by different teams like developers, testers, BA’s etc 2. Difference between scenario and scenario outline 3. What connects feature with step definition 4. What do you write in page object files 5. What is page object model 6. What are different types of waits 7. What type of wait will you use for loading symbol for an image on webpage 8. What do you write in runner file 9. Program to find missing number in an array 10. Program to print the distinct numbers in an array (array contains repeated numbers and you just need to print each number just once)
mostly related to test automation and programming
Test practices and test automation approach
In-depth Technical Questions
The interview was more of Java based questions. Collections, Hashmap Inheritance an Polymorphism. Questions on framework were asked
Explain Testing process in your organization
Viewing 201 - 210 interview questions