Katalon unable to see iOS native pop ups

Is Katalon Studio capable of being able to see the iOS native pop ups such as the Don’t Allow/Allow Notifications or Geolocation (Don’t all/allow access to location data)? I’m using Kobiton integration on MacOS to Mobile Spy objects on a cloud device but I’m not able to see any objects on the screen until I manually get past the Notification Don’t Allow/Allow and Geolocation Don’t Allow/Allow popup portion of our app. Though this is asked on first time loading the app since I’m running on Kobiton devices the pop ups will show up each time I run a script due to cleanup policies. Curious how I can get around or solve this issue?

Screenshot is showing that no objects were captured by Katalon with this pop up present

1 Like

Hi,

Welcome to our community. Will you be able to use the accept or dismiss alert? How to Handle Alerts in Katalon Studio | Katalon Docs. Otherwise, can you locate the Allow button

I resolved my issue using:

capabilities.setCapability(“autoDismissAlerts”, true);

Hi,

I looked over the link but I don’t have acceptAlert or dismissAlert as optioins in Mobile keywords. I’m not able to accept or dismiss the alert, mobile spy doesn’t see this object.

Hi! May you explain, please, how/where to use “capabilities.setCapability(“autoDismissAlerts”, true);” line to solve the issue you described? I have the same problem but don`t understand how use your solution.
Thanks in advance!

1 Like

I no longer have to use this capability but keep in mind if you do us it, all native pop ups will be dismissed. I have a separate script were I set device capabilities and instantiate the mobile driver. I’m using Kobiton as my testing environment.
Here is an example of my current device capabilities script.

Hi, can you explain how to set it up if using real iOS device?

hope this helps

1 Like