Radio buttons 'Get Attribute' Checked sometimes comes back with the wrong response

I extract data from a details page on a business system/ website. There are a number of Radio Buttons or Checkboxes. They are all checked via a get attribute activity some using aria-checked and some using checked but on occasion every 4th or 6th run it extracts the wrong state. I’m baffled as to how this is even possible.

This is one of almost 10 “Get Attribute” activities and at random if extracts the wrong state. (SEE BELOW)
image

How is this even possible?

1 Like

Hi @Mohammed_Akhtar

Instead of Get Attribute, did you try with Check Activity. It works for both radio and check boxes. Also, it will not throws an exception, if you’re trying to check the element which is already checked.

Capture

1 Like