UI Automation library UIAutomation provided by Microsoft, to represent a major UI Automation element in the UI Automation tree, .NET Windows Forms applications and WPF applications using AutomationElement class.
Inspect is an interface similar to SPY capture tool. It looks like this:
download link:
Very simple to use, open after download, press the shortcut keys in any place [Home], you can capture all open windows and controls on the desktop.
If you want to target a specific window of a control, use the mouse to click the button to target this tool, and then move the mouse to the other controls on top of the waiting red border appears, press [Ctrl] more than two seconds, you can capture carry out.
Use VB.Net or C # language can be developed UI Automation automation tools. Please pay attention to the development of skills and examples of 51CTO video lessons:
https://edu.51cto.com/lecturer/6673733.html