Test data - excel binding, can we get the row number or iteration id at runtime


#1

Hi,
I am trying to input data using excel and it works fine. Now, I want to output data, and at runtime I don’t know how to get the row number or the iteration that it is executing on.

Is there a way to get the row or the iteration that it is working on.

Thanks,
MS


#2

I suppose you mapped the excel data to the test case in a test suite, through some variables defined in the test case.

So just output the value of the variables.


#3

Hi,

I am looking for answer to the same question. Does Katalon Store the current row number that it is executing during data binding?
If yes, how can we get the value of the current row number ?


#4

@Manjula_Siddanna, you can get the row or the iteration that is being worked on. Please refer to this guide https://docs.katalon.com/katalon-studio/tutorials/data_driven_testing.html#what-is-data-driven-testing for more details.
Regards.