Esempio n. 1
0
 public void WhenIGiveFilePathToSave(String filePath)
 {
     if (!BP_ArchiveExportUtilities.SetDownloadFilePath(filePath))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 2
0
 public void WhenIClickExportButtonInArchiveExportPage()
 {
     if (!BP_ArchiveExportUtilities.ClickExportButton())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 3
0
 public void WhenIDownloadTheFileInTheExecutionFolderWithName_(string FileName)
 {
     if (!BP_ArchiveExportUtilities.SetDownloadFilePath(FeatureContext.Current["ReportsFolderPath"].ToString() + FileName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 4
0
        public void WhenISelectSitesInArchiveExportPage(Table table)
        {
            IEnumerable <StudyArchive_SiteData> data = table.CreateSet <StudyArchive_SiteData>();

            if (!BP_ArchiveExportUtilities.SelectSites((List <StudyArchive_SiteData>)data))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }