Login   /   Register

Getting the current mouse cursor

April 10th, 2008 by Yaron Assa
     1 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 5
Loading ... Loading ...

Sometimes, you can only tell when an AUT operation has ended by checking the windows mouse cursor - is it an hourglass, or a simple arrow.
The following code allows your to get the integer code of the mouse icon:

The Undocumented DeviceReplay

April 4th, 2008 by Yaron Assa
     6 votes, average: 4.33 out of 56 votes, average: 4.33 out of 56 votes, average: 4.33 out of 56 votes, average: 4.33 out of 56 votes, average: 4.33 out of 5
Loading ... Loading ...

 

Somehow HP help files do not provide information about this powerful feature.
You can find DeviceReplay property under Java add-in, but for those who doesn’t use Java add-in might think that the feature is not available for them.

Why Device Replay?

Sometimes we need to do specific action on the UI, for example a right click on an […]

Where is my Mouse?

April 1st, 2008 by daniva
     4 votes, average: 4.5 out of 54 votes, average: 4.5 out of 54 votes, average: 4.5 out of 54 votes, average: 4.5 out of 54 votes, average: 4.5 out of 5
Loading ... Loading ...

The System.Windows.Forms.Control Class Defines the base class for controls, which are components with visual representation.
The Control.MousePosition Property gets the position of the mouse cursor in screen coordinates.