How to check the state of a button in a desktop application?

buttonstatenegbuttonstatepos

How to check the state of the subject button: if it is enabled or disabled?

Hi @anandhan
you can use Wait for image action to look for a specific state of the button, put the result in the boolean variable, and set different actions depending on its value.

Thank you very much. Will try that.

1 Like