How to handle Radio button from Excel


#1

I’m updating data from excel. I’m unable to select either Female or Male.
I recorded the script with Male.
It is selecting only Male though i have Female in excel.

Please do the needful.


#2

Use If condition and use Male click in If condition and Female click in else condition irrespective of what is on the screen.

If (ExcelValue = “Male”)
Click Male
else
Click Female


#3

Thanks Vaidya. For Male ad Female If will work if we have more than 2 what is approach. Can you please tell.

For e.g if we have High school, graduation, PG and Phd

Thanks
Ravi


#4

You can do that by using Find Element and passing variable Aaname value( from excel) into selector, once found use click activity.

You could still use nested if


#5

Thanks. Nested if activity in UIPath. Please