python - how to find if edit box got the focus -
i need verify focus moves edit box after typing "enter" in other edit box. i'am using pywinauto library. tried using 'has_keyboard_focus()' returns 'false' no matter focus is.
o = dlg.child_window(title="uut1", auto_id="gbuut", control_type="group"). \ child_window(title="serial # 2 :", control_type="edit").has_keyboard_focus() print(o)
Comments
Post a Comment