Why SELENIUM?

Sangeethraaj A
Nerd For Tech
Published in
3 min readFeb 17, 2021

--

Introduction

Selenium is a free (open-source) automated testing framework used to validate web applications across different browsers and platforms. You can use multiple programming languages like Java, C#, Python etc. to create Selenium Test Scripts. Testing done using the Selenium tool is usually referred to as Selenium Testing.

What is Software Testing? Testing the software whether it is working according to the requirements.

Main Goal of Testing

  1. Expected result == Actual Result(Test Pass)
  2. Expected result != Actual Result(Test Fail)

Two types of testing:

  1. Manual Testing
  2. Automated Testing

Advantage of using Selenium

Using selenium it is easy test a web application without write testing scripts, the software comes with easy navigation tools that can write test cases without the need for any script by the tester and also there are many advantages of using selenium, which are listed below,

  1. Language and Framework Support
  2. Open Source Availability
  3. Multi-Browser Support
  4. Support Across Various Operating Systems
  5. Ease Of Implementation
  6. Reusability and Integrations
  7. Flexibility
  8. Parallel Test Execution and Faster Go-to-Market
  9. Less Hardware Usage
  10. Easy to Learn and Use
  11. Constant Updates
advantages of tool

Components of Selenium

Selenium is not a single tool but a suite of tools. It has four components

  1. Selenium Integrated Development Environment
  2. Selenium Web Driver
  3. Selenium Grid
  4. Selenium Remote Control (RC)

Selenium IDE

It is a simple record and playback kind of tool which comes as an add-on for Mozilla Firefox only but we can add extensions in other browsers as well. It is used for prototype testing. Test cases written in IDE can be exported in many programming languages like Ruby, Java, C#, etc. Edit and Debug options along with record are also available. It is an excellent tool for beginners to understand the syntax of Selenium WebDriver.

ide cons & pros

Selenium WebDriver

It is the most important tool of the Selenium suite. Because of many limitations with RC, WebDriver was developed. It does not require any manual process like Selenium Server. There is a direct communication between code and browser.

web driver cons & pros

Selenium RC:

Selenium RC (Remote Control) was the first tool of Selenium Suite. Earlier it was known as JavaScript Executor. RC was the tool which made Selenium famous in the market. It was the first tool which provided the support for multiple programming languages (JAVA, Ruby, Perl, PHP, Python, and C#). It also supported almost all the major vendors of Browsers like Mozilla Firefox, Google Chrome, Internet Explorer. All the browsers which support JavaScript can be automated using this tool. Selenium RC is also known as Selenium 1.

Selenium Grid:

It is the last component of the selenium suite and is used for parallel testing or distributive testing. It allows us to execute test scripts on different machines at same time. There is a Hub which controls the execution on various machines, and there are multiple nodes on which actual implementation is done.

Website : selenium.dev

--

--