/// <summary> /// Runs all batches from specified directory against specified CM. /// </summary> /// <param name="bDir"> Directory where the batches reside. </param> /// <param name="endPt"> CM Url to run batch against. </param> /// <param name="UserName"> User name to use to connect to the target CM. </param> /// <param name="pass"> Password for the user we are using to connect to the CM. </param> public static void RunBatches(string bDir, string endPt, string user, string pass) { var framework = new CmTestWithFramework(); framework.RunAllFrameworkBatches(bDir, endPt, user, pass); }
/// <summary> /// Runs all batches from specified directory against specified CM. /// </summary> /// <param name="bDir"> Directory where the batches reside. </param> /// <param name="endPt"> CM Url to run batch against. </param> public static void RunBatches(string bDir, string endPt) { string user = userName; string pass = passWord; var framework = new CmTestWithFramework(); framework.RunAllFrameworkBatches(bDir, endPt, user, pass); }