TestProject Forum
Powered by leading experts in the test automation community

Run app on iPhone from mac with appium

Trying to run an app on my mobile device:

capabilities.setCapability("device", "path");
capabilities.setCapability("app", "Safari");

How do I get the absolute path appium requires for app ?

Is there something I am missing to run appium tests on a real device ?

You have to manually enter the path to the app with setCapability

capabilities.setPlatform(Platform.valueOf("MAC"));
capabilities.setBrowserName("iPhone");
capabilities.setCapability("app", "Safari/SafariLauncher.app");