Verify Textbox Length

This is a pre-built action available under the Captured Textbox Element from the SAP GUI Application. The functionality of this action in Avo Assure is to verify whether the length (number of characters) of the text present in the textbox matches the expected length provided in the input value.

Syntax

Input Value: <value to be verified>

Argument
Description

<value to be verified>

(Required)

Provide the expected length (numeric value) that should match the actual length of the textbox text.

Output Value

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

This dynamic variable holds the result as True or False.

Example

Verifying if the Textbox Length Matches the Expected Value on the SAP Screen

The Verify Textbox Length action takes the value from the Input Value column as 12 and checks whether the length of the text present in the captured textbox matches the expected number of characters. The result of the action is stored in the {VerifyLength} variable as True (if the length matches) or False (if the length does not match).

Last updated

Was this helpful?