Select the last row of a table in a web page

Hi, i’m new using UIPath, and i have a problem with a Selector, i need select the last row in a table of a web page, i try using negative values in the field “tableRow” but don’t work, any idea?
My english is a work in progress

Selector:

<webctrl isleaf='1' tableCol='3' tableRow='4' tag='TD' />

The number of rows in the table are random

Hi,

Can you try the following steps?

  1. Get DataTable of the table using DataScraping Wizard. (Let’s say dt)

  1. Get number of rows using dt.Rows.Count
  2. We can find rowIndex of the last row from result of 2.

Regards,

1 Like

Thank you so much, it was just what I needed!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.