Page 1 of 1

Set text

Posted: 14 Feb 2017 16:59
by Akt
Hi,
What is "pattern" in settext2 function of control UI ??

Re: Set text

Posted: 14 Feb 2017 21:08
by Martin
Hi,

"pattern" is the pattern that is used to find the text field on the screen. For buttons it's the label of the button for text fields it's the text contained in the field which might even not be known at all when the text field is empty. You might have to use the function setText2(x, y, text) to find the text field by x/y-coordinate or the function setText2ById when supported on your device (Android 5+).

Regards,
Martin

Re: Set text

Posted: 15 Feb 2017 01:50
by Akt
Thanks Martin