Mobile Labs – How do I automatically close my device’s Keypad in UFT?

Category:
Question ID: 109003
1
0

I’m using the Set method to type text into a MobiEdit editbox, but my device’s on-screen keypad/keyboard is staying open and hiding objects and breaking the rest of the script. How to I automatically close they keypad upon entering text?

Marked as spam
Posted by (Questions: 359, Answers: 26)
Asked on April 30, 2019 3:08 pm
7 views
Answers (1)
1
Private answer

Try using the **Send** method instead of Set. This sets the value and submits it by passing ENTER which will automatically close the device's keypad.

Example:

MobiDevice(''Application'').MobiEdit(''EditBox'').Send ''Your Text''

Marked as spam
Posted by (Questions: 0, Answers: 707)
Answered on April 30, 2019 3:09 pm
Thanks! The Send method is exactly what I needed!
( at April 30, 2019 3:10 pm)