# Unable to press numpad. Unable to scroll down

**URL:** <https://community.smartbear.com/t/unable-to-press-numpad-unable-to-scroll-down/569>\
**Category:** Other Test Tools\
**Tags:** test, bitbar, migrated, latest\
**Created:** [August 13, 2026, 9:42am UTC](https://community.smartbear.com/t/unable-to-press-numpad-unable-to-scroll-down/569 "2026-08-13T09:42:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [August 13, 2026, 9:42am UTC](https://community.smartbear.com/t/unable-to-press-numpad-unable-to-scroll-down/569/1 "2026-08-13T09:42:32Z")

</div>

> Originally posted by **ljwleong** on August 13, 2026

Hi, I am unable to press on numpad and also unable to scroll down when trying automation in java code. (Java, server side appium)

I have tried these after searching online but does not work for me.

Numpad

[//wd.pressKey](https://wd.pressKey)(new KeyEvent(AndroidKey.DIGIT\_0));

[//wd.findElement](https://wd.findElement)(MobileBy.AndroidUIAutomator(“new UiSelector().text("1")”)).click();

[//wd.pressKeyCode](https://wd.pressKeyCode)(8);

[//wd.pressKey](https://wd.pressKey)(new KeyEvent(AndroidKey.NUMPAD\_1));

Scroll down

//String targetText = “Measurements”;

[//wd.findElementByAndroidUIAutomator](https://wd.findElementByAndroidUIAutomator)(“new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains("”+targetText+“").instance(0))”);));

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [August 31, 2026, 8:19am UTC](https://community.smartbear.com/t/unable-to-press-numpad-unable-to-scroll-down/569/2 "2026-08-31T08:19:04Z")

</div>

> Originally posted by **PallaviYawale** on August 31, 2026

Suggested approach is:

final var finger = new PointerInput(PointerInput.Kind.TOUCH, “finger”);

var start = new Point(188, 563);

var end = new Point (198, 264);

var swipe = new Sequence(finger, 1); swipe.addAction(finger.createPointerMove(Duration.ofMillis(0), PointerInput.Origin.viewport(), start.getX(), start.getY())); swipe.addAction(finger.createPointerDown(PointerInput.MouseButton.LEFT.asArg())); swipe.addAction(finger.createPointerMove(Duration.ofMillis(1000), PointerInput.Origin.viewport(), end.getX(), end.getY())); swipe.addAction(finger.createPointerUp(PointerInput.MouseButton.LEFT.asArg()));

driver.perform(Arrays.asList(swipe));
