Hi @shitaltadas ,
I’ve also found that sendKeys()
is sometimes more reliable than setText()
. Note that you’ll need to tap into any field you want to type first, so that the keyboard opens.
Here are some details about how to do that:
Hi Ashish,
Alternatively to setText, you can try Katalon’s sendKeys function:
Using Katalon’s sendKeys function:
Add this import to your test file:
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
Then send the keys to the textField Test Object:
Mobile.sendKeys(textField, "My Value");
Using Appium’s sendKeys function:
If that doesn’t work, you can try using Appium’s sendKeys function directly:
Add these import statements to the top of your test file:
import i…
Hope this helps,
Chris