Autocomplete fields handling

I am not able to handle Autocomplete fields in android app. We are able to enter required data in autocomplete textfield, but when we clicked on next button that sutocomplete textfield cleared and displayed validation. How to handle Autocomplete Textfield. Please help… As soon as possible…

1 Like

Hi,
I had the same problem and managed to find a workaround:
I use this in the driver, instead of using Appium, I used ADB commands to fill only auto-complete fields.
Not a real solution, but definitely a work-around.

import os

def inputTextByADB(self, el, text):
el.click()
os.system(‘adb shell input text “{}”’.format(text))
os.system(‘adb shell input tap 0 0’)

1 Like