private TestSet buildTestSet(string testFileName, string url = "testUrl") { SetEnvironmentVariable(EnvVar.Browser, "chrome"); SetEnvironmentVariable(EnvVar.Environment, ""); SetEnvironmentVariable(EnvVar.TimeOutThreshold, "50"); SetEnvironmentVariable(EnvVar.WarningThreshold, "50"); SetEnvironmentVariable(EnvVar.URL, url); SetEnvironmentVariable(EnvVar.DataFile, $"{readFileLocation}{testFileName}"); SetEnvironmentVariable(EnvVar.CsvSaveFileLocation, saveFileLocation); SetEnvironmentVariable(EnvVar.LogSaveFileLocation, saveFileLocation); SetEnvironmentVariable(EnvVar.ReportSaveFileLocation, saveFileLocation); SetEnvironmentVariable(EnvVar.ScreenshotSaveLocation, saveFileLocation); SetEnvironmentVariable(EnvVar.TestAutomationDriver, "selenium"); SetEnvironmentVariable(EnvVar.TestSetDataType, "XML"); SetEnvironmentVariable(EnvVar.TestSetDataArgs, $"{readFileLocation}{testFileName}"); SetEnvironmentVariable(EnvVar.TestCaseDataType, GetEnvironmentVariable(EnvVar.TestSetDataType)); SetEnvironmentVariable(EnvVar.TestStepDataType, GetEnvironmentVariable(EnvVar.TestCaseDataType)); SetEnvironmentVariable(EnvVar.TestCaseDataArgs, GetEnvironmentVariable(EnvVar.TestSetDataArgs)); SetEnvironmentVariable(EnvVar.TestStepDataArgs, GetEnvironmentVariable(EnvVar.TestCaseDataArgs)); SetEnvironmentVariable(EnvVar.RespectRepeatFor, "true"); SetEnvironmentVariable(EnvVar.RespectRunAODAFlag, "true"); InformationObject.SetUp(); TestSetBuilder builder = new TestSetBuilder(); BuildAutomationDriver(); return(builder.Build()); }