Verify Element Text
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built action in Avo Assure and is available for the captured element, instructs the Avo Assure to verify whether the given input text matches the text of the captured element and save the result in the dynamic variable.
Input Value: <Input Value>
<Input Value> (Required)
Provide the text to be verified against the captured element content.
Output Value:
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This dynamic variable holds the status of the action as True or False.
Example
Validate whether the text of the specified element matches the expected value.
The Verify Element Text action takes the value from the Input Value column (e.g.,Drag me) and compares it with the actual text of the target element. The result of the verification is stored in the {VerifyText} variable, with the following possible values:
True – If the element text matches the expected value.
False – If the text does not match or an error occurs.