List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Is there any way or variable to determine the number of Rows in a Data Driven CSV

  • Subject: [QF-Test] Is there any way or variable to determine the number of Rows in a Data Driven CSV
  • From: David Mudge <David.Mudge@?.au>
  • Date: Wed, 28 Mar 2018 05:31:14 +0000
  • Delivered-to: qftest-list@?.net



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




David Mudge
Test Analyst

Australian Digital Health Agency

Level 31, 400 George Street

Brisbane QLD 4000

Phone: (07) 3023 8559 
Mobile: (0400) 837 499

Fax: (07) 3023 8466
Email: david.mudge@xxxxxxxxxxxxxxxxxxxx


Important: This transmission is intended only for the use of the addressee and may contain confidential or legally privileged information. If you are not the intended recipient, you are notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error please notify the author immediately and delete all copies of this transmission.