Hello,
My colleague and I are confronted to a problem. We are automating with Katalon Studio the tests of a web interface on an emulated (by Android Studio) Pixel 4. During the test, we need to access the camera of the emulated phone. We see a pop-up asking us if we want to allow or block the software from accessing the camera. This pop-up just can’t be closed. We have tried:
- acceptAlert() and dismissAlert(): com.kms.katalon.core.exception.StepFailedException: No alert found
- edit Project → Settings → Desired capabilities → Mobile → Android : prefs = {autoGrantPermissions = true}, args = {profile.default_content_setting_values.media_stream_camera = 1} → does not close the pop-up
- click on the object: it is not a capturable object.
- switchToWindowIndex(1): no such window
I am clueless. Any ideas ? Thanks in advance.