Forum Discussion

abolourian's avatar
abolourian
Occasional Contributor
15 years ago

DataSource Loop fails to execute all rows

I've seen similar questions is the forum but couldn't find a response. I have a DataSource Loop which I expect to run for all rows in my CSV file and execute a request. However it fails as soon as one row in the loop fails. I unchecked "Fail on error" and "Fail TestCase if it has failed TestSteps". Please advise on how I can make DataSource loop continue executing all rows regardless of assertion failure in one or more rows.

Thanks,
Ali B

1 Reply

  • abolourian's avatar
    abolourian
    Occasional Contributor
    For users who may have similar problem, I found the issue. DataSource Loop's position is very important in test steps. As soon as I put DataSource Loop as last step, it started looping through all rows.