posted 05-08-2003 05:18 AM
need to get the left posistion of the text in an edit box.
I am able to get the mouse cursor pos by
But I am not able to get the Screen Cursor posistion.
i checked and found a function GetCursorPos() a window 32 API function.I don't under stand how to use it.
How to get the sxcreen cursor pos?
2)I am writing a script for the test case that
when page is opened the cursor should be placed in the first editable field.
i am able to catch the first editable field.But i am not able to test either it is focused or not
i tried like this
the out variable focus is always giving null value.
how to know that the contol is focused or not.