Exemplo n.º 1
0
        public void StartTest()
        {
            // make sure everything is closed before another test is started
            CloseProcess("TamXML7");
            CloseProcess("InsureTam");
            CloseProcess("clntfile");
            CloseProcess("Homebase");
            CloseProcess("AcroRd32");
            CloseProcess("iexplore");
            CloseProcess("Regress_IETam_Policy");
            CloseProcess("RLoader");

            Tests.Renewals.CleanRenewals();

            UiMap.CleanDocuments();
            Playback.PlaybackSettings.SearchTimeout = Configs.SearchTimeout;
            TestName = TestContext.TestName;
            TestLinkInitialize();

            var login = new Login();

            login.LoginParams.ExePath          = "J:\\WINTAM\\HOMEBASE.EXE";
            login.LoginParams.AlternateExePath = "J:\\WINTAM\\HOMEBASE.EXE";
            login.DoLogin();
            login.LoginEnterDate();
            login.WarningOk();
            UiMap.AppStartedExpectedValues.UITheAgencyManagerWindow1Name = "The Agency Manager";
        }