Verify Popup Text
Last updated
Last updated
The Verify Popup Text action in the Avo Assure is found under the @BrowserPopUp Element is used to verify the pop-up message that matches to the expected input string which is given in the input value and save the status (True/False) in the given output variable.
Input: <text>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
Scenario:
When testing a shopping application, you add an item to the cart and proceed to checkout. A pop-up displays the total price. The expected total is calculated based on the cart items. Avo Assure verifies that the pop-up price matches the expected total, ensuring pricing accuracy before completing the checkout.
Input: Provide the correct input as Rs.1500 for checking the price.
Expected Result: The verify popup text action will verify the text as total price as Rs.1500 and save the result in output variable.
Output: The result of the Verify Popup Text action is stored in the {result} output variable as “True”, which can be utilized for display or other purposes.