Showing results for 
Search instead for 
Did you mean: 

Issue with generated data

New Contributor

Issue with generated data



I just started using the generate data feature and it seems there is something I'm missing. I was able to generate a table of 12 columns and 2000 rows, I customized each column and everything looks fine in the variables tab.

Then I tried using the data in a recorded test case, by selecting the variable and the specific column I need for each field. None of the fields are being filled and I got the Exception in Test log:

'A row index must be an integer value'


Any idea what could be wrong here? thanks!

Tags (2)
New Contributor

Re: Issue with generated data

Was able to figure out what the issue was, I was using this value in my test case:

Variables.VendorFill("Vendor_Name", "") 


the problem was the last quotation marks, it was expecting an integer for the row value. makes sense.

I removed those "" and the test case run fine, but it is always trying to use the first row, and I need it to go through the whole table I created (2000 rows).

Is there any automatic way to select a different row in each execution? if so, how can I do that?




Re: Issue with generated data

Hi Maxter,


If I understand your requirement correctly, you have created a variable table and would like to loop through the rows in that table.


You can do that by creating a data driven loop and select your "Vendor_Name" variable. Refer to


Hope this helps.



Community Manager

Re: Issue with generated data

Thanks a lot for your advice ChristofS!


@Maxter Does this help?🙂

Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete


How to execute remote test and obtain results via Test Runner REST API


Comparing content of HTML table with Excel file data


Compare HTML table with Excel file and correct data in the file

Top Kudoed Authors