public void WhenIGiveFilePathToSave(String filePath) { if (!BP_ArchiveExportUtilities.SetDownloadFilePath(filePath)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIClickExportButtonInArchiveExportPage() { if (!BP_ArchiveExportUtilities.ClickExportButton()) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIDownloadTheFileInTheExecutionFolderWithName_(string FileName) { if (!BP_ArchiveExportUtilities.SetDownloadFilePath(FeatureContext.Current["ReportsFolderPath"].ToString() + FileName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
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"; } }