I have a table object with one row in it. I want to click on the CheckBox inside this line, but all I could do was click on the line itself, but not on the CheckBox. Code:
app = Application().connect(title="Название окна программы")
window = app['Название окна программы']
table = window.child_window(control_type="Table", title="Название таблицы")
items = table.items()
for item in items:
if 'CheckBox' in item.friendly_class_name():
item.click_input()
break
How do I click on the CheckBox to put a check mark there? pywinauto version == 0.6.8
where="check"
here:item.click_input(where="check")
Application(backend="uia")
, but script could be re-written, because the UI elements hierarchy may look a bit different (more rich). By the way,control_type
is more typically used for backend="uia", default backend "win32" typically needsclass_name
keyword.