# SendKeys sending wrong keys

**URL:** <https://discuss.appium.io/t/sendkeys-sending-wrong-keys/14542>\
**Category:** Support\
**Created:** [February 1, 2017, 3:37pm UTC](https://discuss.appium.io/t/sendkeys-sending-wrong-keys/14542 "2017-02-01T15:37:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickesnick](https://discuss.appium.io/letter_avatar_proxy/v4/letter/r/82dd89/32.png) [@rickesnick](https://discuss.appium.io/u/rickesnick)\
**Post date:** [February 1, 2017, 3:37pm UTC](https://discuss.appium.io/t/sendkeys-sending-wrong-keys/14542/1 "2017-02-01T15:37:59Z")

</div>

Hi, Short question.

My send.Keys() method is not working correctly. Im trying to sendKeys(“123456-7”) but in the application its shown as “1234567-”, the appium server even says info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 123456-7.

Any idea what might be wrong?  
Android, Java , Appium 1.4.16.1

Thanks for help

---

<div class="post-metadata">

**Author:** ![Telmo\_Cardoso](https://discuss.appium.io/user_avatar/discuss.appium.io/telmo_cardoso/32/1435_2.png) [@Telmo\_Cardoso](https://discuss.appium.io/u/Telmo_Cardoso)\
**Post date:** [February 1, 2017, 4:13pm UTC](https://discuss.appium.io/t/sendkeys-sending-wrong-keys/14542/2 "2017-02-01T16:13:17Z")

</div>

Hi,

you should **upgrade your appium version** and try again.

I also have one device that is not able to receive the text from sendkeys in proper order, for that device I use adb command inside a loop for each character. In **pseudo-code** it looks like this

```
String text = "mystring"
for (char ch: text.toCharArray()) {
    adb -s «id» shell input text «ch»
    Thread.sleep(someDelay)
}

```

For spaces I send %s

---

<div class="post-metadata">

**Author:** ![rickesnick](https://discuss.appium.io/letter_avatar_proxy/v4/letter/r/82dd89/32.png) [@rickesnick](https://discuss.appium.io/u/rickesnick)\
**Post date:** [February 2, 2017, 7:48am UTC](https://discuss.appium.io/t/sendkeys-sending-wrong-keys/14542/3 "2017-02-02T07:48:55Z")

</div>

Hi, maybe stupid question.  
But when I start appium it says "

> Checking if an update is available  
> Update not available

Also the latest version when I download from their page is 1.4.16.1, what am I missing?

---

<div class="post-metadata">

**Author:** ![Telmo\_Cardoso](https://discuss.appium.io/user_avatar/discuss.appium.io/telmo_cardoso/32/1435_2.png) [@Telmo\_Cardoso](https://discuss.appium.io/u/Telmo_Cardoso)\
**Post date:** [February 2, 2017, 9:23am UTC](https://discuss.appium.io/t/sendkeys-sending-wrong-keys/14542/4 "2017-02-02T09:23:17Z")

</div>

Well, GUI version is still not available. You can download appium latest version with

```
npm install -g appium

```

and there is also some tips around on how to use old GUI with new appium. Jonathan yesterday opened an issue to release a new appium GUI 🙂 so that option will also be available soon I guess:

> <https://github.com/appium/appium/issues/7791>

---

<div class="post-metadata">

**Author:** ![rickesnick](https://discuss.appium.io/letter_avatar_proxy/v4/letter/r/82dd89/32.png) [@rickesnick](https://discuss.appium.io/u/rickesnick)\
**Post date:** [February 2, 2017, 3:12pm UTC](https://discuss.appium.io/t/sendkeys-sending-wrong-keys/14542/5 "2017-02-02T15:12:14Z")

</div>

Thanks for your help, appreciate it!
