sendKeys not workin on MultiAutoCompleteTextView
Hi,
I need to fill a MultiAutoCompleteTextView input field on Android with a long random generated email address in my tests. Previously we used getKeyboard().pressKey() but now we updated our java-client to 8.2 and it is deprecated. I tried sendKeys and despite visually it is filled the field itself doesn't detect it so I cannot press the next button in our app. As I need to input a long randm generated email address adding the characters one-by one with pressKeyCode is not solution. Can you suggest anything else?
Environment
- Java client build version or git revision if you use some snapshot: 8.2
- Appium server version or git revision if you use some snapshot: 1.22
- Desktop OS/version used to run Appium if necessary: Both Win11 and Mac
- Mobile platform/version under test: Android
- Real device or emulator/simulator: emulator
You could try w3c actions or https://github.com/appium/appium-uiautomator2-driver#mobile-type
Also the Appium version being used in not maintained anymore. Consider switching to Appium 2
Also the Appium version being used in not maintained anymore. Consider switching to Appium 2
Is it fully released now? We made a POC around 2 months ago but it was still in beta
@mykola-mokhnach thanks for the suggestion the mobile: type method works!