public void SetUpProjectSpecificConfiguration() { var config = _configSection.GetConfigSection <FindACourseConfig>(); _context.SetFindACourseConfig(config); var mongoDbconfig = _configSection.GetConfigSection <MongoDbConfig>(); _context.SetMongoDbConfig(mongoDbconfig); _objectContext.Replace("browser", config.Browser); }
public void SetUpProjectSpecificConfiguration() { var config = _configSection.GetConfigSection <MatchYourSkillsToCareerConfig>(); _context.SetMatchYourSkillsToCareer(config); var mongoDbconfig = _configSection.GetConfigSection <MongoDbConfig>(); _context.SetMongoDbConfig(mongoDbconfig); _objectContext.Replace("browser", config.Browser); }
public void SetUpProjectSpecificConfiguration() { var config = _configSection.GetConfigSection <SkillsAssessmentConfig>(); //_context.SetExploreCareersConfig(config); _context.SetSkillsAssessmentConfig(config); var mongoDbconfig = _configSection.GetConfigSection <MongoDbConfig>(); _context.SetMongoDbConfig(mongoDbconfig); _objectContext.Replace("browser", config.Browser); }
public void SetUpProjectSpecificConfiguration() { var config = _configSection.GetConfigSection <ContactUs>(); _context.SetContactUsConfig(config); var mongoDbconfig = _configSection.GetConfigSection <MongoDbConfig>(); _context.SetMongoDbConfig(mongoDbconfig); _objectContext.Replace("browser", config.Browser); _objectContext.Replace("build", config.BuildNumber); _objectContext.Replace("EnvironmentName", config.EnvironmentName); }
public void SetUpConfiguration() { _context.Set(_configSection); var configuration = new FrameworkConfig { TimeOutConfig = _configSection.GetConfigSection <TimeOutConfig>(), BrowserStackSetting = _configSection.GetConfigSection <BrowserStackSetting>(), TakeEveryPageScreenShot = Configurator.IsVstsExecution }; _context.Set(configuration); var executionConfig = new EnvironmentConfig { EnvironmentName = Configurator.EnvironmentName, ProjectName = Configurator.ProjectName }; _context.Set(executionConfig); var testExecutionConfig = _configSection.GetConfigSection <TestExecutionConfig>(); _objectContext.SetBrowser(testExecutionConfig.Browser); }