Contributions
Re: Set up examples from external files
Thanks for your reply. Actually my question is about setting examples. The normal way we feed data for scenarios is to define a section called Examples, then list test data. However, I am looking for a method to feed the data from external files like csv or text. Hope I make myself clear.😁851Views0likes1CommentSet up examples from external files
Hi, I intend to read data from external files and set up Examples for scenarios, rather than defining examples in feature file. Is there any way to achieve it? Just notice that in the function of before scenario (@beforescenario), there is an object called scenario, and it has an attribute of Examples. I can't find any build-in methods to modify it, i.e. adding an example. Anyone can shed some lights on it? Thanks in advance!900Views1like5Comments