VerifyTextboxLength
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, instructs the Avo Assure to verify the maximum length of the textbox in the table cell to the value that is provided in the input field of Avo Assure and save the result in the given dynamic variable.
Input Value:<Row>;<Col>;<Object Type>;<Index>;<Value>
<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., textbox, input)
<Index>
(Required)
Element index of the object within the cell
<Value>
(Required)
Expected maximum length to verify against the actual textbox length
Note: The above syntax requires the user to specify the row and column of the target table cell, the object type, the index, and the expected maximum length for verification.
Output Value
<Dynamic Variable>(Optional);<Dynamic Variable> (Optional)
This dynamic variable stores the status of the action as True or False
Example
Verifies that the maximum length of a textbox located within a specified cell of a table matches the expected value.
The Verify Textbox Length action takes the input from the Input Value column (e.g., 2;4;input;1;10) and compares the maximum character length of the textbox with the expected length. The result of the action can be stored in the {TextLength} variable, with the following possible values:
True – if the maximum length matches the expected value
False – if the length does not match or an error occurred