Example #1
0
 public void WhenIClickOnSaveButtonOnInFreezepatientsPage()
 {
     if (!BP_PatientState_FreezePatient.clickSaveBtnInFreezePatient())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Example #2
0
        public void WhenISelectPatientsToInFreezePatientsPage(Table table)
        {
            IEnumerable <PatientTableData> Data         = table.CreateSet <PatientTableData>();
            List <PatientTableData>        PatientsList = (List <PatientTableData>)Data;
            List <string> FailedItems = new List <string>();
            StringBuilder FailData    = new StringBuilder();

            BP_PatientState_FreezePatient.SelectCheckboxForPatients(PatientsList, out FailedItems);
            if (FailedItems.Count > 0)
            {
                ScenarioContext.Current["Actual"] = "Failed";
                foreach (string Item in FailedItems)
                {
                    FailData.Append(Item + ";");
                }
            }
        }