/// <summary>
        /// Runs all batches from specified directory against specified CM.
        /// </summary>
        /// <param name="bDeFi"> 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 RunBatch(string bDFile, string endPt)
        {
            string user = userName;
            string pass = passWord;

            var framework = new CmTestWithFramework();

            framework.RunFrameworkBatch(bDFile, endPt, user, pass);
        }
예제 #2
0
        public static void RunBatch(
            [Required(Description = "BatchFile")] string batchDefinitionFile,
            [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.RunFrameworkBatch(batchDefinitionFile, chassisManagerEndPoint, userName, userPassword);
        }
        /// <summary>
        /// Runs all batches from specified directory against specified CM.
        /// </summary>
        /// <param name="bDFile"> Directory where the batches reside. </param>
        /// <param name="endPt"> CM Url to run batch against. </param>
        /// <param name="user"> 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 RunBatch(string bDFile, string endPt, string user, string pass)
        {
            var framework = new CmTestWithFramework();

            framework.RunFrameworkBatch(bDFile, endPt, user, pass);
        }