Selenium is an open source automation framework used for automating web application on multiple browsers like Chrome, Firefox, IE, Opera on multiple platforms. Selenium is platform independent. By platform independent means we can run our scenarios on multiple platforms and on multiple browsers. We can use selenium for running functional, regression and sanity testing of our application.
Some key points about Selenium
- Selenium first came to life in 2004 when Jason Huggins was testing an internal application at ThoughtWorks.
- Selenium is not just a single tool but a suite of software's, each catering to different testing needs of an organization. It has four components: Selenium Integrated Development Environment (IDE), Selenium Remote Control (RC), WebDriver, Selenium Grid.
- Only testing of web applications is possible with Selenium. We can neither test any desktop (software) application nor test any mobile application using Selenium.
- Since Selenium is open-source, there is no licensing cost involved, which is a major advantage over other testing tools.
- Test scripts can be written in any of these programming languages: Java, Python, C#, PHP, Ruby, Perl & .Net
Tests can be carried out in any of these OS: Windows, Mac or Linux.
- Tests can be carried out using any browser: Mozilla Firefox, Internet Explorer, Google Chrome, Safari or Opera.
- It can be integrated with tools such as TestNG & JUnit for managing test cases and generating reports.
- It can be integrated with Maven, Jenkins & Docker to achieve Continuous Testing.
- In 2006, Simon Stewart, who is an engineer in Google started working on the project; WebDriver. It solved many problems that were meant with the Selenium. 2008 was the golden break for both Selenium and WebDriver.