Get Textbox Length
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. It instructs the Avo Assure Client to get the maximum textbox length defined by the developer of the textbox, which is in the table cell, and save the result in the dynamic variable.
Input Value:<Row>;<Col>;<Object Type>;<Index>
<Row> (Required)
Row number of the specified table cell
<Col> (Required)
Column number of the specified table cell
<Object Type> (Required)
Type of object inside the cell (e.g., input)
<Index> (Required)
Element index of the object within the cell
Note: The above syntax requires the user to specify the row and column of the target table cell, the object type, and the index to identify the correct element within the cell.
Output Value
<Dynamic Variable> (Required)
This dynamic variable stores the maximum length of the textbox
<Dynamic Variable> (Optional)
This dynamic variable holds the result in True or False
Example Retrieves the maximum length of a textbox located within a specified cell of a table.
The Get Textbox Length action takes the input from the Input Value column (e.g., 2;4;input;1) and retrieves the maximum character length set for the textbox located in the specified table cell. The result of the action can be stored in the {Length} variable and the execution status is saved in the {Status} variable with the following possible values:
True – if the character length retrieves successfully
False – if the character length not retried.