All You Need to Know About Selenium

 What is Selenium?

Selenium - Selenium is an open source versatile system used to automate testing of web applications. It is exceptionally adaptable with regards to testing functional and regression test cases. Selenium test scripts can be written in various programming dialects like Java, Python, C# and many more. These test scripts can stumble into different browsers like Chrome, Safari, Firefox, Opera and additionally offers help across different platforms like Windows, Mac OS, Linux, Solaris. Selenium likewise upholds cross perusing where the test cases stumble into different platforms simultaneously. It likewise helps in creating robust, browser-based regression automation suites and perform tests.


Selenium Set-up of Devices


  • Selenium IDE
  • Selenium RC
  • Selenium WebDriver
  • Selenium Framework


Selenium IDE

IDE (Integrated Development Environment) is a Firefox plugin. It is perhaps of the most straightforward framework in the Selenium Suite. It permits us to record and playback the contents. Assuming that you wish to make scripts utilizing Selenium IDE, you want to utilize Selenium RC or Selenium WebDriver to compose more high level and vigorous experiments.


Selenium RC

Selenium RC, otherwise called Selenium 1, was the primary Selenium project for quite a while before the WebDriver merge raised Selenium 2. It mainly relies on JavaScript for automation. It upholds Ruby, PHP, Python, Perl and C#, Java, Javascript. It upholds pretty much every program out there.


Selenium WebDriver

Selenium WebDriver is a browser robotization system that accepts commands and sends them to a browser. It is executed through a browser-specific driver. It straightforwardly communicates with the browser and controls it. Selenium WebDriver upholds different programming languages like - Java, C#, PHP, Python, Perl, Ruby. and Javascript.


Selenium Grid

Selenium Grid is a device which is utilized along with Selenium RC. Running tests on different machines against different browsers in parallel is utilized. Which suggests - running various tests simultaneously against different machines running different browsers and operating systems.

So this was about the Selenium Suite of Instruments. We should plunge further into this article and gain proficiency with the functionalities and various components of Selenium WebDriver Architecture.


Selenium WebDriver Architecture

In order to understand Selenium WebDriver Architecture, we ought to initially realize what is a WebDriver API. Selenium Webdriver API helps in correspondence among dialects and programs. Every single program has different logic of performing actions on the program.


  • Selenium Client Library
  • JSON WIRE PROTOCOL Over HTTP Client
  • Browser Drivers
  • Browsers


1. Selenium Client Libraries/Language Bindings

Selenium Developers have developed language bindings to allow Selenium to help multiple languages. On the off chance that you wish to find out about libraries, mercifully allude to the official site for Selenium libraries.


2. JSON WIRE PROTOCOL Over HTTP Client

JSON stands for JavaScript Object Notation. Moving data between a server and a client on the web is utilized. JSON Wire Protocol is a REST API that transfers the information between HTTP server. Each BrowserDriver (such as FirefoxDriver, ChromeDriver, etc.) has its own HTTP server.


3. Browser Drivers

Each browser contains a separate browser driver. Browser drivers communicate with the individual browser without revealing the internal rationale of the browser's functionality. At the point when a browser driver has gotten any command then that command will be executed on the particular browser and the response will return as a HTTP response.


4. Browsers

Selenium supports multiple browsers such as Firefox, Chrome, IE, Safari, etc.


If you are willing to learn a selenium course, Ready to get started today? selenium training in chennai





















Comments

Popular posts from this blog

Everything you need to know about python

What Is Software Testing? All the Basics You Need to Know