Forum Discussion

zareen's avatar
zareen
New Contributor
6 years ago

How to run test cases for selected rows in datasource

For each test in a test suite, i have multiple rows. But now i want to build a feature that will allow me to select the desired iterations ( Ex: run only for row 1,2,& 4) during run time and not run ...
  • avidCoder's avatar
    6 years ago

    In datasource hopefully you are using excel sheet. And in that case add one column named ExecutionFlag in the sheet. And set it as Y or N. Based on that write 2-3 lines o java/groovy code using if-else statement to manipulate this.