public void WhenISetPatientIdInAdvancedSearchWindow(String patientId) { if (!BP_AdvancedSearchUtilities.SetPatientID(patientId)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenISelectStatusForStatusTypeInAdvancedSearchWindow(String status, String statusType) { if (!BP_AdvancedSearchUtilities.SetStatus(status, statusType)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIClickSearchButtonInAdvancedSearchWindow() { if (!BP_AdvancedSearchUtilities.ClickSearchButton()) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeAvailableSitesInSelectedSitesSectionInAdvancedSearchWindow(Table table) { if (!BP_AdvancedSearchUtilities.AreSitesAvailable(table.CreateSet <String>())) { ScenarioContext.Current["ActResult"] = "Failed"; } }