Hi,
I am unable to send arabic text in a text field by using the .sendkeys("الشرق") command using selinium for Android App. I tried to convert the string using the charset UTF-8. but not displaying the ARABIC text or Arabic- English combination text in the text field. Kindly let me know if anyone face similar issue and solved it.
Please see the below appium log
[HTTP] --> POST /wd/hub/session/9909c131-6d14-4068-93be-0983308b901a/element/9/value {"id":"9","value":["الشرق"]}
[MJSONWP] Calling AppiumDriver.setValue() with args: [["الشرق"],"9","9909c131-6d14-4068-93be-0983308b901a"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"9","text":"الشرق","replace":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"9","text":"الشرق","replace":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 9
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text remains after clearing, but it appears to be hint text.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text not cleared. Assuming remainder is hint text.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: الشرق
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.setValue() result: true
Thanks..
created
Apr '17
last reply
Jan '19
- 22
replies
- 1.4k
views
- 3
users
- 1
like
- 3
links