Python connections for automating Microsoft UI?

Does anyone know any Python bindings for automating Microsoft UI?

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

without using IronPython. I am aware of the excellent performance of pywin32, but Microsoft UI Automation should be the successor to the Active Accessibility layer that I use in Windows XP. I need to transfer the "Active Accessibility" functionality (event triggers to open windows, focus controls, etc.) to the Windows 7 platform.

Thanks!

+4
source share
2 answers

Take a look at Cobra

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

They stated this based on the Microsoft DLL (.NET3.5) - (Interop.UIAutomationClient.dll, UIAComWrapper.dll, WUIATestLibrary.dll)

I manage to use it with python to test an HTMLlayout application.

0
source

This may be what you would like to use. This allows you to call UIAutomation with python, and you just need to update the demo file. https://github.com/chengzi/PyUIAutomation

-2
source

Source: https://habr.com/ru/post/1345888/


All Articles