How do i get value of selected radio button

I am trying to get the value of the selected radio button, and 2nd is how to select the radio button from passing data through excel, how do I solve it the best way?

I am trying to get the value of the selected radio button

value is an HTML attribute, so try Get Attribute -- https://docs.katalon.com/display/KD/[WebUI]+Get+Attribute

how to select the radio button from passing data through excel

Sorry, I don’t understand the question.

I have 4 radio buttons

· First class

· Second class

· Third class

· General

If am selecting general then I want to print ‘General’ text on the console

And getAttribute not working

Get Attribute works. Without seeing more code, I can’t help you (my powers of extrasensory perception are, I suspect, as limited as yours) :wink:

Hi,
Thanks
Now get Attribute works for me,
Actually, the class attribute property was disabled in object repository after enabling its work.