Appium 输入 & 符号,实际输入&-

Posted testway

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Appium 输入 & 符号,实际输入&-相关的知识,希望对你有一定的参考价值。

2018-10-11 12:27:12:178 - [debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["&"],"28","43823bcd-3213-4456-a8b8-c1962cf1a76d"]

2018-10-11 12:27:12:179 - [debug] [androidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"28","text":"&","replace":false,"unicodeKeyboard":true}}

2018-10-11 12:27:12:183 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"28","text":"&","replace":false,"unicodeKeyboard":true}}

2018-10-11 12:27:12:183 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION

2018-10-11 12:27:12:183 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText

2018-10-11 12:27:12:183 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 28

2018-10-11 12:27:12:205 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().

2018-10-11 12:27:15:203 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending Unicode text to element: &

2018-10-11 12:27:15:203 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Encoded text: &-

2018-10-11 12:27:18:152 - [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}

2018-10-11 12:27:18:153 - [debug] [AndroidBootstrap] Received command result from bootstrap

2018-10-11 12:27:18:153 - [debug] [MJSONWP] Responding to client with driver.setValue() result: true

2018-10-11 12:27:18:154 - [HTTP] <-- POST /wd/hub/session/43823bcd-3213-4456-a8b8-c1962cf1a76d/element/28/value 200 5976 ms - 76

 

 

 

 

以上是关于Appium 输入 & 符号,实际输入&-的主要内容,如果未能解决你的问题,请参考以下文章

Appium - 我们啥时候使用触摸动作?我可以有实际的例子来输入文本吗?

C语言从键盘输入一个含有英文字母,英文符号,数字的字符串,如何过滤其中的字母??

appium自动化测试-控件定位&中文输入

python+Appium自动化:输入中文问题

在HTML文本中“&”代表啥符号?

如何使 < 和 > 作为 HTML 中的实际文本符号而不是标签 [重复]