Esempio n. 1
0
 public TestsBase(string browser, string version, string platform)
 {
     TestContextResult = new TestCaseResult();
     _testStartTime    = DateTime.Now;
     _currentTestCtx   = TestContext.CurrentContext;
     TestContextResult.Add("id", _currentTestCtx.Test.ID);
     TestContextResult.Add("TestStartTime", _testStartTime.ToFormattedString());
     TestContextResult.Add("TestName", _currentTestCtx.Test.FullName);
     TestContextResult.Add("Browser", browser);
     TestContextResult.Add("Version", version);
     TestContextResult.Add("Platform", platform);
     _driverBase = new DriverBase(browser, version, platform);
 }