Hello Everyone.
I have a problem with error
App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
Enviroment
- Mac
- IOS
- Appium 1.5.2
I run my tests(iOS) remote in pararell on server(Mac) and sometimes i have error with bad path App.
I punched a few ways to add the path.
-
capabilities.setCapability(APP, "/Users/bamboo.agent/Desktop/GRID_CONFIG/filmon-ios.ipa");
- String path = "/Users/bamboo.agent/Desktop/GRID_CONFIG/filmon-ios.ipa"; File app = new File(path); capabilities.setCapability(APP, app.getAbsolutePath);
String apkpath="/Users//bamboo.agent/Desktop/GRID_CONFIG/filmon-ios.ipa"; capabilities.setCapability("app", apkpath.getAbsolutePath());
I dont know where is the problem, how to add correct path for file.ipa.
Have somebody solution or explain me?
P.S. “Sorry for my bad English”