Re: ios system permission alert view not showing up, how to access it through script
For my experience automating our app, as soon as we step out of the app, TestComplete becomes blind. Under Android, TC is blind but can still interact with the device. Under iOS, TC does become blind, but also the device no longer exists!
Our app will trigger the OS prompt to access the Photo and the GPS, also we have some hyperlinks that will open with the browser.
To manage these situations, we had to:
iOS: prompt the user to do Something on the device (respond to the prompt, validate the page and come back to the app) and the click ok in TestComplete to resume the test.
Android: We did use the simulation of the "physical back button" like for an hyperlink taking you out of the app. For given devices, we hardcoded coordinates of what to touch.
In both iOS and Android, I use "prompt user" to put a valid "fingerprint" to login using "TouchID".
At least my tests always do the same thing in the same order. We also try to group those "interactive" tests.
Win10 / Server 2016 - Testing Delphi Application, Dynamic AX, Web, Mobile app iOS and Android, TC 14 and TestExecute