The issue I have is you want to “record” this and the way I think it can be done may not be via recording. I would review the HTML of the radio buttons and see which attribute is similar in all of them, such as <type>. Then you can create a pathway that collects the list of radio button items (e.g. //input[@type='radio']). With the list, you can then move through it clicking and unclicking.
You can do this again with your checkboxes (e.g. //input[@type='checkbox']), or you can use an OR in the pathway to include both radio buttons and checkboxes into one list and do it in one pass (e.g. //input[@type='radio' or @type='checkbox']).