Getting the value of a toggle button (enabled or disabled)

Hi,

Was wondering how to get the value of a toggle button whether or not it is currently enabled or disabled. Appreciate the advice.

image

1 Like

Hi @jepviterbo there are multiple ways you can get the value either you can use get attribute activity in uipath studio or use to do the needful. It will be easy for people to give solution if you could share the url if its not confidential.

use t Get Attribute activity → do the selector → get the class attribute as return → log the values of the class and verify. There could be a change in class when enable/disable. Based on that you can do perform the action.

4 Likes

Thank you @Akshay07 but it is confidential. I see the value is in parentclass though.

1 Like

Thank you very much @GBK! This solved it for me.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.