public TestBase(ITestOutputHelper output) { var logRepository = LogManager.GetRepository(Assembly.GetEntryAssembly()); var fileinfo = new FileInfo(Const.LogFileName); if (fileinfo.Exists) { XmlConfigurator.ConfigureAndWatch(logRepository, fileinfo); } logger = LogManager.GetLogger(this.GetType()); data = ConfigManager.Instance; driver = AlphaPointWebDriver.GetInstanceOfAlphaPointWebDriver(); TestProgressLogger = new ProgressLogger(output, logger, driver); }
public GenericUtils(ProgressLogger logger) { this.logger = logger; data = ConfigManager.Instance; driver = AlphaPointWebDriver.GetInstanceOfAlphaPointWebDriver(); }