Zeksta Tech Talks Ep 1 – Selenium Webdrive

In this episode, the host (Shivani) talks about Selenium Webdrive, its benefits and more.

Here’s the transcript of the video

Slide 1:

Agenda

  • What is a selenium web driver?
  • Its history?
  • What are the advantages of selenium webdriver?
  • How do selenium tools grow?
  • What are the languages supported by selenium webdriver?
  • What are the features and components of the selenium webdriver?
  • How to install the selenium webdriver in our system?

Slide 2

History

Selenium was originally developed by Jason Huggins in 2004 as an Internal tool at “Thought works”. In the same year, Jason Huggins along with Paul Hammant developed Selenium Remote control. This is the first version of the Selenium tool. Selenium tool was open sourced that year In 2005, Dan Fabulich and Nelson Sproul contributed to the development of Selenium RC. In 2008, Simon Stewart developed a Selenium webdriver whose response is much superior compared to Selenium RC. In the same year, Philip Hanrigou developed the Selenium Grid. This is the history of Selenium Webdriver and its development.

Slide 3

Selenium Webdriver

Selenium is a free and open-source tool that is used for automating tests carried out on web browsers. It can work on different browsers like firefox, chrome, Internet Explorer, etc and also on different operating systems such as Windows, Mac, Linux.

Slide 4

Advantage Selenium Webdriver

It is easy to automate testing across web applications. It supports many languages. Easy to implement test cases. Support various OS and browsers.

Slide 5

Languages it supports

Selenium Webdriver supports 12 languages

  1. Java
  2. C#
  3. Python
  4. Ruby
  5. Perl
  6. PHP
  7. Hasket
  8. TCL
  9. Java Script
  10. Objective-c
  11. R
  12. Dart

Slide 6

Features

These are the notable features of Selenium Webdriver. Selenium Webdriver is a Cloud based testing platform which allows testers to record action and reuse script for another task. Since Selenium Webdriver support many languages, you can write test scripts in different languages. It also supports parallel execution, reducing the time and increasing the frequency of testing. Compared to other automation testing tools, Selenium Webdriver requires fewer resources. It doesn’t need external server installation. In this case the test script directly interacts with the test browser.

Slide 7

Components

The Selenium is divided into 4 components. Selenium IDE – Selenium IDE is a complete integrated development environment (IDE) for Selenium tests. It was previously known as Selenium Recorder. It allows for recording, editing and debugging of functional tests. Selenium RC – Selenium Remote Control (RC) is a server, written in Java, that accepts commands for the browser via HTTP. RC makes it possible to write automated tests for a web application in any programming language, which allows for better integration of Selenium in existing unit test frameworks. Selenium WebDriver is the successor to Selenium RC. Selenium WebDriver accepts commands and sends them to a browser. Selenium RC is the version 1. Selenium WebDriver is the version 2. Unlike in Selenium 1, where a Selenium server was necessary to run tests, Selenium WebDriver does not need a special server to execute tests. Selenium Grid – Selenium Grid allows running tests in parallel on multiple machines and to manage different browser versions and browser configurations centrally.

Slide 8

Demo

Write the script, open the browser, print the title and current URL, and close the browser.

Slide 9

Installation of Selenium webdriver

To install selenium webdriver in our system, two things are required Java installation Eclipse For selenium installation follow these steps

Step 1: Open a browser & Type selenium.org

Step 2: Download and install any language like java

Step 3: Download and install eclipse

Step 4: Download Selenium webdriver

 

For More Tech Talks Click here