private static async Task <ITest> ExecuteTestAsync(string test, ExecutionEnvironment executionEnvironment) { _log_.Info("Begin Executing test"); var executionTest = await SeleniumTestLauncher.ExecuteTestFromJsonAsync(test, executionEnvironment); _log_.Info($"End Executing {executionTest.Name}"); return(executionTest); }
//[TestCase("Testbooks/Simple/HelloTalentConnectAndSearchWrong.json")] public void ExecuteTestFromFile(string jsonFile) { var envExecution = new ExecutionEnvironment() { OutputDirectoryLocation = ".", ContextDirectoryLocation = ".", SiteMapDirectoryLocation = ".", ScenarioDirectoryLocation = "." }; SeleniumTestLauncher.ExecuteTestFromJsonAsync(jsonFile, envExecution); }