private TestContextCustom() { Console.WriteLine("Inside TEst CONTEXT"); InitConfig = LoadInitConfig(); EnvConfig = LoadEnvironmentConfig(InitConfig["environmentConfig"]); BrowserFactory = BrowserFactory.InitFactory(InitConfig, EnvConfig); }
public static BrowserFactory InitFactory(Dictionary <string, string> initConfig, EnvironmentConfig envConfig) { Instance = new BrowserFactory(initConfig, envConfig); return(Instance); }
private TestContextCustom() { InitConfig = LoadInitConfig(); EnvConfig = LoadEnvironmentConfig(InitConfig[Constants.ENVIRONMENT_CONFIG_PROPERTY_NAME]); BrowserFactory = BrowserFactory.InitFactory(InitConfig, EnvConfig); }