TestProject Forum

General => Appium => Topic started by: Wayne on August 29, 2016, 11:24:07 am

Title: Run app on iPhone from mac with appium
Post by: Wayne on August 29, 2016, 11:24:07 am
Trying to run an app on my mobile device:

Code
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 ?
Title: Re: Run app on iPhone from mac with appium
Post by: Oren on September 07, 2016, 09:49:34 am
You have to manually enter the path to the app with setCapability


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