pywinauto "InvalidWindowHandle" exception with "UIOSelector_Exist_Bool" method #9
Closed
opened 3 years ago by iduseev
·
3 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
It appears that sometimes following exception: "pywinauto.controls.hwndwrapper.InvalidWindowHandle: Handle 11338998 is not a vaild window handle" appears when using PyOpenRPA.Robot.UIDesktop.UIOSelector_Exist_Bool(inUIOSelector) method while working with app written in Delphi.
Similar problem description below:
https://github.com/pywinauto/pywinauto/issues/534
Issue tends to appear when using method UIOSelector_Get_UIOList and pass selector which mathces for multiple elements on screen.
look at issue https://gitlab.com/UnicodeLabs/OpenRPA/-/issues/42
mentioned in issue #42