http://testerhome.com/topics/242
这个方法没实现。
#2 楼 @cieehertz 可能是 xcode 两个版本混乱了。
需要更多的信息,包括你的 xcode 的版本。
用这个 http://127.0.0.1:4723/wd/hub
别用 http:\\127.0.0.1:4723\wd\hub
试试看
很不错啊,这个方法可以应用到电脑上么?比如我测试网页应用?
能给个报表类型的东西看看么?
你是连真机么? 另外贴日志能不能不截图。。。 不能复制黏贴。。
/home/jerryzhang/abc/apps/test.apk
找不到
没找到 /Users/bixiaopeng/workspace/source-github/appium/sample-code/examples/java/junit/../../../apps/TestApp/build/Release-iphonesimulator/TestApp.app
Okay this is my current setup
1) One Nexus 4 and one emulator running on Mac
2) two appium instances running on different ports
3) Parallel execution two threads to run same test
This is the error I am getting
" A session is either terminated or not started (WARNING: The server did not provide any stacktrace information)"
Appium log
First one runs but other one says this ADB Error:
info: [ADB] Forwarding system:4724 to device:4724
info: [ANDROID] [debug] Could not start socket server listening on 4724
For both threads it says this - any insights if I need to change something?
These are my capabilities:
capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "Android");
capabilities.setCapability(CapabilityType.VERSION, "4.2");
capabilities.setCapability(CapabilityType.PLATFORM, "Mac");
capabilities.setCapability("device", Device);
capabilities.setCapability("app", app.getAbsolutePath());
capabilities.setCapability("app-package", "blah");
capabilities.setCapability("app-activity", "blah");
try {
driver = new RemoteWebDriver(
new URL("http://localhost:" + Port + "/wd/hub"), capabilities);
} catch (Exception e) {
e.printStackTrace();
}
Started two Appium servers with different ports defining -U flags
能在试试看不?
你用的不是 deb 系列的 linux,配置起来是很难的。
#1 楼 @vigossjjj 来 share 一个?
#2 楼 @jerryzhang 以前的帖子里有说过,sudo chmod 777 /usr/local/lib/node_modules/appium/
权限 permission denied '/usr/local/lib/node_modules/appium/ 把 appium 权限全给上
#3 楼 @meimeiyuyun sally@yeahmobi.com
#1 楼 @meimeiyuyun 直接在这里回复我啊~
赞~,恭喜