How to check if button is active or not?

thanks, as by given situation I would suggest to swith to second option

fine if we are able to identify with a color for that element whether its active or not then
we can use IMAGE EXISTS activity where choose that element when highlighted as a image and get the output with a variable of type boolean named bool_exists

from @Palaniyappan

For the compair image creation you can combine:
find element - let point to the button of interest
pass the found element to take screenshot
and save the image with save image activity

Do this in a seperate sequence. This allows you to create a more accurate image as to do this with snipping tool or similar tools

1 Like