Get Row Number by Text
This is a pre-built Action located under the Table captured from the AUT element. The functionality of this Action in Avo Assure is to search for the specified text in a table and retrieve the row number where the text is found. The row number is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <Text>
<Text> (Required)
Provide the text to search for in the table.
Output Value: <Dynamic Variable>;<Dynamic Variable (Optional)>
<Dynamic Variable> (Required)
Stores the row number where the specified text is found.
<Dynamic Variable> (Optional)
Stores the execution status as True or False.
Example: Retrieving a Row Number by Text
In this example, the action searches for Home Improvement Loan in a table and retrieves the row number of the matching cell.
Action: Get Row Number by Text
Input Value: The Secreate
Output Value: {Row no};{Status}
The action searches the table for the specified text and stores the matching row number in the {Row no} dynamic variable.
The following execution status is stored in the {Status} variable.
True: The row number is retrieved successfully.
False: The specified text is not found, or an error occurs during execution.
Logical Explanation: The Get Row Number by Text action takes the text (For example, The Secreate) from the Input Value column and searches for a matching cell in the table. It returns the row number, including the header in the count, and stores the result in the {Row no} dynamic variable as 3. If the optional status variable is provided, the action also stores True.

Last updated