Handle iOS Notifications popup after uninstall/install
Handle iOS Notifications popup after uninstall/install
I am using a the instrumentation command line to uninstall and then install an iOS application that has notifications. My next step is to execute the ranorex tests against the newly installed application. Because of the popup for allowing notifications, which apple requires, my test is failing. I have not been able to find a way of interacting with the popup. Is there a trick to getting past this automation snafu?
Re: Handle iOS Notifications popup after uninstall/install
Hi,
There is unfortunately no way to interact with iOS own dialogs. It's an iOS security issue.
There is unfortunately no way to interact with iOS own dialogs. It's an iOS security issue.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Handle iOS Notifications popup after uninstall/install
In addition to what Pavel said, it is my understanding that Ranorex does not recommend or support the installation/un-installation of mobile apps during a test. That is why there are no actions for it in the IDE toolset. That you were able to use the command-line to do it would merely be an unintended work-around.
In other words, install and uninstall should not be done as part of your automated testing.
In other words, install and uninstall should not be done as part of your automated testing.
Shortcuts usually aren't...