pywinauto/pywinauto
GitHub で見るWrite unit tests for getting properties of non-existing AutomationElement
Open
#382 opened on 2017年7月2日
Priority-LowUIA-relatedhelp wantedinternal
説明
Need to cover all COMError handlers in UIAElementInfo. Now it's a kind of luck to cover some of them or not. I'd suggest to create UIAElementInfo objects, close the dialog or the whole app, then try to call properties of non-existing element.
For example, code in #381 is not fully covered. No much time to create unit tests right now. But will track it here.