Check box Tick

Hello guys,

I have a check box.

image

i need to validate the check box is ticked or not.

i have used image exist its not working because there are some check box in the same window.
So is there any method to check for that.

@Gokul_Murali

You can use get attribute activity and get the value of the checked attributed to see it

It would be true if checked else false

Cheers

Hey @Gokul_Murali ,

Try using the below activity.
image

It will return a boolean value.

Thanks,
Sanjit

1 Like

Hey @Gokul_Murali ,
You can do this using “Get Attribute”

image

Output :
image

Regards,

image

The output variable is not Boolean it is string.
So how can i use it in “IF CONDITION”.

Hi @Gokul_Murali

You can set the output variable type as boolean.

Thanks Mate

@Gokul_Murali
Hey Gokul even though you will get the output in String Variable ,There will be only two Outcomes
Either “checked” or “unchecked” so you can mention the same in the if Condition

image

If "checked " : Then the "then " part will execute
else -"else " part will execute(that is “unchecked”)

Regards,

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