i using appium mobile automation in came across situation need click on "done" button on mobile virtual keyboard after providing input. how possible in appium using webdriver?
i believe solution @slavo deprecated in appium. though adb commands same key-event should work i.e
adb shell input keyevent 66in of cases input single liner e.g. performing search. in case can make change previous line :
webelement mytextview = <find text-view> mytextview.sendkeys("your-text/n"); // "/n" new line in javayou can hide keyboard , perform actions using other screen widgets thereon. :
driver.hidekeyboard(); webelement othergoodtogobutton = <find other useful button/widget> othergoodtogobutton.click();clicking screen coordinates using
touchactionsway wouldn't suggest using it.
Comments
Post a Comment