I am trying to test the tab order in a window. I am taking the Field Names and Tab order from an excel file, tabbing to the particular field, getting the "Focused" property and moving on. I am passing the test based on if Focused returns zero when in that field. But the problem i noticed right now is that the application returns zero for the "Focused" property for ALL the fields, irrespective of whether the focus is actually on that field or not.
Does anybody have any idea if there is any other property that i can check to see if the focus is actually on that field or not??? Any help would be much appreciated.