示例#1
0
        public void OnLoad()
        {
            UpdateConfig.LoadConfig();
            ListDirectory(treeView1, ConfigManager.TestSuiteFolder);

            comboBox4.DataSource   = ConfigManager.ListOfEnvironments;
            comboBox4.SelectedItem = ConfigManager.ListOfEnvironments[0];
            comboBox2.SelectedItem = "";
            comboBox2.SelectedItem = "CHROME";
            //UpdateConfig.SetEnivromnet(comboBox4.SelectedItem.ToString());
        }
示例#2
0
 private void ExecuteSuite()
 {
     try
     {
         UpdateConfig.LoadConfig();
         UpdateConfig.SetEnivromnet(_environment);
         SWATTestManager TestManager = new SWATTestManager();
         TestManager.TestCaseStatusChanged += OnTestCaseCompletion;
         TestManager.StartRun(_settings);
     }
     catch
     {
     }
 }
示例#3
0
        public void BasicRun()
        {
            UpdateConfig.LoadConfig();
            UpdateConfig.SetEnivromnet("STAGING");
            SelectedSettings _settings = new SelectedSettings
            {
                Application     = "CLAW",
                Environment     = "STAGING",
                Browser         = "CHROME",
                BulkSuite       = null,
                isBulkExecution = false,
                Suite           = @"\SMOKETESTS\03_ADMIN",
                PublishResult   = false
            };
            TestSuiteManager TestManager = new TestSuiteManager();

            Assert.IsTrue(TestManager.StartRun(_settings));
        }