Skip to content Skip to sidebar Skip to footer

Unable To Click Button Using Pywinauto On A Specific Window On Windows 8 Or 10

I am performing automation testing of an application using pywinauto. It worked successfully for every window of the app, but for some reason it fails to click the buttons on the i

Solution 1:

It looks like you're trying to click on UAC confirmation window. You can do nothing with it from any script at all. Please disable UAC (to zero level) on your Win8/Win10 machines. This is the only way for install/uninstall GUI automation.

Python process must run as administrator of course.

BTW, some installers allow silent modes (msiexec.exe /i [MSI_path] or setup.exe /S for NullSoft (NSIS) installers). Of course it's not the case if you're testing an installer GUI itself.

Post a Comment for "Unable To Click Button Using Pywinauto On A Specific Window On Windows 8 Or 10"