/// <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);
        }
Ejemplo n.º 2
0
        public static void RunBatches(
            [Required(Description = "BatchDirectory")] string batchDirectory,
            [Required(Description = "CM URL")] string chassisManagerEndPoint,
            [Optional("Admin", Description = "User Name")] string userName,
            [Optional("$pl3nd1D", Description = "User Password")] string userPassword)
        {
            var framework = new CmTestWithFramework();

            framework.RunAllFrameworkBatches(batchDirectory, chassisManagerEndPoint, userName, userPassword);
        }
        /// <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);
        }