cancel
Showing results for 
Search instead for 
Did you mean: 

ios system permission alert view not showing up, how to access it through script

Highlighted
Occasional Contributor

ios system permission alert view not showing up, how to access it through script

while creating keyword test for my ios app i am unable to access the system permission alert view during my recording.

I even tried to access it in Object Browser but was unable to find the object for the system permission alert view.

please help

2 REPLIES 2
Highlighted
Community Hero

Re: ios system permission alert view not showing up, how to access it through script

What happens when you try?  Screenshots please.

Highlighted
Contributor

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 2012 - Testing Delphi Application, Dynamic AX, Web, Mobile app, TC 12 and TestExecute
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors