Questions about UI Interaction click by text content action

jenokizm

New member
hi, im using UI Interaction -> Click -> Text content

mduiic.PNG

could you answer a few questions about the logic of this action:
1) is this a case insensitive comparison? i don't see the switch it
2) how does it work if the application has more than one button with this text? will the click be on the first or on all?
3) is it possible to use an "OR" operator? let's say in different cases the button can be named differently and you need to click on any of them that is on the screen. example: Start game OR Continue game
 

Endercraft

Moderator (& bug finder :D)
1) There is not a case insensitive option. It must match perfectly.
2) From what I have seen, it will click on the first matching text it finds.
3) I don't think there is a OR operator unless there is regular expression matching. Something you can do is use 2 UI Interactions, that click on the 2 components. Or you can use read screen content with the correct key (may be more reliable).
 

jenokizm

New member
@Endercraft, thanks for the answer!
is there a technical reason why you didn't implement it? I mean support for any case and regular expressions.
it would also be nice to have the option to click on the first or all found.
 
Top