Member-only story

Selenium vs Cucumber: Core Differences

Kristijan
5 min readDec 12, 2022

--

Testing is very important when it comes to software development. It not only helps you ensure that the code you develop is working correctly, but also that it did not break the existing code. If you are working on web applications, you probably have already heard of Selenium and Cucumber. Both are quite popular solutions. But what is their purpose? How do they fit together and which one to choose?

This guide highlights the core differences between Selenium and Cucumber.

What is Selenium

Selenium is an automation tool for testing web applications. Very clear, right? Or just a generic sentence that raises more questions than answers?

Let us look at a scenario.

You develop a web application. Once you are done, you want to test it. So you will open it in Chrome. Click the Menu icon, and click around to ensure that everything is working as intended. But not everyone uses Chrome, and now you need to repeat everything in Safari and Firefox and every other browser and device the user uses. This is quite cumbersome. The load keeps increasing as you get deeper into the browser matrix.

Any small change that you make to your application also has to be tested on all these browsers. Thus pushing any QA into the rabbit hole.

--

--

No responses yet