Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98784

Enhanced Cucumber feature file scripts

$
0
0

I am new in Cucumber and want to write optime code for 50 test cases.Every test case has different examples (set of test data flags) and different one when, different one then steps.

How can I write optimize Feature for above 2 test cases as I have to write similar for 50 test case?

Feature : have to automate one api@tag1scenario outline : scenario outline1Given AWhen BWhen CThen DThen EExamples:|statusCode |payload||"200"      | "quantity:one;rollno:123;isStudent:true;isTeacher:true |  @tag2scenario outline : scenario outline2Given AWhen BWhen XThen DThen YExamples:|statusCode |payload||"200"      | "quantity:one;rollno:123;isStudent:false;isTeacher:false |

Viewing all articles
Browse latest Browse all 98784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>