Is there any function of ranorex to get the test run to dismiss any on screen dialogs? we are using the native prompt for some information and consequently ranorex thinks the app has vanished. this is interrupting the test run and blocking tests that come after.
Scenario example: Contact record with telephone
user taps on "Call Contact"
native iOS dialog pops up with the contacts number and call/cancel options
In this scenario i can tap "Call contact" but not "cancel"
ios and dialogs
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: ios and dialogs
Hi Mozzytm,
In order to analyze your issue in detail we would need some additional information.
May I ask you to answer the following questions?
Therefore it is not possible to automate native iOS applications!
Regards,
Markus(S)
In order to analyze your issue in detail we would need some additional information.
May I ask you to answer the following questions?
- Which version of Ranorex is installed on your machine?
- Which version of iOS is installed on your device?
- Have you instrumented your application with the correct lib?
Therefore it is not possible to automate native iOS applications!
Regards,
Markus(S)
Re: ios and dialogs
Hi Marcus,
[*]I'm using Ranorex version 5.0.1.17706
[*]The devices I'm working with have iOS 7 and 7.1 installed
[*]The developer took the latest files available to instrument the app (as of a week ago)
As i say the automation will run fine, it is purely when a native iOS dialog box appears i cannot dismiss it. If I add a "close app" step and then start the next test from "open app" the dialog from the last session remains. An ideal solution would be some form of tear-down to close all open activites on the device.
Thanks
M
[*]I'm using Ranorex version 5.0.1.17706
[*]The devices I'm working with have iOS 7 and 7.1 installed
[*]The developer took the latest files available to instrument the app (as of a week ago)
As i say the automation will run fine, it is purely when a native iOS dialog box appears i cannot dismiss it. If I add a "close app" step and then start the next test from "open app" the dialog from the last session remains. An ideal solution would be some form of tear-down to close all open activites on the device.
Thanks
M
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: ios and dialogs
Hy Mozzytm,
Thank you for the response.
As I already mentioned, it is unfortunately not possible to automate native iOS applications which includes iOS dialogs and other system applications.
Regards,
Markus (S)
Thank you for the response.
As I already mentioned, it is unfortunately not possible to automate native iOS applications which includes iOS dialogs and other system applications.
Regards,
Markus (S)
Re: ios and dialogs
Hi Markus,
Do you expect this to change?
I need to have access to the elements inside of a "_UIAlertControllerShimPresenterWindow" but I am not able to reach them currently.
Ideas?
Thanks
Do you expect this to change?
I need to have access to the elements inside of a "_UIAlertControllerShimPresenterWindow" but I am not able to reach them currently.
Ideas?
Thanks
Re: ios and dialogs
If the dialog is part of the internal OS then there is no way for Ranorex to get to them because of security settings in the operating systems. Neither of them (iOS or Android) allow automation of internal system components due to security concerns about apps being able to dial your phone or mess up the file system.
There is nothing that Ranorex can do about this, it is a limitation of the systems imposed by their developers.
There is nothing that Ranorex can do about this, it is a limitation of the systems imposed by their developers.
Shortcuts usually aren't...