yinkaisheng / Python-UIAutomation-for-Windows

🐍Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...
Apache License 2.0
2.3k stars 462 forks source link

(-2147024891, '事件无法调用任何订户', (None, None, None, 0, None)) #272

Open gaoxixi317 opened 3 months ago

gaoxixi317 commented 3 months ago

pytest+uiautomation跑了一会出现此问题,后面所有有用例都是这个问题

gaoxixi317 commented 3 months ago

解决了,应该是再次使用元素时,没有refind,机上refind之后就好了