cshukusky
12 years agoContributor
TestComplete 10 AddColumn method for table type project variables
In multiple tests I use project variables of type table. In the scripts (vbscript) I add columns to the table with the addcolumn method. Ex:
Project.Variables.ExampleVar.AddColumn
With TestComplete 9.31 and earlier this would just add a column new column to the table. With TestComplete 10, this is giving me a runtime error saying:
An attempt to create a column with the name "0", which one of the existing columns already has.
Now indeed I do have a column with name 0, but why isn't it just adding a new column like it did in TestComplete 9? Did the functionality of this method change on purpose? Do I now have to specify a different name each time I add a colum?
Project.Variables.ExampleVar.AddColumn
With TestComplete 9.31 and earlier this would just add a column new column to the table. With TestComplete 10, this is giving me a runtime error saying:
An attempt to create a column with the name "0", which one of the existing columns already has.
Now indeed I do have a column with name 0, but why isn't it just adding a new column like it did in TestComplete 9? Did the functionality of this method change on purpose? Do I now have to specify a different name each time I add a colum?