Exemplo n.º 1
0
        public void InstallerNo3RdpartDependencies()
        {
            Console.WriteLine("Install AT");
            BehaviorsRegression.CleanMachine();
            AT.Install();

            Console.WriteLine("Check services");
            CheckProcessAndServicesStarted();
            Assert.IsTrue(AT.OpenSpanDriverServiceExists(), "OpenSpanDriverService isn't started.");
            Assert.IsTrue(AT.OpenSpanServiceExists(), "OpenSpanService isn't started.");

            Console.WriteLine("Check folders");
            AT.DirectoryExists(_dttPath);

            //Identify win7 or winXp
            Assert.IsTrue(_major != 5 ? AT.DirectoryExists(_win7LocationData) : AT.DirectoryExists(_winXpAnd2003LocationData));

            Console.WriteLine("Uninstall");
            AT.UninstallAt(_locationInstalFile);
        }