Article

What is Selenium? Getting started with Selenium Automation Testing

Topic: Continuing EducationPublished August 5, 2019
No ratings yet585 viewsSign in to rate
Selenium Automation Testing has turned out to be extremely prominent among analyzers in view of the different points of interest it offers. When we talk about automation testing,the first thing that often comes to our mind is our favorite automation testing tool. However,it won the hearts of many testers and developers with its simplicity,availability, and ease of use.With its advent on 2004, Selenium made the life of automation testers easier and is now a favorite tool for many automation testers.So,without further delay,let's get to know what is Selenium and how it helps in automation testing.rnWhat is Selenium? Selenium was invented with the introduction of a basic tool named as "JavaScripttestRunner",by Jason Huggins at ThoughtWorks to test their internal Time and Expenses application.Now it has gained popularity among software testers and developers as an open source portable automation testing framework.It has the capability to automate browsers with specific browser bindings for automating web applications for testing purposes.It is a suite of four tools designed for different purposes.Let's get to know about Selenium in detail and the different tool that it offers.rnSelenium Suite of toolsrn It has 4 major components with a different approach for automation testing which is popular as the Selenium suite of tools.Every software tester or developer choose tools out of it depending upon the testing requirement for the organization.rnSelenium RC (Remote Control) Selenium Core was the first tool in Suite of tools.However, it was deprecated as it had some issues related to cross-domain testing because of same origin policy.So,to overcome that Selenium Remote Control (Selenium RC) Was introduces after Selenium core.RC turned out as an aid to the cross-domain issue.RC has an HTTP proxy server which helps in befooling the browser into believing that both the Selenium core and Web app which is being tested are from the same domain hence removing the cross-domain issue.rnSelenium RC is separated into two sections which help in conquering the cross-area issue. 1)Selenium Remote Server 2)Selenium Remote Clientrn But the major issue with RC was time taken to execute a test.As Selenium server communicates using HTTP requests,it was more time-consuming.Because of this limitation RC also is now not much in use.rnSelenium IDErn Selenium IDE,earlier known as Selenium recorder,is a tool used to record,edit,debug and replay functional tests.Selenium IDE is implemented as an extension to the Chrome browser and add-on in Firefox browser.With Selenium IDE plugin,you can record and export tests in any of the supported programming languages like Ruby,Java,PHP,Javascript etc.rnSelenium Gridrn selenium Grid is based on Hub-node architecture.With Selenium Grid,you can run parallel test sessions across different browsers.Hub controls Selenium scripts running on different nodes (specific browser inside on OS) and test scripts running on different nodes can be written in any programming language. Selenium Grid was used with RC to test multiple tests on remote machines.Nowadays,as people find Webdriver better than RC,hence Grid works with both Webdriver and RC.rnSelenium Webdriverrn Selenium Webdriver is an enhanced version of Selenium Rc and the most tool.It accepts commands via client API and sends them to browsers.Simply put,Selenium Webdriver is a browser specific driver which helps in accessing and launching the different browsers.It provides an interface to write and run automation scripts.Every browser has different drivers to run tests. *Mozilla Firefox uses Firefox Driver (Gecko Driver) *Google Chrome uses Chrome Driverrn*Internet Explorer uses Internet Explorer DriverrnOpera uses Opera DriverrnSafari uses Safari Driver andrnHTM Unit Driver used to simulate browsers using headless browser HtmlUnitrnSelenium Client APIrn It is the most recent device in the Suite of tools.With Selenium Client API you can compose test contents in different programming dialects as opposed to composing test contents in Selenese.Sellenium customer API is accessible for Java,JavaScript,C#,Ruby, and Python.These contents can speak with Selenium with predefined directions and elements of Client API. Why Selenium for Automation Testing ? Since we are now familier with Selenium and its suite of tools,let's find out the various benefits of Selenium which make it stand from the crowd as a tool for automation testing : rn1)rnOpen Source Tool : Since it is an open source tool,it does not require any licensing costs which give it an upper hand over other automation testing tools. 2)Tool for Every need : As mentioned earlier,Selenium has a suite of tools,so it suits every need of the users.You can use various tools like WebDriver,Grid,IDE for fulfilling your different needs. rn3)rnSupports all major languages : The major challenge that a tester or developer face with an automation testing tool is the support for languages.Since selenium supports all major languages like Java,Javascript,Python,Ruby,C,sharp,Perl, .Net and PHP, it is easier for testers to use.rn4) Browser and Operating System support :Selenium supports different browsers like chrome,Forefox,OPera,Internet Explorer,Edge and Safari and different operating systems like Windows,Linux,Mac.This makes it flexible to use.rn5)rnCommunity Support : Selenium has an active open community which helps you solve your issues and queries related to it.This makes it the best choice as your automation testing tool.

Further reading

Further Reading

4 total

Article

Residential painting is a skilled trade that offers stable employment, creative satisfaction, and opportunities for career growth. Enrolling in formal painting training equips learners with essential technical knowledge, safety practices, and professional standards required in the construction and renovation industry. While some may question whether structured courses are necessary compared to learning on the job, investing time and money in accredited training can provide ta

January 7, 2026

Article

To get a marketing degree online while working, you need to enroll yourself in an online university which runs marketing programs. For working professionals, there are lots of options available in terms of marketing degrees. You can earn Associate degree in marketing, Bachelor degree in marketing and Master degree in marketing. Whatever degree program you choose, keep in mind that your focus should be on attaining your career objective through this degree. Benefits of Online

November 14, 2025

Article

Yes, 100% it is worth learning Salesforce in 2025! The tremendous growth of Salesforce, combined with the rising demand for AI agents and automation, is creating huge job opportunities worldwide, especially in India and the USA. Many businesses are investing in Salesforce development to improve customer experiences, automate workflows, and integrate AI-powered solutions. If you want to build a career in Salesforce, the best path is to learn Salesforce Admin first, then move

February 2, 2025

Article

Introduction Microsoft software products, such as Windows operating systems and Office suites, are essential tools for both personal and professional users. However, their high cost sometimes pushes users to seek unofficial activation methods, with KMSpico being one of the most popular tools. This article delves into what KMSPico is, how it works, its risks, legality, and alternative solutions. What is KMSPico? KMSPico is an unofficial third-party tool designed to activate Wi

February 1, 2025