Cucumber data table is one of the most commonly used methods for passing test data from feature files to your test scripts. In our previous article, you saw how we can pass string and numeric data from feature files, which Cucumber simply treats as variables. With Cucumber data tables, you can pass parameters from feature […]
Cucumber
Practical examples of Cucumber data driven testing
This article is an extension of our previous one on how to pass a single string parameter in Cucumber. In the previous article, we were more focused on how to create a very basic cucumber data driven test script. In this article, we will go a step further and show you various examples of the […]
Download Cucumber and Selenium JARs
Welcome to the next article in our Cucumber tutorial series. In this article, you will learn how to download Cucumber jar files. This article will also show the steps on how to download Selenium Webdriver jars as well. Before we start with the download process, let us first have a look at why we need […]
How to add a basic Cucumber data driven test
Welcome to our mini tutorial series on Cucumber data driven testing. In this mini tutorial, you will learn about all the different ways using which you can write Cucumber data driven tests. What is Cucumber data driven testing? First things first. What do we mean by data driven testing in Cucumber? In very simple terms, […]
Practical usage of @Before and @After Cucumber Hooks
I started my automation testing journey with QTP 9.0 in 2009, and one thing that I always found very good in QTP 9.0 and all its future versions was its reporting mechanism. I particularly liked the object level reporting facility, using which we can report out step by step the object level interactions. For example, […]
Add Selenium code in Step Definition class
Welcome to the final article in part 1 of our Cucumber Tutorial series. In the previous article, you learnt how to create a step definition class. In that article, we didn’t add any Selenium code to the class. Due to this, the script didn’t perform any actions on any website (something that your selenium tests […]