Identifying selections on screen to do an activity

Hello guys, how are you?

I have two questions:

  1. How do I make sure that if a ckeck box is unchecked the robot clicks and if it is already checked it ignores this action?

  2. And, in the second case, where I have the information β€œ21”, he deselects another check box, otherwise he ignores this change.

help_uipath

Thaks a lot!

Hi @Gustavo_Lopes

There is attribute for this in selector

I think it is checked attribute if it is 0 then it is unchecked

If it is 1 , it is checked

1 Like

Hi @Gustavo_Lopes,

For question1, there will be a property called aastate when you indicate the element using UiExplorer, that property will give the correct state of the checkbox.

For question2, you can use get text activity to extract 21 from the screen and checking it or you can explore the properties of that element in the UiExplorer, I believe the text or aaname property will have the value.

Happy coding! :smile:

3 Likes

@NIVED_NAMBIAR, this helped a lot.

Thank you!

1 Like

Mark it as solution if you got it @Gustavo_Lopes

1 Like

@Udhay, thanks.
I use the β€œchecked” attribute indicated by @NIVED_NAMBIAR for the first situation and your indication for the second issue.
Thanks a lot!

1 Like

Hi @Gustavo_Lopes, please mark @Udhay answer as solution too I think he has help you in another case

1 Like

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