public void WhenISaveTheExportFileInTheFolderContainingInTheExecutionPathWithName_(string FolderPath, string FindFileName, string destFileName) { if (!BP_FileUtilites.FindAndSaveFile(FeatureContext.Current["ReportsFolderPath"].ToString() + FolderPath, FindFileName, FeatureContext.Current["ReportsFolderPath"].ToString() + destFileName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeUnzippedFolder(String unzippedFullFolderPath) { if (!BP_FileUtilites.IsFolderExist(FeatureContext.Current["ReportsFolderPath"].ToString() + unzippedFullFolderPath)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeTheFileWithNameInExecutionFolder_(String FileName) { if (!BP_FileUtilites.CheckForFullyDownloadedFile(FeatureContext.Current["ReportsFolderPath"].ToString() + FileName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIUnzipFolder(string zipFolderFullPath) { if (!BP_FileUtilites.UnzipFolder(FeatureContext.Current["ReportsFolderPath"].ToString() + zipFolderFullPath)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeFullyDownloadedFile(String folderFullPath) { if (!BP_FileUtilites.CheckForFullyDownloadedFile(folderFullPath)) { ScenarioContext.Current["ActResult"] = "Failed"; } }