I'm using the latest Ranorex (6.2.0) and looks like that bug with retrieving attribute value from complex JavaFX controls still have some issue.
There is custom checkbox in in my SUT, so Checked attribute doesn't represent control state correctly. In the same time, this control has CheckState attribute. Here is workaround how this attribute can be correctly retrieved:
Code: Select all
checkboxAdapter.Element.GetAttributeValue("CheckState"); // gets correct value
checkboxAdapter.GetAttributeValue<string>("CheckState"); // gets null
Regards