lundi 11 janvier 2021

How to give multiple data as input in the same feature file in Specflow

I have a form in the application that needs to be filled with data like creating an employee. Details like Employee code, name, address, bank details needs to be filled. I have created a single feature file with 4 scenarios. Scenario 01: Employee personal details, Scenario 02: Employee Address Scenario 3: Bank Details etc.. How do I pass data for 5-10 employees as the fields are same. The problem is there are 15-20 fields that needs to filled while creating. I tried with Example keyword and the row length is increasing also becoming difficult to scroll and search. Is there a alternative way I can give them as input? I have a doubt if we can give 4 example files for each of the scenario? Please help with a best way. [enter image description here][1]

Specflow Example Image: https://i.stack.imgur.com/pYHFG.png

Aucun commentaire:

Enregistrer un commentaire