Appium appium1.1 发布

思寒_seveniruby · 2014年05月28日 · 最后由 小明 回复于 2014年05月30日 · 1121 次阅读

这个版本距离 1.0 的发布快一个月了, 最近的 appium 发布节奏有点放缓了.
可能是几个维护者为了庆祝 1.0 版本搞了很多的活动吧.
之前期待的 appium1.1 的里程碑特性被挪到了 appium1.2 中,

本次主要的改变是多语言支持, 包括之前我们说的中文输入支持.
还有大量的测试用例, 示例, 以及持续集成的更新.

CHANGES IN VERSION 1.1.0 (from 1.0.0)

General

  • less buggy xcode locator strategy for iOS and Android
    • note that for Android this might cause previous xpath selectors not to work, since we now always set compressed hierarchy when getting the xml dump used for xpath
  • fix defaults for swipe duration
  • add fixes for context switching
  • add optional argument 'language' to getStrings
  • update docs and code samples (including adding perl code samples)
  • continue work on appium CI
  • make sure we can't close already ended sessions
  • upgrade all node deps besides express

iOS

  • add -ios uiautomation strategy doc

Android

  • allow for encoding of non-ASCII text
  • clearer activity error messages
  • add language and country support
  • extract strings from apk corresponding to device language instead of default to be used with ID locator strategy
  • update complex find with new uiautomator constants
  • upgrade Chromedriver to 2.10
  • allow automation of Chrome Beta with browserName: ChromeBeta

Selendroid

  • update selendroid to 0.10.0
  • add getStrings method

CHANGES IN VERSION 1.0.0 (from 1.0.0-beta.2)

General

  • update python samples to use 1.0 style
  • don't convert 'proxy' or 'launchTimeout' caps into strings
  • make sure commit hooks use local grunt and mocha
  • update some ruby samples to use 1.0 style
  • add more 1.0 docs and sample code

iOS

  • fix mobile safari native tap on android by offsetting tap position by 40px
  • go back to using unpatched UICatalog
  • fix autoAcceptAlerts
  • allow multiple calls to /contexts
  • update appium-instruments with fix that would prevent the basic 'iPhone Simulator' device from launching correctly

Android

  • fix gesture timing so it doesn't interpret ms as seconds

Selendroid

  • ensure selendroid isn't proxied appium endpoint commands

CHANGES IN VERSION 1.0.0-beta.2 (from 1.0.0-beta.1)

General

  • extensive docs updates (make it ready for the new Slate docs)
  • decode sequence of actions to native "swipe" method
  • fix valid platform error message
  • update WD dep
  • fix proxying when session id is null
  • allow spaces in appium folder name in reset.sh
  • get rid of tag name loc strat in favor of class name

Android

  • allow for different input sets to mobile: find
  • fix apk signing with custom keystore
  • allow MultiActions without an element
  • move chrome tests into their own emulator type
  • fix async bug in getting xml dump
  • use async.queue to ensure synchronicity of commands
  • improve DumpWindowHierarchy so xpath queries don't crash
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 13 条回复 时间 点赞

更新 dmg 试试

顶一个,好久没看了,改天看看

android 的 xpath 变短了,并且支持 nodejs 的录制··

#3 楼 @mingyuwang 什么地方看到的啊, 求细节

#5 楼 @mingyuwang 这个是一直支持录制的啊.

#4 楼 @seveniruby
1.0 用 appium 定位的 android xpath
//android.widget.LinearLayout[1]/android.widget.FrameLayout[1]/android.view.View[1]/android.widget.RelativeLayout[1]/android.widget.ScrollView[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.widget.EditText[1]

#6 楼 @seveniruby nodejs 是 1.1 新支持的,1.0 不支持

#8 楼 @mingyuwang 看来录制功能差不都成熟了. 赞. 1.1 的 xpath 定位现在是什么样子, 又变成//button 这种了?

#9 楼 @seveniruby 现在从 inspect 里面看到 xpath 比原来短了,还没放在脚本里真正运行··回头了试一下

#9 楼 @seveniruby windows 版本的有没有录制功能???

升级是使用 npm update appium 么

#12 楼 @eric 直接 install 就行了 我还没用过 update

需要 登录 後方可回應,如果你還沒有帳號按這裡 注册