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?
The UITestControl class has a method called WaitForControlNotExist that did the trick!
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
Assert.IsNulldoes not work. - Brian Triplett