# How to press on the right arrow button in android keyboard

**URL:** <https://discuss.appium.io/t/how-to-press-on-the-right-arrow-button-in-android-keyboard/45408>\
**Category:** Issues/Bugs\
**Created:** [February 1, 2025, 1:17pm UTC](https://discuss.appium.io/t/how-to-press-on-the-right-arrow-button-in-android-keyboard/45408 "2025-02-01T13:17:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harish1](https://discuss.appium.io/letter_avatar_proxy/v4/letter/h/b77776/32.png) [@Harish1](https://discuss.appium.io/u/Harish1)\
**Post date:** [February 1, 2025, 1:17pm UTC](https://discuss.appium.io/t/how-to-press-on-the-right-arrow-button-in-android-keyboard/45408/1 "2025-02-01T13:17:03Z")

</div>

I have used different method to click on the blue right arrow key in the keyboard like

Runtime.getRuntime().exec(“adb shell input keyevent 66”);

driver.pressKey(new KeyEvent(AndroidKey.ENTER));

Also used below keycodes  
AndroidKey.SEARCH  
AndroidKey.NAVIGATE\_NEXT  
AndroidKey.CTRL\_RIGHT  
AndroidKey.TAB

But nothing was pressing that key, how to perform pressing on the blue right arrow key

I have attached the screenshot for reference.

 ![IMG_20250201_184630](https://discuss.appium.io/uploads/default/original/2X/b/ba2900e6bbc7e2804f864c561c2fee4612788bff.jpeg)

---

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [February 1, 2025, 3:11pm UTC](https://discuss.appium.io/t/how-to-press-on-the-right-arrow-button-in-android-keyboard/45408/2 "2025-02-01T15:11:20Z")

</div>

Try read logcat logs while you press it manually. I bet it should help undertand how press it with code…

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [February 1, 2025, 3:52pm UTC](https://discuss.appium.io/t/how-to-press-on-the-right-arrow-button-in-android-keyboard/45408/3 "2025-02-01T15:52:03Z")

</div>

Try [GitHub - appium/appium-uiautomator2-driver: Appium driver for Android UIAutomator2](https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-performeditoraction)
