Introducing Selenium

Selenium has been widely accepted by the IT companies since it is an open-source tool and easy to learn. We will be introducing Selenium in this article deeply.

What is Selenium?

Selenium is primarily used for automating web-based applications. 

Selenium's tool suite - 

  1. Selenium IDE
  2. Selenium RC
  3. Selenium WebDriver
  4. Selenium Grid

Selenium IDE -

IDE stands for the Integrated development environment. Selenium IDE is basically a Firefox and Chrome plugin used to build test scripts. Its interface is user-friendly.  Primarily feature of Selenium IDE is to record user actions performed in the browser. Later it can be played back to record the behaviour of the application for testing purpose.

Selenium RC -


RC here stands for Remote Control. We need to have a dedicated Standalone server in order to work with Selenium RC. The script can be written in different languages in the editor. Refer to the architecture of Selenium RC shown above.

Selenium WebDriver -


Selenium Remote Control is officially depreciated and Selenium Webdriver is the successor of Selenium RC. It provides awesome features, including an Object-oriented API. Selenium WebDriver creates robust, browser-based regression automation suites and tests. 

  • WebDriver is used to automate different web browsers.
  • Compatible with different languages - Java, .Net, PHP, Python, Perl, Ruby, etc.
  • Selenium web driver is faster than Selenium RC because of simple arhitecture
  • Selenium RC needed the help of the RC server in order to interact with the browser.

Selenium Grid - 


Selenium Grid allows you to run your tests on different machines against different browsers in parallel. That is, running multiple tests at the same time against different machines running different browsers and operating systems. Selenium Grid supports distributed test execution. Selenium Grid can save your time significantly by running your tests in different machines in quick succession.

Recently Selenium WebDriver came up with version 4 in the market and introduced few new relative locators -

  • toRightOf()
  • toLeftOf()
  • above()
  • below()
  • near()



Hope the above article is useful if you want to learn about the pros and cons of Selenium web driver discussed in another article.
































































































































































Comments

Popular posts from this blog

Azure Tutorials Series - Azure Networking

Coforge Interview Questions | Automation Testing profile

Testing in CI/CD