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()); }
private void ExecuteSuite() { try { UpdateConfig.LoadConfig(); UpdateConfig.SetEnivromnet(_environment); SWATTestManager TestManager = new SWATTestManager(); TestManager.TestCaseStatusChanged += OnTestCaseCompletion; TestManager.StartRun(_settings); } catch { } }
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)); }