Hey guys!
I’m new to Katalon and I’ve started coding a couple Mobile scripts.
But I’m having a problem with sendKeys method. It just doesn’t work.
There’s a search field in the app and I need to press Keyboard Enter key to advance to the search results. But none of my tries actually worked.
I’ve used the manual recording and he generated me this line:
Mobile.sendKeys(findTestObject('POC/android.widget.EditText0 - myapp), Keys.chord(Keys.ENTER))
which doesn’t work.
These won’t work either:
_Mobile.sendKeys(findTestObject('POC/android.widget.EditText0 - myapp), Keys.ENTER)
_
_Mobile.sendKeys(Keys.ENTER)
_
Or any variables.
I search at the oficial documentation aswell and found nothing about Enter Key.
https://docs.katalon.com/display/Documentation/[Mobile]+Send+Keys
Does this method works for any of you? Can you give me a tip?
Thanks!