Python-UIAutomation-for-Windows
Python-UIAutomation-for-Windows copied to clipboard
(Donot use 3.7.6,3.8.1):snake:Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...
This is a minor change that can be very useful for debugging.
 问题: testwindow不存在,testwindow.Exists(3, 1)(或testwindow.Exists())耗时151s。为什么这么慢?有没有快一点的方法? 根据testwindow.Exists(3, 1)的设置,maxSearchSeconds为3s,总耗时应该是3s左右。难道不是这么理解?
GetChildren() 实现中用到了 IUIAutomationTreeWalker::GetNextSiblingElement() 这个win32 API 。看microsoft的官网文档( 链接 https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationtreewalker-getnextsiblingelement )说,“ The structure of the Microsoft UI Automation tree changes as the visible UI elements on the desktop change. It is not...
when I excuted a demo for notepad,I got an error as below:  error info: Can not move cursor. ButtonControl's BoundingRectangle is (0,0,0,0)[0x0]. SearchProperties: {Name: '关闭', ControlType: ButtonControl}
I am using fun(auto.GetValuePattern().Value) to get browser URL but when I am playing any sound in any tab in browser window it return empty STR 
win10 py39下使用EditControl.GetValuePattern().SetValue('hi')出现以下错误 _ctypes.COMError: (-2147467263, '尚未实现', (None, None, None, 0, None))
Hello, I was trying today to run UIAutomation on Azure VMs. But without success. Seems like scripts are hanging for infinity waiting for a desktop to appear. When I connected...
同样的脚本有的机器正常执行,有的机器操作不了控件,操作系统是windows Server 2012这种情况遇到过吗?有解决方案吗?