kunalmalviya
9 years agoOccasional Contributor
Execute test cases from excel based on Yes/No flag?
First step in my test cases is a excel data source which has different combination of parameters that get supplied to my REST request. I want to execute my test only for those rows which are marked a...
- 9 years ago
Add a groovy script after DataSource
Right click > Get Data> DataSource > Execute
if (valueOfExecute == 'Yes'){
testRunner.gotoStepByName(
"next step name"
)
}
else
{
testRunner.gotoStepByName(
"DataSource Loop"
)
}
Thanks