Python bindings for Microsoft UI Automation? [closed]

拟墨画扇 提交于 2019-12-07 05:15:43

问题


Anybody know of any Python bindings for Microsoft UI Automation?

http://msdn.microsoft.com/en-us/library/ms747327.aspx

without having to use IronPython. I am aware of the excellent pywin32 work, but Microsoft UI Automation is supposed to be the successor of the Active Accessibility layer, which I have been using on Windows XP. I need to migrate of the "Active Accessibility" functionality (event triggers on open windows, focus controls, etc.) to a Windows 7 platform.

Thanks!


回答1:


Take a look on Cobra

Cobra WinLDTP is based on Linux Desktop Testing Project - http://ldtp.freedesktop.org LDTP works on Windows/Linux/Mac/Solaris/FreeBSD/NetBSD/Palm Source, yes its Cross Platform GUI testing tool.

They claimed it based on Microsoft DLL's (.NET3.5) - (Interop.UIAutomationClient.dll, UIAComWrapper.dll, WUIATestLibrary.dll)

I manage to use it with python for testing HTMLlayout app.




回答2:


This maybe what you would like to use.It allows you to call UIAutomation using python and what you need to do is just update the demo file.https://github.com/chengzi/PyUIAutomation



来源:https://stackoverflow.com/questions/5487263/python-bindings-for-microsoft-ui-automation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!