Getting Start With Selenium Testing

Samadhi Peiris
3 min readDec 31, 2020

One of the traditional ways of software testing is manual testing. It does not need the knowledge of any testing tool of applications and can test any program functionally.

The tester performs test cases manually against applications and compares the real findings with the expected results. Any distinctions between the two are known as faults and are set immediately. To guarantee an entirely error-free program, the checks are then re-run.

Manual testing has some drawbacks.

  • Time-consuming
  • High risk of error
  • Limited scope of testing
  • Requires manual creation of logs
  • Requires the presence of a tester 24/7

Given all the weaknesses, there was a need to automate the testing process. Now let us understand what selenium is.

Selenium

Manual research was considered repetitive and boring by Jason Huggins, an engineer at ThoughtWorks, Chicago. He created a JavaScript program, called JavaScriptTestRunner, to simplify the testing of a web application.

Initially, the workers at Thoughtworks deployed the latest invention. Nevertheless, in 2004, it was renamed as Selenium.

Selenium is one of the open-source portable framework which is used for automation testing for web applications. It is flexible when doing regression and functional test cases. Selenium test cases can write different languages like Java, Python, Ruby, C#, etc. All the test cases run across various web browsers like chrome, firefox, opera, etc. Support Windows, MAC, Linux OS platforms.

Selenium specializes in Web-based application automation but does not support desktop or mobile application automation. Testing conducted using the Selenium tool is referred to as Selenium Testing.

Selenium suite

Selenium suite has four components.

  1. Selenium Integrated Development Environment (IDE)
  2. Selenium Remote Control (RC)
  3. WebDriver
  4. Selenium Grid

Why Selenium becomes a widely used testing tool?

Selenium is easy to use because it’s basically developed using JavaScript. Selenium can test web applications against various browsers like Firefox, Chrome, Opera, and Safari. In many programming languages, such as Java, Python, Perl, PHP, and Ruby, samples can be coded.

Selenium is independent of the platform, which ensures it can be run on Windows, Linux, and Macintosh. Selenium can be integrated for test control with software such as JUnit and TestNG

Benefits of Selenium Testing

  • Selenium has shown to be accurate with results, making it highly reliable.
  • Anybody can learn testing without any cost.
  • Support various programming languages.
  • Easy to implement because don’t require in-depth knowledge of the tool.
  • Selenium can reusable and add-ons.

Limitation of Selenium Testing

  • Selenium doesn’t have a developer community and doesn’t have reliable tech support.
  • Offers limited support for image testing
  • Cannot test mobile or desktop applications.
  • Limites support to test management.
  • Need knowledge of programming languages to use Selenium.

Summary of Selenium Testing

I hope you get an idea of selenium test automation. Thank you.

--

--