SetValue method

Relevant for: API testing only


Sets the value of a specified item in the data source.


  • This method must be used with the GetDataSource method.
  • This method cannot be used for XML data sources.

Back to top



Back to top


GetDataSource(<data source name>).SetValue(<row index>, "<column name>", "<value>");

Back to top


Parameter Description
Row index

Required. The row of the cell to which a value is assigned.

The row index is zero-based, meaning if you want to set the value of a cell in the first row of the table, you must set the row index value to 0.

Column name Required. The column of the cell to which a value is assigned.
Value Required. The value you want to assign to a cell.

Back to top

Return Type

No explicit return object. Sets a value in the specified data source.

Back to top


GetDataSource("ConcActivity Strings").SetValue(1, "Suffix", "done.");

Back to top