Inside a for each i assign the row index into a variable called “indice” = MiDTCiclo.Rows.IndexOf(row) + 1 where MiDTCiclo is the datatable no problem so far but in some condition is true i need to click on an item that belong to that row so i have the next selector:
but is not working like that, but if i change indice to 3 it works what could i do ?
This happens when you paste your dynamic selector into the Selector Editor dialog box.
Rather try concatenating the dynamic selector onto a single line (as you have multiple lines in your case), enclose it within double quotes. Like this (I have removed some lengthy selector elements to make it easy to show you.)