I am automating an SAP application and need to Check/Uncheck a checkbox.
If the checkbox is already checked, no action to be taken.
However, I am unable to directly access this element on the GUI.
I have used the getAttribute activity to no avail
Also used the image exists activity, which often yields false positives.
How can I determine whether a checkbox is checked or not before working with it?
Hi @Ramashita I had the same issue to identify whether check box is ticked or not. I found your post in forum and your question only solved my problem.
Yes, I am able to get the value of checked property in True or False by using Get Attribute activity. Thank you @Ramashita Note: Things to remember here that checked attribute returns a Boolean not String