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

I want to get the test data from excel sheet based on the cucumber scenario name.

This is my sample feature file.

This is my sample data file.

When I am running the feature file it should take the current running scenario and match it with the excel sheet’s scenario name then it should run with the data whichever row is matched.

In this scenario it should take email - and password - sampleone

Please advise…! Thanks in advance


I am not quite familiar with Cucumber BDD test but this article: Data-Driven Testing in Katalon and Cucumber is pretty clear. Hope it can help