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)
- 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.
The supported languages are:
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.
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:
- Launch Firefox and navigate to https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/
- Click on Add to Firefox
- Click on Install button and then “restart now” browser when prompts
After Firefox has restarted, launch Selenium IDE using either of two ways:
- By pressing Ctrl+Alt+S
- 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