How to make radio buttons and check boxes dynamic?

Hello all,
I am new to UiPath Automation Tool and recently I have been trying to create small workflows, out of which in one workflow I have to select the radio buttons and multiple check boxes based on an excel file (which act as an input file ). I have tried various activities like check and Click activity but it doesn’t seem like working.

Could anyone please help me.
Thankyou

1 Like

Hi @Preetika_Rauthan

Welcome to Community,

Please help to add the screenshot of the Selector for the checkbox and radio button.

Thanks

You have to call variables to the selector. Once you identify the selector dynamic part of that selector has to be replaced by your variables. You can call the variables to selector using {{variable name}} this syntax.

1 Like

Hey @Preetika_Rauthan

Identify your selector for the check box and see if you can find the label attribute in the selector which will be most probably in the aaname or innertext and pass the dynamic variable which holds value from Excel as suggested by @Thanu_Matheesha1

Thanks
#nK

Thankyou all for you suggestion, actually there is no valid selector which is common on all the options.
You may check the flow on this site: www.botsdna.com
under this site please click on Remote Desktop

1 Like

Hey @Preetika_Rauthan

I have opened the site and navigated to the menu page “Remote Desktop”

But I don’t see any check boxes or radio button?

You are looking to click password column buttons ?

Thanks
#nK

Hi! i am really sorry, it was “Server Creation” page not “remote Desktop”.

1 Like

Hey @Preetika_Rauthan

I have checked it now, looks perfect for me.

Could you please show the selector you are using ?

Thanks
#nK

Hello @Preetika_Rauthan ,

As you mentioend you need to refer an excel for selecting the checkboxes. Does that mean based on that you need to write the condition to select the checkbox or you need to pass the value from Excel to the selector.

If you want to write some conditions and for selecting the checkbox, you can try computer vision activites. Also if its a web\Desktop applicatin you can try with App\web recorder it will create the identifiers based on anchors.

Hello @Nithinkrishna I have used switch case here, my selectors were not working as ‘aaname’ was same for all the other fields for HDD and also for Applications too.

1 Like

Yes @Preetika_Rauthan

Kindly show us the selectors to suggest please…

Thanks
#nK