How to Get Column Text with Row be Checked in Browser Dynamic Rows Checkbox?

Hi,

I’m very new UiPath Studio user,
I read some similar topic about my question, but I still confuse.

擷取

The goal is getting the column contexts with the row which be checked.
I try to get column context with specific row successfully.

When I try to do with dynamic rows, I confused.
The rows maybe single row or 2 rows or 10 rows. Not over then 30.

The following code is checkbox selector

<webctrl id='Frame1' tag='FRAME' />
<webctrl id='ctl00_ContentPlaceHolder1_Grid1_ctl02_CheckBox' tag='INPUT' type='checkbox' aaname='' />

Checkbox row is ctl00_ContentPlaceHolder1_Grid1_ctlN_CheckBox
N is row number start at 02,03,04…

The following code is the column 3 with row ctl02, ctl03, ctl04
I don’t know why selector don’t get the tableCol value.

<webctrl id='Frame1' tag='FRAME' />
<webctrl id='ctl00_ContentPlaceHolder1_Grid1' tag='TABLE' />
<webctrl isleaf='1' tag='TD' />

<webctrl id='Frame1' tag='FRAME' />
<webctrl id='ctl00_ContentPlaceHolder1_Grid1' tag='TABLE' />
<webctrl isleaf='1' parentid='ctl00_ContentPlaceHolder1_Grid1' tableRow='17' tag='TD' />

<webctrl id='Frame1' tag='FRAME' />
<webctrl id='ctl00_ContentPlaceHolder1_Grid1' tag='TABLE' />
<webctrl isleaf='1' parentid='ctl00_ContentPlaceHolder1_Grid1' tableRow='32' tag='TD' />

The following code is the column 4 with row ctl02, ctl03, ctl04
Selector gets the tableCol value.

<webctrl id='Frame1' tag='FRAME' />
<webctrl id='ctl00_ContentPlaceHolder1_Grid1' tag='TABLE' />
<webctrl isleaf='1' tableCol='4' tag='TD' />

<webctrl id='Frame1' tag='FRAME' />
<webctrl id='ctl00_ContentPlaceHolder1_Grid1' tag='TABLE' />
<webctrl isleaf='1' parentid='ctl00_ContentPlaceHolder1_Grid1' tableCol='4' tableRow='17' tag='TD' />

<webctrl id='Frame1' tag='FRAME' />
<webctrl id='ctl00_ContentPlaceHolder1_Grid1' tag='TABLE' />
<webctrl isleaf='1' parentid='ctl00_ContentPlaceHolder1_Grid1' tableCol='4' tableRow='32' tag='TD' />

tableRow sequence lookalike 2(?)-17-32-47 for row1, row2, row3, row4…

Which activities are my needed and how to do?
For Each? to search all row?
Find Element? to find out which checkbox be checked?

Hi @Mathew ,
For changing the attributes of selector, you can try with UiExplorer.

Hi @SaranyaKishore ,

Thanks for reply,
I found out another way by using Table Extraction to take the columns and rows data I need.
It is easier to me.

1 Like