Can I record alert dialogs?
  • 09 Sep 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Can I record alert dialogs?

  • Dark
    Light

Article summary

※ Please note that parts of this page are machine translated.


An alert dialog is a type of dialog that notifies the user when an error has occurred or when an operation has been successfully completed. The dialog can be closed by clicking on the action button.
You can record actions taken on alert dialogs, but there are some limitations depending on the type of dialog. See the table below for details.

DialogName of action in the stepOptionsItem selected by Autify
Alert
alert-dialog-en.png
Handle AlertOKOK
Confirm
confirm-dialog-en.png
Handle Alert
  • OK
  • Cancel
OK
Prompt
prompt-dialog-en.png
Input Text Into Alert
  • OK
  • Cancel
OK
Before a page is unloaded
unload-dialog-ja.png
Handle Alert
  • Leave
  • Cancel
Leave

Not supported for most browsers, see Notice below for details

Currently, the selections for the "Handle Alert" and "Input Text Into Alert" steps are fixed.
For example, even if you click "Cancel" in a confirm dialog during recording, it will be recorded as "OK." The selection cannot be changed.

Notice

Desktop browsers (Chrome, Edge, Firefox and Safari) and some real mobile devices automatically accept alerts when the page is unloading in an automated session. Therefor these alerts cannot be tested on these browsers, and a Handle Alert step should not be used. If you are testing on real mobile devices, the behavior of automatically accepting the alert or not varies by device. In that case, you can add the "Handle Alert" step and under the "When this step fails" option choose "Ignore and continue."

For permission dialogs that request access to the camera, location, etc., please refer to this article.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.