Selenium InterView Questions

Q #1) What is Automation Testing?

Q #2) What are the benefits of Automation Testing?

Q #3) Why should Selenium be selected as a test tool?

Q #4) What is Selenium? What are the different Selenium components?

Q #5) What are the testing types that can be supported by Selenium?

Q #6) What are the limitations of Selenium?

Q #7) What is the difference between Selenium IDE, Selenium RC and WebDriver?

Q #8) When should I use Selenium IDE?

Q #9) What is Selenese?

Q #10) What are the different types of locators in Selenium?

Q #11) What is difference between assert and verify commands?

Q #12) What is an Xpath?

Q #13) What is the difference between “/” and “//” in Xpath?

Q #14) What is Same origin policy and how it can be handled?

Q #15) When should we use Selenium Grid?

Q #16) What do we mean by Selenium 1 and Selenium 2?

Q #17) Which is the latest Selenium tool?

Q #18) How do I launch the browser using WebDriver?

Q #19) What are the different types of Drivers available in WebDriver?

Q #20) What are the different types of waits available in WebDriver?

Q #21) How to type in a textbox using Selenium?

Q #22) How can you find if an element in displayed on the screen?

Q #23) How can we get a text of a web element?

Q #24) How to select value in a dropdown?

Q #25) What are the different types of navigation commands?

Q #26) How to click on a hyper link using linkText?

Q #27) How to handle frames and child window in wbedriver?

Q #28) When do we use findElement() and findElements()?

Q #29) How to find more than one web element in the list?

Q #30) What is the difference between driver.close() and driver.quit command?

Q #31) Can Selenium handle windows based pop up?

Q #32) How can we handle web based pop up?

Q #33) How can we handle windows based pop up?

Q #34) How to assert title of the web page?

Q #35) How to mouse hover on a web element using WebDriver?

Q #36) How to retrieve css properties of an element?

Q #37) How to capture screenshot in WebDriver?

Q #38) What is Junit?

Q #39) What are Junit annotations?

Q #40) What is TestNG and how is it better than Junit?

Q #41) How to set test case priority in TestNG?

Q #42) What is automation framework?

Q #43) What are the advantages of Automation framework?

Q #44) What are the different types of frameworks?

Q #45) How can I read test data from excels?

Q #46) What is the difference between POI and jxl jar?

Q #47) What is the difference between Selenium and QTP?

Q #48) Can WebDriver test Mobile applications?

Q #49) Can captcha be automated?

Q #50) What is Object Repository? How can we create Object Repository in Selenium?

Q #51 ) Explain what is assertion in Selenium and what are the types of assertion?

Q#52)  List out the technical challenges with Selenium?

Q#53) What is the difference between type keys and type commands ?

Q#54)  What is the difference between verify and assert commands?

Q#55) While using click command can you use screen coordinate?

Q#56) What are the advantages of Selenium?

Q#57 )What is the difference between setSpeed() and sleep() methods?

Q#58) Mention what is the difference between Implicit wait and Explicit wait?

Q#59) Which attribute you should consider throughout the script in frame for “if no frame Id as well as no frame name”?

Q#60) Explain what is the difference between find elements () and find element () ?

Q#61) Explain what is Datadriven framework and Keyword driven and hybrid framework?

Q#62) what is slenium Grid?

Q#63) Can we enter text without using sendKeys() ?

Q#64) How do you handle https website in selenium ?

Q#65) What is  Headless browser and when it is used ?

Q#66) What are different ways of finding element in web page using selenium?

Q#67) How do you send ENTER/TAB keys in WebDriver ?

Q#68) How we can perofrm mouse operation in selenium web driver like mousehover event?

Q#69) How to check all checkboxes in a page ?

Q#70) How will you handle dynamic elements ?