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,… Continue reading Practical usage of @Before and @After Cucumber Hooks
Author: anish
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… Continue reading Add Selenium code in Step Definition class
How to create Cucumber Step Definition class
This article is a continuation of our previous one, where you learnt how to create a cucumber test runner class. In this article, you will see how to create cucumber step definition class. After you create this class, you will also add the step definition methods to it. Before we start creating step definition class,… Continue reading How to create Cucumber Step Definition class
Create Cucumber Test Runner class
In our previous article in Cucumber tutorial series, we showed you how to add your first feature file in Eclipse project. In this article, we will go one step forward and show you how to run this feature file. With a cucumber-based framework, you cannot run a feature file on its own. You will need… Continue reading Create Cucumber Test Runner class
How to add Cucumber feature file in eclipse project
Starting with this article in our Cucumber testing series, you will begin to work on core cucumber concepts. In this article, you will first see how to add a cucumber feature file to your eclipse project. After that, you will learn about some of the salient features of cucumber feature files. Before starting, let’s first… Continue reading How to add Cucumber feature file in eclipse project
Create new Cucumber Eclipse project
This is a continuation of our previous article on cucumber, where we provided information on how to download Cucumber and Selenium jar files. In this article, we will go a step forward and show you how to setup a cucumber eclipse project from scratch. We will then also add all these jar files to this… Continue reading Create new Cucumber Eclipse project