activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Activités UIAutomation

Dernière mise à jour 25 mars 2025

Managing pop-up dialogs in mobile automations

This tutorial guides you on managing pop-up dialogs when automating tests for your mobile applications. To handle pop-up dialogs, you can use specific Appium capabilities, that you enter during the device configuration in the Mobile Device Manager (MDM), under the Additional Desired Capabilities section.

Étapes

  1. To open the MDM, in your Studio project, select Mobile Automation > Mobile Device Manager.
  2. In the left navigation panel, go to Devices.
  3. Configure the mandatory fields of the device, such as Name, Appium Url, or Platform, among others.

    For more information on managing devices in MDM, visit Managing devices.

  4. In the optional Additional Desired Capabilities section, add one of the following Appium capabilities, depending on your use case:
    • autoAcceptsAlerts: true – This capability automatically accepts any alert dialogs that appear. It is suitable for both iOS and Android devices. Depending on the device's operating system, the capability behaves as follows:
      • For iOS devices, autoAcceptsAlerts automatically accepts all alerts that appear.
      • For Android devices, autoAcceptsAlerts automatically accepts only default system results.
    • autoDismissAlerts : true
      The autoDismissAlerts capability automatically dismissed any alert dialogs. It works only for iOS devices.
      Note: You cannot use autoAcceptsAlerts and autoDismissAlerts at the same time.
  5. Select Save & Close to confirm the configurations.

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Uipath Logo White