Hi,
I need to test part of my app that has NSMenuItem, and I need to get the status (if its checked or not),
the accessibility inspector shows the checkmark as AXMenuItemMarkChar but I cannot get the value of that too,
the menuItem is associated with a NSButton which changes the NSControlStateValue but I cannot get the value of that too, either value will fix my problem. how can I get the value of either AXMenuItemMarkChar of NSMenuItem or NSControlStateValue of NSButton?
Detecting NSMenuItem in XCUITest
Have you tried .isSelected?
yes, .isSelected always returns false