Wednesday, January 23, 2008

UISpy

Hello,

I have started to play around with UISpy tool mentioned at the previous article link (http://msdn.microsoft.com/msdnmag/issues/07/03/Bugslayer/default.aspx#S2).

This tool is part of Windows SDK and it is included into the WinSDKNetFxTools-x86.msi package which can be installed alone. I recommend you do download the ISO image of the SDK and extract it to be able to install only this package.

Below is a screenshot where I have started my AutoCAD and navigate into the Command Prompt control. The UISpy tool highlights the selected control at the application Windows helping you the proper identify the desired object.


Once you click the proper element, the most right portion will display the Automation information about the selected element.
With this information you may create your own classes to help the UI Test application to proper communicate with this element.
More over the next week...stay tuned.

No comments: