public void Collect()
        {
            var w = new vScreen.lib.Window(WindowUnitTests.StartTestApp());
            var s = new vScreen.lib.Screen(0);

            Assert.IsTrue(s.Count > 0);
            Assert.IsTrue(s.GetWindowByTitle(WindowUnitTests.TestAppTitle).Count == 1);

            WindowUnitTests.KillTestApp();
        }
        public void DoNotCollectNotVisibleWindow()
        {
            var w = new vScreen.lib.Window(WindowUnitTests.StartTestApp());

            var s1 = new vScreen.lib.Screen(0);

            Assert.IsTrue(s1.GetWindowByTitle(WindowUnitTests.TestAppTitle).Count == 1);

            w.Hide();
            var s2 = new vScreen.lib.Screen(0);

            Assert.IsTrue(s2.GetWindowByTitle(WindowUnitTests.TestAppTitle).Count == 0);

            w.Show();
            var s3 = new vScreen.lib.Screen(0);

            Assert.IsTrue(s3.GetWindowByTitle(WindowUnitTests.TestAppTitle).Count == 1);

            WindowUnitTests.KillTestApp();
        }