Write to Data Table

This is a pre-built action in Avo Assure and comes under @Generic element. This action allows to write back to data table and save the result in dynamic variable.

Syntax

Input Value:<datatable_path>;<row>;<col>;<value>

Argument
Description

datatable_path (Required)

path of the Data Table

row (Required)

Row number where data should be added

col (Required)

Column number where data should be added

value (Required)

The actual value to write into the specified cell.

Output Value:

Argument
Description

Dynamic Variable(Optional);Dynamic Variable(Optional)

The dynamic variable is optional, as it is used to store the status as either True or False and display it later.

Example:

Add user name(John) in 1st column of Data Table.

The Write to Data Table action takes the value from the Input Value column ( Data Table/Login Details;4;1;John) and writes the specified value (John) into the given row (4) and column (1) of the data table (Login Details). The result of the write operation is stored in the {WriteStatus} variable, with the following possible values:

  • True – if the value is written successfully.

  • False – if writing fails or an error occurs.

Last updated

Was this helpful?