Hi all,
I have a dropdown list of value with checkboxes.
How do I achieve checking if the boxes are checked or unchecked ?
Please attach an xaml file for easy understanding.
Thanks,
Uio.
Hi all,
I have a dropdown list of value with checkboxes.
How do I achieve checking if the boxes are checked or unchecked ?
Please attach an xaml file for easy understanding.
Thanks,
Uio.
Hi @uio ,
Please go through this article: How to check if checkbox is checked or unchecked
This method doesn’t work in drop down lists I guess.
You can use find children to get all check box elements of your dropdown list and after looping over them, use Get Attribute inside foreach.
You can use a “Get Attribute” activity to check if the checkboxes in a dropdown list are checked or unchecked.
Here’s a one-line solution for checking the “checked” attribute of a checkbox
yourCheckboxElement.Get("checked").ToString()
try this flow :
I’m unable to provide an XAML file directly, but you can easily create one by following these steps. If you encounter any issues or need more specific guidance, please let me know, and I’ll be happy to assist you further.
cheers…!
Due to some reasons, I cannot update my studio to the latest version. So I don’t have “Find Children” activity. A regex might help.
@uio , Find children activity is always there as I remember, you must be missing something like activity filters etc…
Hello @uio
Thanks & Cheers!!!
To identify the attribute indicate the elemnet in ui explorer and check which property is changing when check and unchecked…right top and bottom left panels will help in ifentifiying the attribute name
Cheers