pywinauto/pywinauto

Write unit tests for getting properties of non-existing AutomationElement

Open

#382 opened on 2017年7月2日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Python (4,425 stars) (654 forks)batch import
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.

コントリビューターガイド