2gis / Winium.Mobile

Winium.Mobile is Selenium Remote WebDriver implementation for automated testing of Windows StoreApps and Silverlight apps, tested on emulators (currently only Windows Phone/Mobile apps are supported).
Mozilla Public License 2.0
51 stars 29 forks source link

Handling system dialog #179

Closed madhu-sv closed 7 years ago

madhu-sv commented 7 years ago

I have a situation where I need to tap on system permission dialog. Is there a way to do this? If not then is there a plan to support this in the future?

Any inputs on this will be appreciated.

NickAb commented 7 years ago

Currently there is no support for system dialogs. System dialogs are shown in a separate window then AUT. As a result driver does not know anything about system dialogs and it actually gets blocked when modal system dialog is shown.

Current workaround for system dialogs is to try clicking using coordinates whrn you assume the dialogs is show. This might be very flaky.

madhu-sv commented 7 years ago

Fixed it.