Is there any way to get all "properties" of a "control view" in a window of desktops application using Java or any other library? I have tried with a java wrapper (www.github.com/mmarquee/ui-automation) for "Microsoft UI Automation" ( https://msdn.microsoft.com/en-us/library/windows/desktop/ee684009(v=vs.85).aspx ), but couldn't find a way to get all properties (elements) of a desktop window. If you know any better way to do this, please reply with sample codes. Thanks in advance. Please refer this link (image) to get what i mean by properties
If I understand you correct, Inspect.exe
is what you need. If Windows SDK is installed on your PC, Inspect.exe
can be found here:
C:\Program Files (x86)\Windows Kits\<winver>\bin\x64
Source: Getting Started Guide for pywinauto. Yes, it's Python. Don't know good Java wrappers since I'm not in Java world.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.