Auto tick the checkbx as per value in excel

Hi All,

I have created a list array to store as follow:-
New List(Of String) From {“EXTENSION TO THAILAND”, “STRIKE”, “RIOT AND CIVIL COMMOTION”}

My expectation is to auto tick:
first loop to tick “extension to Thailand”
second loop to tick “STRIKE”
third loop to “RIOT AND CIVIL COMMOTION”

I have created the Check activity and with below selector :-1:

note : strValue is the looping value



But it doenst work above, please advise.

image

Hi @jiechiat83_Low,

You should select only the box, not the text.

Still you should anchor the box to the text, probably

It may be selector problem

Please show your selector of activity you are using

Hi Sagar,

this is my selector. I m using UI Explorer to get the selector.

please enlighten where is goes wrong. tq

right click on check id and click on edit selector then paste it here then i will help you to make it dynamic
thanks
Have a great Weekend!

Hi,

the selector for the coverage description:

if able to get tow tablerow, then i can create the check activity by passing tablerow.

please help. Thanks

notice the selector is missing when i reply, here you go:

“html app=‘chrome.exe’ htmlwindowname=‘remote’ title=‘Extra Coverage’ />

<webctrl isleaf=‘1’ tableCol=‘2’ tableRow=‘3’ tag=‘TD’ aaname=‘COMPENSATION FOR ASSESSED REPAIR TIME (CART) - (7 DAYS x RM50)’ /”

if i able to get the tablerow, then i can pass the return tablerow into check activity:

"webctrl name=‘cew’ tableRow=‘{{row}}’ tag=‘INPUT’ type=‘checkbox’ "

appreciate ur help. thanks