Citrix - Key press/select

Hello Everyone,

I am working on a citrix environment. As I cannot identify whether a button is enabled/disabled, Is there a way to identify the no of tabs, does the screen allows. For example - If my screen has 5 buttons and I get a count value of 4( TAB PRESS COUNT), I can find out that the remaining button is disabled. In my application, I already know which button is disabled but I want to guide robot. Once I find the disabled button, I will perform certain actions. If all the button are enabled and I get a count value of 5, then I will perform a different action. Any help would be appreciated. I can’t use click image/image exists as it is an old application and there is no unique property to identify an element.

This approach is to find a solution for my other post. Looking for help please