Documentation

Looking for something in particular?

UI Handle Alert

This test step responds to a UI alert dialog after a UI operation has been performed and needs handling to proceed further. This is useful for handling standard alerts, confirmations, or error messages appearing on certain Salesforce operations, such as deleting records.

This test step can be added when mapping an alert through the Test Builder.

It can also be added via the Test Palette by locating the test step and dragging it into the test case.

Update the following parameters:

  • Expected Message: Exact text of the UI alert to be handled (case sensitive)
  • Response: The response to the Alert, e.g. OK, Cancel

Refer to Managing test steps for more information on updating Wait and Screenshot Options.

Then, save the test case.

Note: Multiple alerts can be configured on the same test step. This is useful if different alerts have been configured on a single operation based on the business flow. In such cases, Provar simply matches the text on the alert that appears and performs the configured operation.

Review Provar on G2
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top