Пример #1
0
        public override bool Execute()
        {
            try
            {
                //System.Diagnostics.Debugger.Launch();

                Dictionary <string, string> parameters = new Dictionary <string, string>();
                parameters.Add("PnPSQLConnectionString", PnPBase64EncoderTask.Base64Encode(SQLConnectionString).Replace("=", "&equal"));
                parameters.Add("PnPConfigurationToTest", Configuration);

                TestManager testManager = new TestManager(parameters);
                PnPTestRunId = testManager.AddTestSetRecord();
                return(true);
            }
            catch (Exception ex)
            {
                Log.LogErrorFromException(ex);
                return(false);
            }
        }