Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

What is Selenium?

Answer»

Selenium is an open-source (free) automated testing framework for validating web applications across multiple browsers and platforms. Selenium Test Scripts can be written in a variety of programming LANGUAGES, including Java, C#, Python, and others. Selenium Testing is the term for testing done using the Selenium testing tool.

Selenium Software is a collection of tools, each of which caters to a specific organization's Selenium QA testing requirements. The following is a list of tools incorporated within Selenium:

Selenium Integrated Development Environment (IDE)

  • Selenium Remote Control (RC)
  • Selenium WebDriver
  • Selenium Grid

Jason Huggins was the one to invent Selenium in 2004. He was working as an engineer at ThoughtWorks on a web application that required frequent testing. He designed a JavaScript program that would automatically control the browser's BEHAVIOUR after seeing that the repetitive Manual Testing of their application was getting increasingly inefficient. This application was given the name "JavaScriptTestRunner" by him. He released JavaScriptRunner open-source, later renamed Selenium Core, after seeing promise in the notion to assist automate other online applications.

The Origin of Selenium Remote Control (Selenium RC):

Due to the limits imposed by the same-origin POLICY, Selenium Core testers had to install the entire application under test as well as the webserver on their own local PCs. So Paul Hammant, another ThoughtWorks engineer, decided to build a server that will function as an HTTP proxy, fooling the browser into thinking Selenium Core and the web application being tested are from the same domain. The Selenium Remote Control, or Selenium 1, was the name given to this system.

Selenium Grid's Inception:

Patrick Lightbody created Selenium Grid to answer the need to reduce test execution times as much as feasible. He dubbed the system "Hosted QA" at first. It was capable of taking browser screenshots during key stages, which can later be analysed, as well as transmitting Selenium commands to several machines at the same TIME.

The Origin of Selenium IDE:

Selenium IDE is a Firefox extension built by Shinya Kasatani of Japan that can automate the browser using a record-and-playback function. He came up with this concept to speed up the process of building test cases even further. In 2006, he gave the Selenium IDE to the Selenium Project.

The Origin of WebDriver:

WebDriver was designed by Simon Stewart in 2006, at a time when browsers and web applications were getting more capable while also becoming more restrictive, thanks to JavaScript tools like Selenium Core. It was the first cross-platform testing framework to allow OS-level control of the browser.

In this article, we have covered the most frequently asked interview questions on Selenium using Java as the programming LANGUAGE. If you are appearing for a Selenium interview, you can expect questions from automated testing and Java as well.