Hi @Nivi_Mor
I got the below result while getting the attribute values.
element.getAttribute(“value”) resulting “null” and element.getAttribute(“checked”) resulting “WebDriverException”.
Please find the element details in Inspection mode(screenshot attached) and it looks it is not checkBox element and it doesn’t contains any checked attribute.
Inspector showing the checkbox element type as XCUIElementTypeOther also driver.getPageSource(); listing the attributes showing in the appium Inspector.
So please help me to identify the checkbox status.
In that case, I’m not sure how you will be able to check the status of the checkbox.
Usually, for checkboxes, radio buttons, switches etc., there is an attributed checked, or value that indicates their status.
I see in the screenshot that the element that is selected is the last one in a hierarchy of 4 elements. What sort of attributes do you get when you select the parent elements of the element that is selected in the screenshot?
Appium inspector resulting same attributes for those 4 parent items as well. It seems the problem with the checkbox element type: XCUIElementTypeOther instead of the actual element type something like XCUICheckBox
@ramesh_sriram So, what’s the final decision, Ramesh? We are also trying to automate React Native application using appium and we are facing the same issue. Did you find any workaround?