安卓7.0打开java_在Android 7.0中,appium启动应用程序,但不会执行进一步的操作

我使用appium自动化原生应用程序 . Appium在版本低于7.0的所有设备上运行良好,但是当我在7.0或更高版本上运行appium时,appium启动应用程序但不会执行进一步操作(appium不会停止执行,它会在启动应用程序后冻结) .

请参考下面的appium日志 .

disc='loginScreen_createAccountSelectorButton']","4e69a744-5030-426e-a666-539ec0dc6ef7"]

[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator

[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator

[debug] [BaseDriver] Waiting up to 0 ms for condition

[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextViewp[@conent-disc='loginScreen_createAccountSelectorButton']","context":"","multiple":false}}

[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextViewp[@conent-disc='loginScreen_createAccountSelectorButton']","context":"","multiple":false}}

[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION

[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find

[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.TextViewp[@conent-disc='loginScreen_createAccountSelectorButton']' using 'XPATH' with the contextId: '' multiple: false

如果您看到日志的最后一行,appium trie要找到该元素但appium服务器不会停止,它将永远运行 . 请帮助它在版本超过7.0的Android设备上运行 .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值