예제 #1
0
 public void CreateNewSeriesTreatmentApplication()
 {
     Pages.Patient_Page.NewPatientApplication();
     GoTo();
     CreateNewTreatment.ClickOn();
     utility.SelectFromList("newItemMenu", 1);
     utility.ClickDropdownAndEnter(TreatmentSeriesTherapist);
     utility.SelectCodeOnCodeBroswer("//*[@id='gridCodeBrowser']/div[2]/table/tbody/tr/td[6]/div/input");
     Thread.Sleep(500);
     SaveTreatment.ClickWait();
     softAssert.VerifyElemenNotHaveEqual(utility.TableCount("//*[@id='tab3_customerTreatmentsGrid_" + Constant.patientDataID + "']/div[2]/div[1]/table/tbody"), Constant.tmpTableCount);
 }
예제 #2
0
 public void CreateNewPlanTreatmentApplication()
 {
     Pages.Patient_Page.NewPatientApplication();
     GoTo();
     CreateNewTreatment.ClickOn();
     utility.SelectFromList("newItemMenu", 2);
     TreatmentPlanName.SendKeys("Plan" + RandomNumber.smallNumber());
     //  utility.ClickDropdownAndEnter(TreatmentPlanTherapist);
     TreatmentPlanTherapist.ClickOn();
     TreatmentPlanTherapist.SendKeys(Keys.Down);
     utility.SelectCodeOnCodeBroswer("//*[@id='gridCodeBrowser']/div[2]/table/tbody/tr[1]/td[5]/div/input");
     Thread.Sleep(500);
     TreatmentPlanSave.Click();
     softAssert.VerifyElemenNotHaveEqual(utility.TableCount("//*[@id='tab3_customerTreatmentsGrid_" + Constant.patientDataID + "']/div[2]/div[1]/table/tbody"), Constant.tmpTableCount);
 }