Verify Popup Text
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built Action located under the @BrowserPopUp Element, instructs the Avo Assure to check if the pop-up message matches the expected text from the Input Value and save the result in the dynamic variable.
Input Value: <text>
<text>
Enter the expected pop-up message text to be verified.
Output Value:
<Dynamic Variable>;<Dynamic Variable>(Optional)
The dynamic variable holds the status as True or False.
Example
Checks if the popup message displays the expected text.
The Verify Popup Text action takes the value from the Input Value column (e.g., I am a JS Alert) and compares it with the text shown in the popup. The result of the verification is stored in the {VerifyText} variable, with the following possible values:
True – If the popup text matches the expected value.
False – If the popup text does not match or an error occurs.