Selenium is not only a specific method, but a suite of tools that supports automation research for various approaches. This contains four main components including:
Selenium IDE is implemented as an extension to Firefox which offers audio and playback functionality on test scripts. This allows developers to distribute written scripts in a range of languages, including HTML , java, Ruby, RSpec, Python, C #, JUnit and TestNG. Such exported scripts can be used in Selenium RC or Webdriver.
Selenium IDE is of limited reach, and the test scripts produced are not very robust and portable.
Selenium RC (officially deprecated by selenium) enables testers to write automated web application UI testing in all of the programming languages which are supported. It also provides an HTTP proxy server that enables the user to assume that the web application being checked originates from the proxy service domain offered.
Selenium RC comes with two components.
Selenium RC was found to be very successful in evaluating complicated Web user interfaces based on AJAX within a Continuous Integration System.
Selenium WebDriver (Selenium 2) is the successor to Selenium RC and is by far the most important component of Selenium Suite. SeleniumWebDriverprovides a programming interface to create and execute test cases. Test scripts are written to define specific objects on web sites, and the required behavior on such items are then performed.
Selenium WebDriver is much faster than Selenium RC, as it makes direct calls to the web browsers. On the other side, RC requires an interface server with the web browser.
Since WebDriver calls the different browser methods directly, we have separate motorists for each app. Some of the site drivers that are used the most include:
Selenium Grid is also an important component of Selenium Suite which allows us to run our tests against different browsers in parallel on different machines. In basic terms, we will run our experiments on various machines running specific browsers and operating systems simultaneously.
For allow simultaneous execution of check scripts, selenium grid implements the Hub-Node Architecture. The Hub is considered network master, and the other nodes will be. Hub controls the execution of check scripts on various network nodes.