Dynamic selector doesn't work

hello everyone
I’m using a dynamic selector like the picture below.
i don’t know why but the selector is not dynamic.
Can anyone suggest me a reason?
thank you in advance


PS: the variable “position” is an int and it refers to the position where the click should be done.

Hi @Dhouha_Cherif ,

Where exactly it is failing from editor window? it seems the selector is valid.
Is it failing in loop when bot is trying to click next item?
Are you adding + 1 to position variable for every iteration?

Also remove idx = ‘*’ tag. UiPath doesn’t recommended idx values greater than 2 because all such values indicate unstable elements

Refer this:

Also is it possible for you to find an anchor and use anchor base activity?

2 Likes