Verify Table Sort
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built action in Avo Assure. This action checks whether the data in a grid is correctly sorted in ascending or descending order based on input, ensuring the grid's data is organized properly.
Note:
If we pass descending order, and column is sorted in descending order - it will pass
If we pass descending order, and column is sorted in ascending order or not at all sorted - it will fail.
If we pass ascending order, and column is sorted in ascending order - it will pass
If we pass ascending order, and column is sorted in descending order or not at all sorted - it will fail
If we verify sort for a column which is not visible in the grid - it will fail, and display Column does not present on the screen
If we verify sort for a column which is not sortable (that means not at all sorted) - It will fail
Input: <Column Header>;<Sort Order>
Column Header value (Required*)
Column name from the grid that we want to verify. This is case-sensitive.
Sort Order (Required*)
Displays the sorting order: ascending or descending
Output: <Dynamic Variable>(Optional)
Example 1
The Verify Table Sort action checks the sorting order of the Instrument column. It takes the column name (Instrument) and sort order (ascending) as inputs and returns True if the column is sorted in descending order or False if it is not descending. Use a dynamic variable to display the result.