Get Column Number by Text
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built Action located under the Table captured from the AUT Element, instructs the Avo Assure to retrieve the column number of the specified text present in the table which is specified in the Input Value and save the result in dynamic variable.
Input Value: <Text>
<Text> (Required)
Specify the text of the table column header to be matched
Output Value
<Dynamic Variable> (Required)
This dynamic variable holds the extracted column number
<Dynamic Variable> (Optional)
This variable save the result in the True or False
Example
Extracts the column number from a table based on the specified column header text
The Get Column Number by Text action takes the value from the Input Value column (e.g., Requested Date) and identifies the corresponding column index by searching the column header text in the table. The resulting index is stored in the {ColumnIndex} variable and the execution status is saved in the {Status} variable with the following possible values:
True – if the column number extracted successfully
False – if the column header is not found or an error occurs