SKoneru
12 years agoContributor
[Res]DataSource loop to continue with next record whn test f
Hi,
When data source loop is opted and we provide multiple rows, which means each row represents one unique data set. Noticed the test case fails and doesn't loop with the default test case option "Abort on Error"(this is true). If I uncheck this option then it executes all the data records even when the test case fails for any data set.
Now the scenario I am looking at is, each row(data set) in data source should be treated as a separate test case. So when "Abort on Error" is set to true then the further test steps should not be executed for that data set but the data loop should continue to fetch the next row.
Currently the test execution stops for the test case and doesn't continue with the next entry in data source loop.
How can I achieve this?
Thanks
When data source loop is opted and we provide multiple rows, which means each row represents one unique data set. Noticed the test case fails and doesn't loop with the default test case option "Abort on Error"(this is true). If I uncheck this option then it executes all the data records even when the test case fails for any data set.
Now the scenario I am looking at is, each row(data set) in data source should be treated as a separate test case. So when "Abort on Error" is set to true then the further test steps should not be executed for that data set but the data loop should continue to fetch the next row.
Currently the test execution stops for the test case and doesn't continue with the next entry in data source loop.
How can I achieve this?
Thanks