newbie23
13 years agoOccasional Contributor
Unable to Add a row to table 2 dimensional variable programmatically
I was wondering, is there a way to add a row to a 2-dimensional table variable programmatically?
I was dissapointed to find that ".AddColumn" exists but ".AddRow" does not. To me, ".AddRow" would be so much more helpful to have then being able to add a column programmatically (since I often work with data where I won't always know how many rows it will need but it always uses the same "columns").
Right now as a work-around, I just add a bunch of blank rows by default and then have an if statement for each test that uses the data in a "data-driven loop" to stop once it hits a blank row.
This work-around is pretty lame though, so if there is no way to add a row programmatically, can this at least be added as a feature request?
Thanks in advance :)
I was dissapointed to find that ".AddColumn" exists but ".AddRow" does not. To me, ".AddRow" would be so much more helpful to have then being able to add a column programmatically (since I often work with data where I won't always know how many rows it will need but it always uses the same "columns").
Right now as a work-around, I just add a bunch of blank rows by default and then have an if statement for each test that uses the data in a "data-driven loop" to stop once it hits a blank row.
This work-around is pretty lame though, so if there is no way to add a row programmatically, can this at least be added as a feature request?
Thanks in advance :)