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

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -