Skip to main content

Unable to enter text in fields on Huawei devices

When testing on some Huawei devices, tapping the Password field might cause the on-screen keyboard to display and cover the field. This prevents the test to successfully enter a password, leading to failed tests.

To resolve the issue, use the Mobile.hideKeyboard() keyword to dismiss the keyboard when it obstructs the password field.
import com.kms.katalon.core.model.FailureHandling as FailureHandling

Mobile.hideKeyboard(FailureHandling.OPTIONAL)
Was this page helpful?