Selenium Automation Tester Interview Questions

38 selenium automation tester interview questions shared by candidates

Round 1--coding test 1. WAP to reverse the string 2. WAP to print duplicate elements in string ex. str="aabyzabcdde543672535". You have to check duplicate numbers as well as characters code should be generic. convert array to list 3. WAP to read notepad data and put it in excel file. 4. WAP to find max and min number in int array 5. WAP selenium java code to read properties from properties file and excel file. 6. WAP to take screenshot in Selenium java 7. WAP to print star pattern *******' **** ** *
avatar

Selenium Automation Tester

Interviewed at Capgemini

4.1
Feb 2, 2020

Round 1--coding test 1. WAP to reverse the string 2. WAP to print duplicate elements in string ex. str="aabyzabcdde543672535". You have to check duplicate numbers as well as characters code should be generic. convert array to list 3. WAP to read notepad data and put it in excel file. 4. WAP to find max and min number in int array 5. WAP selenium java code to read properties from properties file and excel file. 6. WAP to take screenshot in Selenium java 7. WAP to print star pattern *******' **** ** *

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
avatar

Selenium Automation Tester

Interviewed at Capgemini

4.1
Feb 2, 2020

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

Viewing 21 - 30 interview questions

Glassdoor has 38 interview questions and reports from Selenium automation tester interviews. Prepare for your interview. Get hired. Love your job.