How passing dynamic value to parentID?

How passing dynamic value to parentID?
I have to click every row of the table in the pic.


I get all data in the table into Datatablle (A1DT).
How can passing dynamic value to tablerow?
In the row 1, TableRow could be ‘3’,
row2, TableRow could be ‘4’
I wonder how to pasing variable to Tablerow?

Please advise.

u can use a counter variable and put in selector as a format of string and concatenate counter with string

If possible can u share the selector too so that i can give u a idea of how the creation of dyanmic selector @Supakinee_Navawong_na_ayu

This is in the selector.

image

can u send the selector in forum @Supakinee_Navawong_na_ayu as a message?

< html title=‘ACQ_UAT1’ />
< webctrl parentid=‘EDIT’ tableRow= ‘3’ tag=‘IMG’ />

[quote=“Supakinee_Navawong_na_ayu, post:8, topic:292118, full:true”]
“< html title=‘ACQ_UAT1’ />< webctrl parentid=‘EDIT’ tableRow= ‘”+counter.ToString+"’ tag=‘IMG’ />"

Try using this

Regards

Nived N
Happy Automation

image

Validate is not pass. T__T

Hi @Supakinee_Navawong_na_ayu

You can try like this

assign the selector to a string variable

selector = “< html title=‘ACQ_UAT1’ />< webctrl parentid=‘EDIT’ tableRow=”+counter.ToString+"’ tag=‘IMG’ />"

then put that seelctor variable in seelctor property panel of the activity

Hope you got the logic

Regards

Nived N

Happy Automation