51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2205|回复: 4
打印 上一主题 下一主题

[Appium] appium1.6.3 发布支持 toast 识别

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2017-6-28 15:38:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
iOS

Fix issue where we might try and uninstall an ssl cert from a real device where this isn't sensible

Fix another issue with acceptSslCerts where it might potentially miss the correct sim UDID

iOS - XCUITest

主要是更新了wda的版本, 以及xpath的性能提升. 其实如果想用新版本绕过appium直接用wda也没啥.

Upgrade version of WebDriverAgent used. Includes following updates:

Improve xpath query performance

Verify predicates

Fix crash for some xpath selectors

Decorate proxied getSession response with Appium's capabilities (fixes issues with clients that call getSession to determine server capabilities and are confused by WDA's non-standard response) (#7480)

Fix issue with starting XCUITests on a real device, due to changes in WDA that invalidated our startup detection logic. (#7313)

Allow connecting to an already-running WebDriverAgent through the webDriverAgentUrl capability, rather than starting our own

Android

Fix bug where we would attempt to get target SDK version from manifests even when they might not include it. (#7353)

Actually pass the acceptSslCerts capability to the underlying automation so that it can have an effect (#7326)

Updated permission granting logic to speed up permission granting by doing it in bulk rather than one at a time (#7493)

Hide the new permission granting logic behind an autoGrantPermissions capability which doesn't attempt to grant permissions unless it's true (#7497)

Android - Uiautomator2

这个是之前很多人关注的功能, 大家可以测试下看看. selendroid早就知道了, 这算是uiautomator2第一次支持吧

Add ability to verify TOAST messages (these can't be interacted with, only text retrieval allowed)

Windows

支持windows的自动化, 比上版本增强了

Actually upgrade WinAppDriver to 0.7 (#7445). Includes following updates:

Click on arbitrary elements

Support for sendKeys modifiers

Various bugfixes

Added GET /orientation

Added support for WPF apps

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2017-6-28 16:15:37 | 只看该作者
刚装了,运行就报错:
Unable to start WebDriverAgent: Error: Command 'idevicedate -u a58bdd10033efffd5261d606ec221744c973b6d9' exited with code 255
有没有遇到这种情况的
回复 支持 反对

使用道具 举报

  • TA的每日心情
    无聊
    2024-9-19 09:07
  • 签到天数: 11 天

    连续签到: 2 天

    [LV.3]测试连长

    3#
    发表于 2017-6-28 16:16:11 | 只看该作者
    所以验证toast是用uiautomator2咯,印象中uiautomator2是编成APK执行的,和uiautomator的jar方式不一样的,所以在capabilities设置上会不一样了吗?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    4#
     楼主| 发表于 2017-6-28 16:16:34 | 只看该作者
    八戒你干嘛 发表于 2017-6-28 16:16
    所以验证toast是用uiautomator2咯,印象中uiautomator2是编成APK执行的,和uiautomator的jar方式不一样的, ...
    1. import { AndroidUiautomator2Driver } from `appium-uiautomator2-driver`

    2. let defaultCaps = {
    3.   app: 'path/to/your.apk',
    4.   deviceName: 'Android',
    5.   platformName: 'Android',
    6.   automationName: 'uiautomator2'
    7. };

    8. let driver = new AndroidUiautomator2Driver();
    9. await driver.createSession(defaultCaps);
    复制代码
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5#
    发表于 2017-6-28 16:17:02 | 只看该作者
    python client没有对应更新吧
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-23 08:05 , Processed in 0.064819 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表