Selenium: XPATHs - complex and tricky
Test Automation Developer Interview Questions
3,426 test automation developer interview questions shared by candidates
In the written test I was asked to design a java & selenium framework to automate login and workflow on a website. Questions were asked around this project. In next rounds, questions on OOPS, data structures, java compiler, selenium, frameworks, design patterns.
collections
Selenium browser sessions
Round 2--coding + Oops concepts+ selenium concepts 1. Code to sort array without using sorting method(iterative method you have to use) 2. Code to find 2nd largest element in array 3. Difference between POM and page factory 4. Explain String lass in java 5. Difference between throws and throw 6. Static and non static fields in java. How they are called from subclasses? 7. Concept of final, finally 8. Constructor overloading and method overriding 9. When to use super and this keywords Scenario based questions: 1. Can we instantiate webdriver driver() = new chromedriver() as chromedriver driver() = new chromedriver()??? 2. What will happen if we write return type for constructor? 3. Can we write two methods in same class with same names and signature
Competency questions from the developer. It was generally about mobile testing and they were ok.
first round: annotations, priority, dependsOn, dynamic xpath, dataprovider, frameworks, my current project, POM, utility class, property file, db connection in selenium, java program on reversing a string without using reverse function, types of testing, black box vs uat testing, verification vs validation, api testing questions on http status codes, authentication vs Authorization, what all tests i have done
Questions on Java concepts, locators, broken link, cucumber
Write down the code for read data from excel?
Things about testing domain: what is API testing/testing pyramid, static testing, test plan, functional and non-functional testing, agile questions, and few cpp questions: constructors, etc.
Viewing 2241 - 2250 interview questions