Hi, I am automating a web page that contains a table with multiple rows. Each row represents a document type (e.g., “Documento Aduanero”, “Selección de Aforo”, etc.), and each one has an icon (image) to download a PDF.
In my workflow, I’m using a “For Each Row” activity and a variable called tipoDoc, which dynamically holds the value of each document type. The goal is to click on the corresponding PDF icon only in the row that contains that specific tipoDoc.
However, even though the tipoDoc value changes correctly (verified through a Log Message), the click only works on the first row or fails to validate in UiPath Studio for other rows.
For your target, I see it’s a table element. In your target selector, you can add tablerow property which will correspond to the row index to help select the icon from different rows.