public void WhenIGiveFilePathToSave(String filePath) { if (!BP_ArchiveExportUtilities.SetDownloadFilePath(filePath)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIDownloadTheFileInTheExecutionFolderWithName_(string FileName) { if (!BP_ArchiveExportUtilities.SetDownloadFilePath(FeatureContext.Current["ReportsFolderPath"].ToString() + FileName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }