Find Text work strange

Activity Find Text return Uielement, if insert that element into Click, all works fine. But if i try get selector UIelement.Selector.toString that return parent selector from Find Text. Should it work like that?

I expect it that way: you have an UiElement pointed from a selector and refined with a clipping region. If you just point the selector, this is the selector of the parent by essence.

EDIT: You might want to try to FindChildren with FIND_DESCENDANTS scope and filtering at least by text.
an example of filter: <ctrl text=pattern matching:text='regex' />
with pattern as a regex pattern


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.