We are talking about the dream of building a successful career in Automation Testing, about the dream of being able to understand and master at least one Automation tool in international market. And for those of you who are dreaming on similar lines or are looking forward to it, would be excited to know that the dream of Automation Testing is free!!!
Yes, we are talking about the open-source Automation Testing tool namely Selenium.
Selenium for Automation Testing
The set of tools for Automation Testing via Selenium are:
- Selenium IDE
- Selenium WebDriver
- Selenium Standalone Server
- Selenium Client API
The simplest Automation Testing tool – Firefox browser has an add-on for recording and playing back Selenium scripts on Firefox.This add-on enables user to record the various actions it performs on the application using Firefox browser.
An important thing to note here is that Selenium IDE is only supported on Firefox and no other browsers. However, the recorded script generated on Firefox can be converted into any other programming language and can be run on other browsers for Automation Testing.
Scripts may be automatically recorded and edited manually providing auto-completion support and the ability to move commands around quickly. Scripts are recorded in Selenese, a special test scripting language for Selenium. Selenese provides commands for performing actions in a browser (click a link, select an option), and for retrieving data from the resulting pages.
Selenium provides a programming interface for developing advanced Selenium scripts for Automation Testing using different programming languages. It also provides the feature of running scripts on multiple Browsers.
Selenium Standalone Server/Grid
Selenium provides the feature of running scripts remotely and in a distributed manner using the Selenium Standalone Server.
It also has the Grid feature using which we can run automation tests in parallel and on mobile platforms as well. Selenium Grid is a server that allows tests to use web browser instances running on remote machines.
With Selenium Grid, one server acts as the hub. Tests contact the hub to obtain access to browser instances. The hub has a list of servers that provide access to browser instances (WebDriver nodes), and lets tests use these instances. Selenium Grid allows running Test Automation in parallel on multiple machines, and to manage different browser versions and browser configurations centrally (instead of in each individual test).
Selenium client API
As an alternative to writing tests in Selenese, tests can also be written in various programming languages. These tests then communicate with Selenium by calling methods in the Selenium Client API. Selenium currently provides client APIs for Java, C#, Ruby and Python.
Try and learn one or two Automation Testing tools that mostly meet the needs of your project, however learning all the tools will give you many different options for approaching different Automation Testing problems. The entire suite of tools results in a rich set of testing functions specifically geared to the needs of testing of web applications of all types.