How can we select Radio button located on uipath form using arguments from the workflow. or is there any other way?

I am working on creating a test case for an automation which has UiPath Forms. My understanding, mock testing cannot be done on UiPath forms. I am trying to pass the test data into the UiPath form using arguments. My question is,

can we pass a value from the workflow to the UiPath form so that we can select a Radio button which is on the UiPath form

Please suggest, thanks!

Hi @SVC,

Yes, you can pass a value from the workflow to a UiPath Form to preselect a radio button. Use the FormFieldsData property in the Create Form activity. Pass a dictionary like:


New Dictionary(Of String, Object) From {
{“radioButtonKey”, “OptionValue”}
}

The key must match the field key of the radio button group in the form.

Thanks,
AJ

Hi @SVC

OR