Skip to main content

Posts

Showing posts from December, 2022

How to get data from excel sheet based on scenario name in Katalon

How to get data from an Excel sheet based on the Cucumber feature file scenario name in Katalon Studio    For my project, I created some methods to read data from an Excel sheet   based on my cucumber scenario . It is 100% working. By default, Katalon Studio doesn't have any method to get data from an Excel sheet based on the scenario name. So, in this post, I am going to explain how I did it.   Let's get straight into the coding! Create Excel file:         Create an Excel sheet with the column name "Scenario name." Keep this Excel sheet inside your project. Then add it to the data files.             For ex: Create Property file:           Create a property file. In that property file, keep your Excel sheet name like you did in the below image. This is one of the best ways to reduce maintenance work by keeping everythin...