Appium appium1.2 发布

思寒_seveniruby · July 02, 2014 · Last by neil replied at July 02, 2014 · 1552 hits

appium1.2 发布了
在 android4.1 4.3 和 ios7 上持续集成用例通过

CHANGES IN VERSION 1.2.0 (from 1.1.0)

General

  • migrated to express 4 for the webserver
  • allow setting tmp dir with --tmp flag 允许设置临时目录,防止某些手机型号的 tmp 无法访问,猜测
  • upgrade many submodules including wd
  • add --strict-caps mode which will cause sessions to fail which send in bad or unknown caps
  • add error handling for invalid multi-pointer gestures
  • add autoWebview capability to automatically get into a webview context of a hybrid app 通过一个设置可以自动切换到 webview
  • remove deprecated -real xpath locator strategy 去掉了原来的过渡模式,目前是完全的 xpath 了
  • allow bypassing appium's sudo checks
  • add generic crash handler
  • many documentation and sample code updates 文档更新

iOS

  • prevent log lines without dates from being filetered out
  • add keepAppToRetainPrefs cap to avoid deleting location plists
  • check for accessibility id matching selector then fall back to string match
  • add flag for specifying where in .app hierarchy Localizable.strings is
  • use a dynamic bootstrap in appium-uiauto
  • upgrade mechanic
  • implement pullFolder to get an entire folder from the sim
  • make sure launchAndKill can wait for specified directories before killing sim
  • get rid of ForceQuitInstruments
  • update hideKeyboard to take various possible strategies
  • fix launchAndKill to wait for safari-specific directories
  • make sure all pageload timeouts are cleared and called only once
  • disable ios grace delay
  • don't return duplicate elements

Android

  • renamed keyevent to press_keycode and long_press_keycode 方法重命名了,可能要调整测试用例。我是建议大家最好在 appium 上进行二次的封装,否则变动
  • add dedupe to complex_find 一个很重要的方法,较为强大
  • fix activity-finding logic
  • fix error handling in installApp
  • extract adb code into its own package, appium-adb
  • add support for opening notifications
  • add automation support for embedded chromium
  • fix pushStrings to work with 'app' as package
  • fix id serach 重要的特性,支持 3 种 android 的 id
  • cause appium to fail if we can't parse package/activity
  • add package name to android webview context 重要,可能要修改 case
  • make sure UNZIP env var doesn't confuse our internal unzip calls
  • add appIntent etc capabilities so app can be launched with a certain intent 这个很有用,直接加在特定的 intent
  • add IME methods, and an appium-specific IME that is automatically installed 中文支持
  • add unicodeKeyboard capability which allows sending unicode text 中文支持
  • fix installApp, prevent a server crash

Selendroid

  • faster selendroid installer
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 21 条回复 时间 点赞

支持。更新去了。 😄

楼主,能否分享份持续集成的文档,减少点掉坑的几率,尤其 IOS 方面

#2 楼 @jelver 我们在筹备最近的公开课,可以的。到时候可以加进去你的这个需求

#3 楼 @seveniruby 太好了,我最近也在搞这块,感觉坑挺多的,耗了很多时间

发布好频繁哈,不知道向下兼容做的如何?

remove deprecated -real xpath locator strategy 去掉了原来的过渡模式,目前是完全的 xpath 了
add IME methods, and an appium-specific IME that is automatically installed 中文支持
add unicodeKeyboard capability which allows sending unicode text 中文支持
这三个很看重啊

更新去咯!!

官网上没看到,在哪里下载啊?是更新了 APPIUM 的库吗?

#3 楼 @seveniruby 弱弱的请教一下,Selendroid 模式下 sendKeys 无法输入中文,你们后来怎么解决的,能提供一下 实例代码吗

求个原文的链接地址。

支持一下,更新去了··

没有 1.2 的 exe 下载啊,我更新了 python0.9 的库,用 1.1 版本的 exe 起服务,set_value 方法突然不能用了

#14 楼 @sean605

https://bitbucket.org/appium/appium.app/downloads/
官方这没出 exe 的,要体验 1.2 的话只能拿 npm 或是去 github 上下源码装了~

#15 楼 @mingway_hu
set_value 不能用了是什么问题,python0.8 的时候还行呢

#16 楼 @sean605 估计哪又改了。。。
说实话,appium0.18 之后就没再尝试过。。。坐等稳定版出现再大量用~

#17 楼 @mingway_hu
体验了一下,感觉还挺靠谱的,用 python 实现起来很方便,也在持续关注中

#17 楼 @mingway_hu 什么时候才能有稳定版……

#19 楼 @noshuai 估计快了~年底能出更稳定的版本~
其实现在 1.2 也能凑合着用~

#19 楼 @noshuai 目前已经是较稳定的版本呢了,后续只是不断的 bug 修复和稳定性提升。

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up