Pywinauto unintended result when initiating button control with click(), automating install of driver
Clash Royale CLAN TAG #URR8PPP Pywinauto unintended result when initiating button control with click(), automating install of driver Recently delving into Python and automation for the first time so please forgive me for any unintended ignorance. Trying to automate the installation of a cash drawer driver for POS units. I have modelled my code similarily to the answer provided in this question: How to access the control identifiers in pywinauto The code: from pywinauto import application, findwindows, handleprops app = application.Application() # create 'app' instance object app.start("C:/POS Post install/1_setup.exe") #start installer within instance handle_variable = findwindows.find_windows(class_name = "MsiDialogCloseClass") # variable containing handle of installer dlg = app.window_(handle = handle_variable[0]) # specify dialogue dlg.print_control_identifiers() The output of print_control_identifiers(): Control Identifiers: M...