Run app on iPhone from mac with appium

  • 1 Replies
  • 459 Views
Run app on iPhone from mac with appium
« on: August 29, 2016, 11:24:07 am »
Trying to run an app on my mobile device:

Code: [Select]
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 ?

*

Oren

  • *****
  • 59
Re: Run app on iPhone from mac with appium
« Reply #1 on: September 07, 2016, 09:49:34 am »
You have to manually enter the path to the app with setCapability


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

 

Sitemap 1 2 3 4