How to perform data driven testing in cucumber using a xml file
I am working on selenium cucumber where i want to perform data driven testing in cucumber using xml file. Means i want keep all test data for my all scripts in xml file & want to read that test data, execute feature file, step definitions using that.
I have done some work on that i have created a xmlParser class which read all test data from xml file but, not able to pass that test data to cucumber feature & to step definition file.
I have tried a lot but, haven’t got any solution on that.could any one help me on this & suggest how can i pass that test data to feature file & step definition.