What is Selenium?
Selenium is an open source test suite which is used for automation testing of web applications across different browsers and platforms. Test automation means using a software tool to run repeatable tests against the application to be tested. Selenium focuses on automating web-based applications.
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)
- Selenium Grid
Selenium Integrated Development Environment (IDE)
Selenium IDE is the simplest tool in the Selenium suite. It is a Firefox and Chrome extension that creates tests very quickly through its record and play functionality. The user’s interactions with the web browser are recorded and test cases are created based on these recordings. You can play back these steps repeatedly.
Because of its simplicity, Selenium IDE should only be used as a prototyping tool, not an overall solution for developing and maintaining complex test suites.
Selenium Remote Control (RC)
Selenium WebDriver was created as the replacement for Selenium RC. Unlike IDE and RC, Selenium WebDriver provides an interface for creating and executing test cases. These test cases are created in such a way that, web page elements can be easily identified and necessary actions are performed.
- Chrome Driver (For Google Chrome)
- Gecko Driver (For Firefox)
- Safari Driver (For Safari)
- IE Driver (For Internet Explorer)
- Opera Driver (For Opera)
- HTML Unit Driver (Headless Browser)
Selenium Grid is a part of the Selenium Suite that specializes in running multiple tests across different browsers, operating systems, and machines in parallel. Selenium Grid uses a hub-node concept where you only run the test on a single machine called a hub, which controls the test cases running on different browsers inside different operating systems, but the execution will be done by different machines called nodes.
Here comes the end of the basic introduction of Selenium QA tool and its components.
Selenium Official Documentation