-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
某些应用编辑框可以点开输入法但无法输入 #4
Comments
如果没有上面提到的可能,或许可以试一下 driver.PressKeyCode(KCExplorer, KMEmpty) |
经确认,旧版闲鱼可以输入,新版的不行
…---原始邮件---
发件人: ***@***.***>
发送时间: 2021年7月4日(周日) 中午12:37
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
可能和 输入法 有关
如果使用第三方的输入法,有可能出现无法输入的情况
也可能和 输入框控件 有关
有些 输入框控件 可能是被改动过,含有多层可选择输入
如果没有上面提到的可能,或许可以试一下 PressKeyCode ?
driver.PressKeyCode(KCExplorer, KMEmpty)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
🤔是新版全部 还是只是部分特定的 |
我晚点测试下,我之前只测试了回复的不行,谢谢作者
…---原始邮件---
发件人: ***@***.***>
发送时间: 2021年7月4日(周日) 中午1:12
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
🤔是新版全部 编辑框 都不可以?
还是只是部分特定的 编辑框?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
请问Wifi功能完成了吗?我测试可以启动app,但是找不到元素
…------------------ 原始邮件 ------------------
发件人: "electricbubble/guia2" ***@***.***>;
发送时间: 2021年7月4日(星期天) 中午1:12
***@***.***>;
***@***.******@***.***>;
主题: Re: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
🤔是新版全部 编辑框 都不可以?
还是只是部分特定的 编辑框?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
找不到元素? 有什么报错吗? |
2021/07/04 20:36:14 utils.go:19: 找不到元素 unknown error: Timed out after 10000ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work
panic: runtime error: index out of range [2] with length 0
Name : Guangjun Yuan
Major :Statistics
School : GuangDong University of Foreign Studies.
Phone : 18*********/6*****
Birthday:Fifth of July in Ninteen Ninteen Three
Address:A House in ShaoGuan of Guangdong Province in China.
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年7月4日(星期天) 晚上8:36
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
找不到元素?
有什么报错吗?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
好像可以了,我是再次跑了adb shell "nohup am instrument -w io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner >/sdcard/uia2server.log 2>&1 &"就可以了,我发现似乎直接用WiFi也是可以的,参考的连接是https://blog.csdn.net/qq_33003441/article/details/80973744
…------------------ 原始邮件 ------------------
发件人: "386377268" ***@***.***>;
发送时间: 2021年7月4日(星期天) 晚上8:36
***@***.******@***.***>;
***@***.***>;
主题: 回复: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
2021/07/04 20:36:14 utils.go:19: 找不到元素 unknown error: Timed out after 10000ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work
panic: runtime error: index out of range [2] with length 0
Name : Guangjun Yuan
Major :Statistics
School : GuangDong University of Foreign Studies.
Phone : 18*********/6*****
Birthday:Fifth of July in Ninteen Ninteen Three
Address:A House in ShaoGuan of Guangdong Province in China.
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年7月4日(星期天) 晚上8:36
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
找不到元素?
有什么报错吗?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
这个报错提示看上去是正常执行了
这个 可以提供导致报错的相关代码吗?或更详细的 |
这个是我这边没有对错误进行处理,不是你那边的问题,对了大佬,有没有多设备管理示例呢?
Name : Guangjun Yuan
Major :Statistics
School : GuangDong University of Foreign Studies.
Phone : 18*********/6*****
Birthday:Fifth of July in Ninteen Ninteen Three
Address:A House in ShaoGuan of Guangdong Province in China.
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年7月4日(星期天) 晚上8:45
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
这个报错提示看上去是正常执行了 寻找元素 的操作
报错信息由 uia2 提供的
panic: runtime error: index out of range [2] with length 0
这个 panic 看上去是我没正确处理
可以提供导致报错的相关代码吗?或更详细的 panic堆栈信息
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
没有例子。。我就一个
|
好吧,谢谢
Name : Guangjun Yuan
Major :Statistics
School : GuangDong University of Foreign Studies.
Phone : 18*********/6*****
Birthday:Fifth of July in Ninteen Ninteen Three
Address:A House in ShaoGuan of Guangdong Province in China.
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年7月4日(星期天) 晚上9:43
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [electricbubble/guia2] 某些应用编辑框可以点开输入法但无法输入 (#4)
没有例子。。我就一个 Android 设备
还是以前的小伙伴提供的。。。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
invalid element state: Cannot set the element to 'zasxax'. Did you interact with the correct element?
The text was updated successfully, but these errors were encountered: