Exemple #1
0
 public void ThenICheckSubjectsInInboxFolderForNormalization(String inboxFolderName, Table table)
 {
     if (!BP_InboxUtilities.CheckInbox_NormalizationSubject_FromTop(inboxFolderName, TableHelper.GetValuesFromColumn(table, 0)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
        public static bool PublishStudy(String studyLabel)
        {
            try
            {
                // BP_ActionPaletteUtilities.InvokeActionPaletteLink("Manage Versions", "StudyResetAction");

                //BP_ActionPaletteUtilities.InvokeActionPaletteLink("Upload Study File", "StudyVersionMgmtListActions");
                //BP_UploadStudyFileUtilities.ClickFileBrowseButton();
                //BP_UploadStudyFileUtilities.UploadStudy(studyFileName, studyLabel);
                //BP_StudyVersionManagementUtilities.InvokeStudyRow("Uploaded");
                //BP_ActionPaletteUtilities.InvokeActionPaletteLink("Stage", "StudyVersionPropertiesActions");
                //BP_StudyVersionManagementUtilities.InvokeStudyRow("Staged");
                //BP_ActionPaletteUtilities.InvokeActionPaletteLink("Publish", "StudyVersionPropertiesActions");
                BP_MainNavigationUtilities.SelectPrimaryTabOnMenu("Inbox");
                String jobText = "Publishing of Study file (" + studyLabel + ") - complete.";
                return(BP_InboxUtilities.CheckInbox_Subject_FromTop("Jobs", new List <String> {
                    jobText
                }));
            }
            catch (Exception e)
            {
                new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
                return(false);
            }
        }
Exemple #3
0
 public void WhenIClickInboxItemInFolder(String subject, String folder)
 {
     if (!BP_InboxUtilities.ClickInboxItem(folder, subject))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }