TestProject Forum

General => Appium => Topic started by: Harry on August 31, 2016, 10:09:21 am

Title: Entering numeric values numpad with Appium ?
Post by: Harry on August 31, 2016, 10:09:21 am
I'm trying to send numeric keys to an android numpad,

I tried the selenium sendKeys method but it does not affect the view

does appium have a standard method for this ?
Title: Re: Entering numeric values numpad with Appium ?
Post by: Luthar on September 04, 2016, 20:22:27 pm
Code
driver.sendkeyEvent(key);

You can find all key codes here:
https://code.google.com/archive/p/androhid/wikis/Keycodes.wiki