Recently i’m been using Katalon to script automation on my company’s app. However i encounter an issue while using the Mobile.setText() input with uppercase letter. The input with uppercase letters that i have set in the script will auto convert to lowercase. Did you guys encounter this issue or could mind anyone can share the solution? Thanks.
Can you tell us what platform you’re testing for (iOS/Android)?
I’ve had some better luck using the
sendKeys function vs. the
setText function. Here’s a post with some more info that could be helpful:
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:
Hope this helps,
I’m testingin Android platform with the real device model name call meizu. But i had no problem when im using the AVD emulator.
Thanks for the info. It could be the way real device keyboards are handled that is making the difference. Can you try the
sendKeys function to see if that works any better?