Impossible to find a solution, so I ask your help.
I want to test deeplinks with an App I test on my simulator. The deep links are obviously like appname://command.
But how to test it ? Is there a way to send a command to the iPhone simulator (like ADB for Android) ? Or Have I to follow a link is Safari, so I’ll have to change context etc…
Find me a solution would be an awesome christmas present
On our app we have a ‘development/debug’ mode/screen that has ‘deep linking’ buttons. You click the button & the deep link opens the app to that Screen of the app. Very simple, but it took working closely with Developers to get a good working solution.
Just to enumerate:
Use Appium to open & register app
Use Appium to navigate to ‘Development/Debug’ Screen, and then to ‘deep links’ Screen
Verify that the ‘deep link’ took us to the correct screen <–if so pass test
Use Appium to navigate back to ‘deep links’ Screen
Depends how your Developer wrote that feature. For me, when using a debug build of the app I am tasked with testing I can navigate to ‘settings->debug’. Real device, simulator, doesn’t matter. YMMV.