• #17 楼 @guoke 这个把 script 改成 flick,appium1.3.4.1 不支持了,只能在 1.2.3.1 上跑没问题,flick 在这俩上边都能执行,而且成功率跟速度都快,而且 duration 可以去掉不用加

  • #1 楼 @zhycbd appium 的提示信息如下:

    info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
    info: [debug] [BOOTSTRAP] [debug] Got command action: setText
    info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
    info: [debug] [BOOTSTRAP] [debug] Updating class "class com.android.uiautomator.core.UiDevice" to enable field "mUiAutomationBridge"
    info: [debug] [BOOTSTRAP] [debug] Updating class "class com.android.uiautomator.core.UiAutomatorBridge" to enable field "mInteractionController"
    info: [debug] [BOOTSTRAP] [debug] Clearing text not successful. Attempting to clear by selecting all and deleting.
    info: [debug] [BOOTSTRAP] [debug] Updating class "class com.android.uiautomator.core.UiDevice" to enable field "mUiAutomationBridge"
    info: [debug] [BOOTSTRAP] [debug] Updating class "class com.android.uiautomator.core.UiAutomatorBridge" to enable field "mInteractionController"
    info: [debug] [BOOTSTRAP] [debug] Finding methods on class: class com.android.uiautomator.core.InteractionController
    info: [debug] [BOOTSTRAP] [debug] Finding methods on class: class com.android.uiautomator.core.InteractionController
    info: [debug] [BOOTSTRAP] [debug] Finding methods on class: class com.android.uiautomator.core.InteractionController
    info: [debug] [BOOTSTRAP] [debug] Clearing text not successful. Attempting to clear by sending delete keys.
    info: [debug] [BOOTSTRAP] [debug] Finding methods on class: class com.android.uiautomator.core.UiAutomatorBridge
    info: [debug] [BOOTSTRAP] [debug] Finding methods on class: class com.android.uiautomator.core.InteractionController
    info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
    info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
    info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 123

  • #1 楼 @zhycbd 你好,我想问下我就想在 app 的登陆界面进行登陆的测试,输入不同的账号密码,然后删除再来。但是我们的 app 用户名密码里边有默认的提示信息,sendkey 执行的时候一直想要删除提示信息,我看 appium 上的 info,各种方法全试过了,得出一个结论删不掉,有可能是提示信息,才进行信息的输入,这个过程非常的慢。这个问题怎么解决啊

  • #1 楼 @wangcityboy tks~,多谢啦,我试试

  • #15 楼 @wangcityboy 具体代码是什么你还记得吗?能不能贴上来我看下,谢啦

  • #1 楼 @wangcityboy 楼主,你这个问题解决了吗?我也碰到这个问题了,同事 1.2.3.1 的 appium 就可以滑动成功,我的 1.3.4.1 的就不行