Selenium Testing Interview Questions and Answers

Selenium Testing Interview Questions and Answers

Selenium is a set of different software tools each with a different approach to supporting test automation. Most Selenium QA Engineers focus on the one or two tools that most meet the needs of their project, however learning all the tools will give you many different options for approaching different test automation problems. The entire suite of tools results in a rich set of testing functions specifically geared to the needs of testing of web applications of all types. These operations are highly flexible, allowing many options for locating UI elements and comparing expected test results against actual application behavior. One of Selenium’s key features is the support for executing one’s tests on multiple browser platforms.

Selenium is a portable software-testing framework for web applications. Selenium provides a playback (formerly also recording) tool for authoring tests without the need to learn a test scripting language (Selenium IDE). It also provides a test domain-specific language (Selenese) to write tests in a number of popular programming languages, including C#, Groovy, Java, Perl, PHP, Python, Ruby and Scala. The tests can then run against most modern web browsers. Selenium deploys on Windows, Linux, and macOS platforms. It is open-source software, released under the Apache 2.0 license: web developers can download and use it without charge.

What is automation testing?

What's the difference between Automated Testing and Manual Testing?

What are the benefits of Automation testing?

What is selenium testing?

Why Selenium?

What are the main components of Selenium testing tools?

Explain Selenium IDE and selenium RC, and Selenium Web driver and Selenium Grid?

What are the testing types that can be supported by Selenium?

What is explicit wait in Selenium WebDriver?

What are the different types of locators in Selenium?

What is same origin policy and how it can be handled?

What is the difference between “/” and “//” in Xpath?
What is XPath and what Is use of It in WebDriver?

How to type in a textbox using Selenium?

What is the difference between absolute XPath and relative XPath?

In which format does source view shows your script in Selenium IDE?

How you can insert a start point in Selenium IDE?

How to execute only the failed test case in selenium?

How you can capture server side log Selenium Server?

How to run the test on multiple browsers?

How to create a Screenshot of failed Test case?

How to configure Selenium Grid?

What is Robot class?

What is Selenese?
How can you find if an element in displayed on the screen?

What is exception test in Selenium?

Why and how will you use an Excel Sheet in your project?

When you use the excel sheet as data source?

What are the different types of waits available in WebDriver?

What are the Breakpoints and Start points in selenium?

Why to choose Python over Java in Selenium?

What is the difference between Assert and Verify?

What if you have written your own element locator and how would you test it?

What are core extension?

What are the two modes of views in Selenium IDE?

What are the different types of navigation commands?

How do you verify if the checkbox/radio is checked or not?

How do you handle alert pop-up?

To enter values onto text boxes what is the command that can be used?

Explain how you can capture server side log Selenium Server?

Other than the default port 4444 how you can run Selenium Server?

Using Selenium how can you handle network latency?

How do you achieve synchronization in WebDriver?

What is a Framework?

What are the prerequisites to run selenium web driver?

What is the use of getOptions () method?

What is the use of deSelectAll() method ?

Is WebElement an interface or a class?

FirefoxDriver is class or an interface and from where is it inherited?

Which is the super interface of webdriver?

What is the difference b/w close () and quit ()?

What is testing strategy?

What is actions class in WebDriver?

What are different components of your framework?

What is the difference between getWindowHandles () and getWindowHandle ()?

How can you redirect browsing from a browser through some proxy?

Can WebDriver test Mobile applications?

Can captcha be automated?

What is Object Repository? How can we create Object Repository in Selenium?

What is POM (Page Object Model)?

What is Page Factory?

My XPath finds elements in one browser, but not in others. Why is this?

Cross browser testing in selenium?

Where do we use hashmaps in selenium?

What is webdriver listener and TestNG Listener?

What is dependency test In TestNG?

What is the syntax to set test method disabled?

How to pass parameter with testng.xml file to use It In test case?

What is Ajax?

How to handle Ajax In selenium WebDriver?

Can you tell me the alternative driver.get() method to open URL In browser?

What is Object Repository?

What are the JUnits annotation linked with Selenium?

What is Data driven framework and Keyword driven?

How you can use “submit” a form using Selenium?

What is heightened privileges browsers?

Can we automate desktop application's testing using selenium WebDriver?

Can you tell me the alternative driver.get() method to open URL In browser?

Can you tell me a difference between driver.get() and driver.navigate() methods?

Is it possible to execute javascript directly during test execution? If yes then tell me how to generate alert by executing javascript in webdriver script?

What is Sikuli and AutoIT and difference between them?

What is browsermobproxy?

How to work with webtables in selenium?

What are Cookies how to create a cookie?