I am working with Pywinauto
to automate a Desktop Application
.
At one point there could be a popup window. With findbestmatch
I want to check if the popup is available. The name of the popup window is the same as of the normal window.
Is there an alternative for findbestmatch
or is it the best option?
There is a pywinauto function called popup_window()
which could be a good starting point for you. See link
Its listed under pywinauto.controls.hwndwrapper, which provides basic wrapping of windows controls. It will return the handle/id of any open popups or a reference to self if no popups exist.