Python-UIAutomation-for-Windows icon indicating copy to clipboard operation
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 ...

Results 157 Python-UIAutomation-for-Windows issues
Sort by recently updated
recently updated
newest added
trafficstars

This is a minor change that can be very useful for debugging.

![image](https://user-images.githubusercontent.com/83747100/142964693-e1919e2b-b218-46ea-b233-7b475065b794.png) 问题: 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...

之前用pywinauto,只支持qt5。公司一些软件是用qt4写的,想搞一下自动化

question

when I excuted a demo for notepad,I got an error as below: ![image](https://user-images.githubusercontent.com/39252479/129825682-4755f8fb-d906-48f5-890d-9ed11244a90a.png) error info: Can not move cursor. ButtonControl's BoundingRectangle is (0,0,0,0)[0x0]. SearchProperties: {Name: '关闭', ControlType: ButtonControl}

question

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 ![image](https://user-images.githubusercontent.com/70476337/125170880-74cd3a80-e1b1-11eb-9040-447c9f4eba4f.png)

question

win10 py39下使用EditControl.GetValuePattern().SetValue('hi')出现以下错误 _ctypes.COMError: (-2147467263, '尚未实现', (None, None, None, 0, None))

question

例如想要把控件A拖拽到文件夹B中 是否有方法可以支持该拖拽动作

question

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这种情况遇到过吗?有解决方案吗?

question