Did you find a solution to this problem? I have run into same issue. "class" attribute on "g" elements is not identified by Ranorex. It's identified by browser and properly styled according to that class though. Other attributes of the same element works fine.
Easy workaround exists, just by running this javascript and in Ranorex, instead of @class selector, use @data-class selector.
Code: Select all
var elems = document.querySelectorAll('g[class]');
for(x = 0;x < elems.length;x++){
elems[x].setAttribute('data-class', elems[x].getAttribute('class'))
}