DEV Community

50 Yuvashree S
50 Yuvashree S

Posted on

Selenium

What is Selenium:

       * Selenium is an open source testing tool used for web application testing.
       * It allow user to test their website on different browsers and operating systems.
       * Manual testing can be time consuming and human errors can occur whereas Selenium automation allows test to be executed quickly and accurately.
       * Selenium was developed by Jason Huggins in 2004.
       * Selenium supports various browsers like Chrome, Firefox, Safari, Internet Explorer.
       * It supports multiple programming languages like python, ruby, java, C#, PHP, Perl.
       * Selenium supports parallel test execution allowing multiple tests to run simultaneously.
Enter fullscreen mode Exit fullscreen mode

History of Selenium:

Image description

Selenium Components:

   1.Selenium IDE
   2.Selenium WebDriver
   3.Selenium Grid
Enter fullscreen mode Exit fullscreen mode

1.Selenium IDE:
* Selenium IDE is like a tool that records what we do in a website and plays them back as automated tests.
* It is a Chrome and Firefox plugin.
* It does not support testing for desktop applications.
* Programming skills is not much needed for Selenium IDE.

2.Selenium WebDriver:
* Selenium WebDriver directly communicates with browser.
* It allows user to create and run test cases across different browsers, programming languages and operating system.

3.Selenium Grid:
* Selenium grid enables tester to run tests across multiple machines. Its is used for parallel testing.
* It is properly used for cross browser testing and to test in different browsers, platforms, devices.

Use of Selenium for automation. Relevance of Selenium using python

     * Selenium is an automation tool and software testing tool for web application.
     * Selenium allows testers to automate web browsers, Mimicking user interactions like clicking buttons, navigating page, entering text etc.. 
     * It is an open source tool that is free to use.
     * Selenium allows testers to automate testing across different browsers like Chrome, Firefox, Safari, Edge which ca be used for testing 
     * It allows tests to be executed quickly and accurately reducing human errors.
     * It integrate with other testing frameworks.
     * Selenium supports many programming languages like python, ruby, java, C#.
     * Selenium runs tests on multiple machines , browsers simultaneously.
     * It works on operating systems like Windows, Linux, MacOS.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)