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: 424, Answers: 91)
Asked on April 30, 2019 3:08 pm
109 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: 771)
Answered on April 30, 2019 3:09 pm
0
Thanks! The Send method is exactly what I needed!
( at April 30, 2019 3:10 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top