Get Total Column Count
This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to retrieve the total number of columns present in the table. The result is stored in the given dynamic variable for further use during test execution
Syntax
Input Value: N/A
N/A
Not Applicable
Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)
<Dynamic Variable> (Required)
This dynamic variable stores the total number of columns in the table.
<Dynamic Variable> (Optional)
This dynamic variable stores the status as True or False.
Example: Retrieving the Total Number of Columns in a Table
In this example, we explain how to extract the total column count from the captured table.
Action: Get Total Column Count
Input Value: N/A
This action does not require any input value. It directly analyses the captured table and retrieved the total column count.
Output Value: {Count}
The total number of columns present in the table is stored in the {Count} dynamic variable.
If a second output variable is provided, the action returns the status as True or False:
True: If the total column count is retrieved successfully.
False: If the total column count is not retrieved successfully.
Logical Explanation: The Get Total Column Count action does not require any input value. This action analyses the captured table structure, identifies all available columns, and retrieves the total number of columns present in the table. The extracted column count (2) is stored in the {Count} variable.

Last updated