I'm developing a set of coded UI tests for a WPF project. Does anyone know how to assert that a window was closed? I can't seem to check any properties of the window after it is gone. Should I assert the UI element is null, maybe?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
The
UITestControl
class has a method calledWaitForControlNotExist
that did the trick!