When using a Data Driver in QF Test linked to a CSV, is there any variable or other way to determine the number of rows in that CSV before it runs the whole iteration?
For example, I would like to print to the logs that we are currently on Row $(iteration) of $(NumberOfRows)?
Currently I have a workaround solution which is to duplicate the Data Driver and place if before where my only action is to Set a Variable to the $(iteration)+1 of the Data Driver (the +1 is there
since the first iteration is set as 0)
That way when its finished processing all the rows, the last iteration will set the variable to (LastIteration)+1 and give me the number of rows in the CSV as a variable
Now I have a variable which is equal to the number of Rows in the CSV which I can then use. But I thought there might be a simpler way
Australian Digital Health Agency
Level 31, 400 George Street
Brisbane QLD 4000
Phone: (07) 3023 8559
Mobile: (0400) 837 499
Fax: (07) 3023 8466