/// <summary>
        /// <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 VerifyCSpec(string endPt, string skuFile)
        {
            string user = userName;
            string pass = passWord;

            var framework = new CmTestWithFramework();

            framework.VerifyChassisSpec(endPt, skuFile, user, pass);
        }
        /// <summary>
        /// All parameters are taken from the config file of the CM_TestAutomation project. </param>
        public static void RunFuncBvt(string endPt, string skuFile)
        {
            string user = userName;
            string pass = passWord;

            var framework = new CmTestWithFramework();

            framework.RunFunctionalBvt(endPt, skuFile, user, pass);
        }
        /// <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);
        }
예제 #4
0
        public static void RunFunctionalBVT(
            [Required(Description = "CM URL")] string chassisManagerEndPoint,
            [Optional("C:\\VS Projects\\Mt Rainier\\Manageability\\Developement\\CM_TestAutomation\\CMVerificationBatches\\BingSKU.xml", Description = "ChassisInfoXML")] string SKUDefinitionFileName,
            [Optional("", Description = "User Name")] string userName,
            [Optional("", Description = "User Password")] string userPassword)
        {
            var framework = new CmTestWithFramework();

            framework.RunFunctionalBVT(chassisManagerEndPoint, SKUDefinitionFileName, userName, userPassword);
        }
예제 #5
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);
        }
        /// <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>
        /// <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 VerifyCSpec(string endPt, string skuFile, string user, string pass)
        {
            var framework = new CmTestWithFramework();

            framework.VerifyChassisSpec(endPt, skuFile, user, pass);
        }
        /// <summary>
        /// All parameters are taken from the config file of the CM_TestAutomation project. </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 RunFuncBvt(string endPt, string skuFile, string user, string pass)
        {
            var framework = new CmTestWithFramework();

            framework.RunFunctionalBvt(endPt, skuFile, user, pass);
        }