Get Total Column Count
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the Table captured from the AUT Element Name. It instructs the Avo Assure Client to retrieve the total count of the columns present in the table and save the result in the given output variable.
Input: N/A
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
In an e-commerce application, the "Product Inventory" page displays a list of products in a table. The table includes columns for Product ID, Name, Category, Price, Stock Quantity, and Actions. The number of columns may vary based on different views or user configurations. The Get Total Column Count Action is used to dynamically determine the total number of columns in the table, which is useful for validating the layout or performing actions based on the table structure.
This Action needs to retrieve the total count of the columns of the captured table and needs to store it in the {result} Output Variable.
The extracted count is stored in the {result} output variable as 8, which can be utilized for display or other purposes.