Checking A Checkbox With Pywinauto Doesn't Work
I installed the last pywinauto module from pip. I don't know how to use the Check(), UnCheck(), GetCheckState() methods. This is my very simple code sample. from pywinauto import a
Solution 1:
I've added "TCheckBox"
class name to make proper check box detection in 0.5.1 (will be released this week). Thanks for the use case. Currently you may workaround it so (code was updated for pywinauto==0.6.x):
from pywinauto.controls.win32_controls importButtonWrappercheckbox= ButtonWrapper(madvr.TCheckBox.wrapper_object())
checkbox.get_check_state()
Post a Comment for "Checking A Checkbox With Pywinauto Doesn't Work"