Hello All,
I have recently started using AppiumStudio. For most of it, it is much better than plain Appium but I have found one feature that apparently is supported in only in Appium: send {TAB} key (keyCode 61 as per Android documentation)
It looks like it is indeed not supported as in the AppiumStudio IDE: there is only SendKeys() function available, which supports {ENTER} and {BKSP} but no other special keys
I’m not sure if I’m doing everything correctly, as my understanding was that this driver was an extension of Appium and every feature supported by it would be supported. I tested an equivalent code using Java and Appium and it worked perfectly.
Here is my environment:
I’m using appiumStudio as driver, my code is in a visual studio project using NUnit and c#
The driver is created with:
driver = new AndroidDriver(new Uri(“http://localhost:4723/wd/hub”), dc);
Everything works fine, until this line:
driver.PressKeyCode(61); // Send tab
Here is the error trace:
Result StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.Appium.AppiumDriver
1.OpenQA.Selenium.Appium.Interfaces.IExecuteMethod.Execute(String commandName, Dictionary2 parameters) at OpenQA.Selenium.Appium.AppiumCommandExecutionHelper.PressKeyCode(IExecuteMethod executeMethod, Int32 keyCode, Int32 metastate) at OpenQA.Selenium.Appium.Android.AndroidDriver
1.PressKeyCode(Int32 keyCode, Int32 metastate)
at AndroidApp.compra.Testcompra() in line 95
Result Message: System.NotImplementedException : Not Implemented (pressKeyCode with keycode=‘61’ is not implemented)