Beispiel #1
0
 public void WhenISetNeweventDateInEventActualDateModal(string NewEventDateValue)
 {
     if (!BP_Patient_EventFormUtilities.SetNewEventDate(NewEventDateValue))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #2
0
 public void WhenIOpenFormOfEvent(String formName, String eventName)
 {
     if (!BP_Patient_EventFormUtilities.OpenForm(eventName, formName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #3
0
 public void ThenIVerifyEventDateValueForEvent(String EventDate, string Eventname)
 {
     if (!BP_Patient_EventFormUtilities.VerifyEventDateForAnEvent(EventDate, Eventname))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #4
0
 public void ThenISeeEventInPatientPortalPage(String eventName)
 {
     if (!BP_Patient_EventFormUtilities.IsEventAvailable(eventName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #5
0
 public void WhenIClickEventDateValueForEvent(string DateValue, string EventName)
 {
     if (!BP_Patient_EventFormUtilities.ClickEventDateForAnEvent(EventName, DateValue))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #6
0
 public void ThenISeeFormUnderEvent(String formName, String eventName)
 {
     if (!BP_Patient_EventFormUtilities.IsFormAvailable(eventName, formName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #7
0
 public void WhenIClickExpandAllEventsInPatientPage()
 {
     if (!BP_Patient_EventFormUtilities.ExpandAllEvents())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #8
0
 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";
     }
 }
Beispiel #9
0
        public void WhenIupdateeventDateInEventActualDateModal_(Table table)
        {
            Event_New_EventDate EventDateDetails = table.CreateInstance <Event_New_EventDate>();

            if (!BP_Patient_EventFormUtilities.UpdateEventDate(EventDateDetails))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }
Beispiel #10
0
        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";
            }
        }
Beispiel #11
0
        public void WhenICollapseEventInPatientPortal(String eventName)
        {
            String patientEventKey = String.Empty;

            if (!BP_Patient_EventFormUtilities.CollapseEvent(eventName, out patientEventKey))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }