Radio button for male and female

Hi
I want to generate id for which I want to select different radio button for male and female. how to do it?
TIA

@Cuberoot

Plz give more clarity about your use case and the actions that you are trying to automate.

If you just want to choose a radio button based on an input you can use an if condition and inside that use click activity or check activity.

Thanks

Hi
I have different data of male and female.How to select male and female.Whenever I tried it click on female.It select female because 1st data is female.
image

Either you van use an if condition and check gender=“male”, then click on the respective radio button…else click on the radio button of female…

Another approach- check in the selector you will find some attribute which determines the gender…Make it dynamic by passing the variable

while running the bot I am getting this error


Please help me how to resolve it.
TIA