public void WhenISetNeweventDateInEventActualDateModal(string NewEventDateValue) { if (!BP_Patient_EventFormUtilities.SetNewEventDate(NewEventDateValue)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIOpenFormOfEvent(String formName, String eventName) { if (!BP_Patient_EventFormUtilities.OpenForm(eventName, formName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenIVerifyEventDateValueForEvent(String EventDate, string Eventname) { if (!BP_Patient_EventFormUtilities.VerifyEventDateForAnEvent(EventDate, Eventname)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeEventInPatientPortalPage(String eventName) { if (!BP_Patient_EventFormUtilities.IsEventAvailable(eventName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIClickEventDateValueForEvent(string DateValue, string EventName) { if (!BP_Patient_EventFormUtilities.ClickEventDateForAnEvent(EventName, DateValue)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeFormUnderEvent(String formName, String eventName) { if (!BP_Patient_EventFormUtilities.IsFormAvailable(eventName, formName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIClickExpandAllEventsInPatientPage() { if (!BP_Patient_EventFormUtilities.ExpandAllEvents()) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void GivenIExpandToSelectAndOpenCRF_(string Event, string Form) { if (!BP_Patient_EventFormUtilities.OpenForm(Event, Form)) { ScenarioContext.Current["Comments"] = ScenarioContext.Current["Comments"] + "Unable to select and open CRF '" + Form + "' from event '" + Event + "'. \n"; ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIupdateeventDateInEventActualDateModal_(Table table) { Event_New_EventDate EventDateDetails = table.CreateInstance <Event_New_EventDate>(); if (!BP_Patient_EventFormUtilities.UpdateEventDate(EventDateDetails)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeFormsUnderEvent(String eventName, Table table) { IEnumerable <String> formList = table.CreateSet <String>(); if (!BP_Patient_EventFormUtilities.AreFormsAvailable(eventName, (List <String>)formList)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenICollapseEventInPatientPortal(String eventName) { String patientEventKey = String.Empty; if (!BP_Patient_EventFormUtilities.CollapseEvent(eventName, out patientEventKey)) { ScenarioContext.Current["ActResult"] = "Failed"; } }