This is my case:
let passwordSecureTextField = app.secureTextFields[\"password\"] passwordSecureTextField.tap() passwordSecureTextField.typeText(\"wrong_pass
In my case this Hardware -> Keyboard -> Connect Hardware Keyboard -> Disable didn't worked for me.
Hardware -> Keyboard -> Connect Hardware Keyboard
But when I followed
1) Hardware -> Keyboard -> Connect Hardware Keyboard -> Enabled and run the app 2) Hardware -> Keyboard -> Connect Hardware Keyboard -> Disable.
It worked for me