last_image = find_elements(:tag_name, :ImageView).last
mobile(:longClick, element: last_image.ref)
@532589730 类似这样
longClick 在安卓上实现了, ios 没实现吧?
HorizontalScrollView 下面不是 LinerLayout 么?
我想知道 自己写工具和使用别人工具的区别
没有头像我不回帖~
http://stackoverflow.com/questions/21419914/how-can-i-use-selenium-or-appium-to-automate-chrome-browser-on-android
你研究下下文,我看到的内容好像都比较复杂。 有时间试试看。
没有联系方式。。
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
能在试试看不?