How to get the focused element

Dec 8, 2010 at 5:01 AM

Hi,

In my test application I need to check that Textbox is Still focused or not

"Control.IsFocused" is always false even the control is focused

Is there any other way to check focus of the control or am I missing any thing