Selectors on the Click activity don’t consistently work. I’ll make a change to a selector on one activity, it works but then a different selector on a different activity fails. I attempt to fix the second one but now the previous activity fails with the same selector that worked on the previous run.
Use uiexplorer to get the exact selector and use dynamic selector.
- Adding wildcards characters in selectors
Asterisk (*) – replaces one or more characters
Question mark (?) – replaces a single character
for more info can use this link : https://studio.uipath.com/docs/selectors-with-wildcards
Use uiexplorer to get the exact selector and also please make a note of both the selectors. check the attribute which is changing dynamically. Assign a variable to it and pass dynamically in the form of string.