Selenium Tutorials

What is Selenium?

Selenium is an open source automated testing suite for web applications across different browsers and platforms. It is quite similar to QTP/UFT but Selenium focuses on automating web-based applications.

It has four components:

  • Selenium Integrated Development Environment (IDE)
  • Selenium Remote Control (RC)
  • WebDriver
  • Selenium Grid

 

What is Selenium IDE

Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin that you can install as easily as you can with other plugins. However, because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to WebDriver.

 

Selenium WebDriver

The WebDriver proves itself to be better than both Selenium IDE and Selenium RC in many aspects. It implements a more modern and stable approach in automating the browser’s actions. WebDriver, unlike Selenium RC, does not rely on JavaScript for Automation. It controls the browser by directly communicating with it.

 

The supported languages are:

 

  • Java
  • C#
  • PHP
  • Python
  • Perl
  • Ruby

Components of Selenium Selenium Tutorials

Selenium Grid

Selenium Grid is a tool used together with WebDriver to run parallel tests across different machines and different browsers all at the same time. Parallel execution means running multiple tests at once.

 

Features:

Enables simultaneous running of tests in multiple browsers and environments.

Saves time enormously.

Utilizes the hub-and-nodes concept. The hub acts as a central source of Selenium commands to each node connected to it.

 

Install Selenium IDE for Firefox

Download Firefox from the following link:

Selenium IDE works on all major version of Firefox browser but most experts recommend Firefox 47.0.1 which can be downloaded from the following link:

https://ftp.mozilla.org/pub/firefox/releases/47.0.1/win64/en-US/

 

  1. Launch Firefox and navigate to https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/
  2. Click on Add to Firefox
  3. Click on Install button and then “restart now” browser when prompts

 

After Firefox has restarted, launch Selenium IDE using either of two ways:

  1. By pressing Ctrl+Alt+S
  2. By clicking on the Firefox menu button> Developer>Selenium IDE

 

Basics on Selenium Install Selenium IDE and Record Scripts

 

Record and Edit Scripts in Selenium IDE Part1

Note:You don’t need to download Selenium server as I directed in this video.

Parallel automation testing using Selenium Webdriver, Selenium Grid and testNG

 Selenium Grid Hub and node Setup Procedure 

Running Selenium Code And Test Report Explained


Parallel Automation Client Server Setup Automating manheim Site Using Selenium Webdriver

Share and Enjoy

  • wp socializer sprite mask 32px Selenium Tutorials
  • wp socializer sprite mask 32px Selenium Tutorials
  • wp socializer sprite mask 32px Selenium Tutorials
  • wp socializer sprite mask 32px Selenium Tutorials
  • wp socializer sprite mask 32px Selenium Tutorials
  • wp socializer sprite mask 32px Selenium Tutorials
  • wp socializer sprite mask 32px Selenium Tutorials
  • wp socializer sprite mask 32px Selenium Tutorials
Email
Print