Introduction to Selenium:
- What is Selenium?
- Selenium Features
- Selenium IDE
- Selenium WebDriver
- Selenium RC
- Selenium Grid
- Selenium IDE vs. WebDriver vs. Grid
What is Selenium?
- Selenium is a very powerful automation testing tool for web applications.
- Any web based tasks can also be automated.
- Selenium is composed of following main components and each one has its own specific functionality.
- Selenium IDE
- Selenium RC
- Selenium WebDriver
- Selenium Grid
- Selenium will not able to automate desktop applications or windows applications but we can sikuli and AutoIT API to automate windows applications.
Selenium Features:
- Open source and free (All Selenium Components)
- Record & Playback feature (Selenium IDE)
- Can run tests on multiple browsers (Selenium RC and WebDriver)
- Can run tests on multiple operating systems (Selenium RC and WebDriver)
- Supports multiple languages (Selenium RC and WebDriver)
- Can use with a numbers of testing framework (Selenium RC and WebDriver)
- Distributed and parallel running of tests (Selenium Grid)
- Selenium automation is independent of the language in which you have developed your web application (All Selenium Components)
- Add your custom functionality by using user extensions (Selenium IDE)
- Customize/enhance source code to suite your requirements (All Selenium Components)
Selenium IDE vs. WebDriver vs. Grid
Functionality | IDE | WebDriver | Grid |
---|---|---|---|
Record and playback test cases | Supports | - | - |
Runs tests on multiple browsers | - | Supports | - |
Run tests on multiple operating systems | - | supports | - |
Perform complete Web automation | - | supports | - |
Distribute and parallel running of tests | - | - | supports |
Add your custom functionality | Supports | supports | supports |