LiquidThinking/Xenon — pull request #20 by adeel41 (2014-11-07 16:10:08+00:00)
Title: Switching between windows and close any active window

Added SwitchToWindow method which accepts an AssertFunc type which means you can find a window using any assertion method and switch to that window.

Also added CloseCurrentAndSwitchToWindow method which closes the current active window and switch to another window which user has specified in 'switchtoWindowAssertFunc' parameter.