I'm doing UI testing on a stand-alone application. We are going with UIA object recognition since we were having trouble before with other ways of implementation. Now that we have some part of of the software added to the object repositories, we noticed that some elements inside custom controls are not distinct from each other at all.
Going through the developers console, I noticed that there is "aria-hidden=True" statement in some of the elements that seem to be giving us difficulties. Changing that to "false" inside the console fixed the problem temporarily, but is of course not a permanent solution since that would kinda ruin the idea of automation in the first hand.
Is there a way to go around the aria-hidden statement with UFT? I tried some xpath and other DP implementations but I'm not sure if the problem is that they do not work with UIA or just that they cannot be found with the statement being true. Any tips for workarounds appreciated!