Josh_147
4 years agoContributor
Solved
How to get the current count of Data-Driven Loop by using script?
Hi all, I have a Data-Driven Loop and the data variable is a .csv file. Is there any way to know the current count number of the running Data-Driven Loop? The simplest way could be adding the...
- 4 years ago
Hi,
I am not sure that data-driven loop provides a loop counter, so either add a column to the datafile as you already suggested or implement a counter variable in your test code. (Exact implementation may depend on how data-driven loop is implemented in your case.)