Example #1
0
 public void CreateStandbyApplicaitonProd()
 {
     Pages.Patient_Page.NewPatientApplication();
     Pages.Patient_Page.ClosePatientTab.ClickOn();
     Pages.Scheduler_Page.EnterStandBySchedulerList();
     Pages.Scheduler_Page.StanByCreate.ClickOn();
     softAssert.VerifyElementPresentInsideWindow(CreateStandby, CancelStandby);
     utility.TextClearDropdownAndEnter(StandbySearch, Pages.Patient_Page.PatientUseName);
     Thread.Sleep(500);
     utility.ClickDropdownAndEnter(TherapistSearch);
     CreateStandby.ClickWait();
     Thread.Sleep(1000);
     softAssert.VerifyElementHasEqual(utility.ListCount(standbyListCount), Constant.tmpListCount + 1);
 }
Example #2
0
 public void CreateStandbyApplication()
 {
     Pages.Patient_Page.NewPatientApplication();
     Pages.Patient_Page.ClosePatientTab.ClickOn();
     Pages.Scheduler_Page.EnterStandBySchedulerList();
     Pages.Scheduler_Page.StanByCreate.ClickOn();
     softAssert.VerifyElementPresentInsideWindow(CreateStandby, CancelStandby);
     utility.TextClearDropdownAndEnter(StandbySearch, Pages.Patient_Page.PatientUseName);
     Pages.Meeting_Page.PriceList.ClickOn();
     Pages.Meeting_Page.CodeBroswer.ClickOn();
     Pages.Meeting_Page.CodeBroswerFirstCode.ClickOn();
     Pages.Meeting_Page.SaveTreatmentFromPricelist.ClickOn();
     TherapistSearch.SendKeys(Keys.ArrowDown);
     Thread.Sleep(500);
     CreateStandby.ClickWait();
     softAssert.VerifySuccessMsg();
     softAssert.VerifyElementHasEqual(utility.ListCount(standbyListCount), Constant.tmpListCount + 1);
 }