Hi,
What is "pattern" in settext2 function of control UI ??
Set text
Moderator: Martin
Re: Set text
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
"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