how do I move mouse actual mousecursor to a dialog
I have a flex popup dialog, I need to move or click to make mouse cursor position point on this dialog. How would I do it in QTP?
Re: how do I move mouse actual mousecursor to a dialog
You can get the x, y coordinates of the object and then tell the mouse to click there, which will move the cursor to the coordinates. I don't know if a flex object has the same properties, but use whatever property holds the x, y in replace of the 'abs_x' and 'abs_y'
Set obj = CreateObject("Mercury.DeviceReplay")
absX = <popup dialog>.GetROProperty("abs_x")
absY = <popup dialog>.GetROProperty("abs_y")
obj.MouseClick absX, absY, 1