Get Popup Text
The Get Popup Text action in the Avo Assure is found under the @BrowserPopUp Element is used to get the text message from a pop-up that appears in the browser and save the status (True/False) in the given output variable.
Syntax
Input: N/A
Output:<Dynamic Variable>;<Dynamic Variable>(Optional)

Usecase/Example

Scenario
When using a shopping application, you add an item to their cart, a pop-up appears with a message saying, “Your product has been added to cart.” During testing, the Avo Assure use the Get Popup Text action to get the text from this pop-up to verify that the correct confirmation message is displayed. This help you to ensure that the application is properly handling the add-to-cart action by displaying the right message.
Expected Result
It should fetch the text as “Your product has been added to cart” from the popup and should store the result in the output variable.
Output
The result of the Get Popup Text action is stored in the {result} output variable as “Your product has been added to cart”, which can be utilized for display or other purposes.
Last updated
Was this helpful?