07-28-2011, 01:51 AM
Well, not on an object...i tried it on edit box only....I did not think it would be so simple....
tried d following...
Browser("B").Page("P").WebEdit("WE").GetROProperty("Focus")
It will return 0 or 1...if 1 then focus is present, Else not....
Hope its d permanent solution for every application....Tried it on GWT and its working fine....
Let me know if it is working for all or not.....
-----------
Thanx.
tried d following...
Browser("B").Page("P").WebEdit("WE").GetROProperty("Focus")
It will return 0 or 1...if 1 then focus is present, Else not....
Hope its d permanent solution for every application....Tried it on GWT and its working fine....
Let me know if it is working for all or not.....
-----------
Thanx.