public override Dictionary <string, string> GetTaskProperties() { LauncherParamsBuilder builder = new LauncherParamsBuilder(); builder.SetRunType(RunType.AlmLabManagement); builder.SetAlmServerUrl(ALMServerPath); builder.SetAlmUserName(ALMUserName); builder.SetAlmPassword(ALMPassword); builder.SetAlmDomain(ALMDomain); builder.SetAlmProject(ALMProject); builder.SetBuildNumber(BuildNumber); switch (TestRunType) { case "testSet": builder.SetTestRunType(RunTestType.TEST_SUITE); break; case "buildVerificationSuite": builder.SetTestRunType(RunTestType.BUILD_VERIFICATION_SUITE); break; } if (!string.IsNullOrEmpty(ALMTestSet)) { int i = 1; foreach (string testSet in ALMTestSet.Split('\n')) { builder.SetTestSet(i++, testSet.Replace(@"\", @"\\")); } } else { builder.SetAlmTestSet(""); } if (UseCDA) { builder.SetDeploymentAction(DeploymentAction); builder.SetDeployedEnvironmentName(DeploymentEnvironmentName); builder.SetDeprovisioningAction(DeprovisioningAction); } //set ALM mandatory parameters builder.SetAlmTimeout(TimeslotDuration); builder.SetAlmRunMode(AlmRunMode.RUN_LOCAL); builder.SetAlmRunHost("localhost"); /*builder.SetUploadArtifact(UploadArtifact); * builder.SetArtifactType(ArtType); * builder.SetReportName(ReportFileName); * builder.SetArchiveName(ArchiveName); * builder.SetStorageAccount(StorageAccount); * builder.SetContainer(Container);*/ return(builder.GetProperties()); }