How to count rows in a web table


I’m trying to count how many rows are available in attached web table

Kindly, Guide me how to proceed further

thanks in adv

Hi @rsr.chandu

Use the Extract table data activity

create an output variable then use this expression



Hi @rsr.chandu

If you want to count the rows of a data table then

Assign-> RowsCount=DT.Rows.Count

I hope it helps!!

If you are using Modern Design then use For Each Ui element Activity to and inside use counter to count total rows.

If you are using Classic Activities then you need to Extract datatable through Extract DataTable activity and then you can count the rows like this.


you can make custom For Each Ui Element through Elememt Exist and while loop.
Because Element Exist is not available in classic mode.

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