I am facing a problem where I am creating a new XLS file using ddt_open_statement. The table is initially empty and is supposed to get filled during the test run.
The problem is that when I do the ddt_set_row(table, 1); statement returns an error that a parameter is out of range, the parameter is the row of course. But why is it out of range. The fact that the table is initially empty is essential for me.
Also, is it possible to create new columns in the XLS file from the code itself?
Regarding new columns:
My guess is yes - you can create them. I don't have WRunner in front of me right at this moment to verify. Please look over all the ddt_functions. I think a function to do that would stand out. If there is no function for that directly, you could probably do that by using a combination of obj_type statements to get you to the desired column and input a name. I would suspect that you would need to do a ddt_save, close, re-open, etc.