State of checkboxes and radio buttons using CV

Hi,
How to get the state of check boxes and radio buttons using computer vision/image activities.
I’m capturing screens of an RDP, need to check in few check boxes and have to skip if already checked in.

@Ani

Check with Image Exists or Get attribute activities.

CV doesn’t yet detect the state of checkboxes and radiobuttons, but we’re working on it and it’s coming.

In the meantime, you can use ImageExists to check state.
GetAttribute doesn’t work, it’s only applicable on local desktop apps.

3 Likes

I have tried ImageExists captured the image with the check box checked. It doesn’t return false if the check box is unchecked, then tried by changing the accuracy to 1.0 but for the match(checked and unchecked) it returned false.
Do you have any suggestion

1 Like

Try a value in between, maybe around 0.9

Also make sure the image that is being searched is as tight as possible around the checkbox

3 Likes

Is this option available now?

Hi @Ani

Try this and let me know

Use Check CV activity

Give the Action as check
If the checkbox is already checked it will leave as it is it will not make any change
If not it will check

Regards
Sudharsan