Hi, i have a find children activity and i need the current Row number which the bot is currently reading, how do I get this information?
Which type of UiElement is yours (on which you are using Find Element)
Table or grid or dropdown ?
Could you also please show a snap of it…
So, Is your requirement is to get the iteration number of for-each ?
For first element it will be 0
For second element it will be 1
Could you please confirm ?
unfortunately no, the For Each only gives me the visible text
I just made a mark in your image, please check above…
Use a variable to store that index value.
Inside for-each print it in log message by adding
1 to it.
Number + 1
Print the above in log as you already halfway did (just add +1)
See the output whether it is printing your row numbers as required.
it gives me the right number and how can I tell it to click this entry?
Use click activity and pass your foreach element to it in the element property of click activity.
This should help.