Esempio n. 1
0
 public void CreateMeetingApplicationProd()
 {
     Thread.Sleep(500);
     utility.TextClearDropdownAndEnter(SearchPatient, Pages.Patient_Page.PatientUseName);
     Thread.Sleep(500);
     utility.ClickDropdownAndEnter(PriceListProd);
     ApproveMeeting.ClickOn();
     softAssert.VerifySuccessMsg();
 }
Esempio n. 2
0
 public void CreateNewPatientForm()
 {
     FormName.SendKeys(Constant.fieldName);
     utility.ClickDropdownAndEnter(FormSelectDepartment);
     utility.ClickDropdownAndEnter(FormSelectCategory);
     FormTitle.SendKeys(Constant.fieldName);
     FillFormWithComponents();
     SaveForm.ClickOn();
     softAssert.VerifySuccessMsg();
 }
Esempio n. 3
0
 public void CreateNewSingleTreatmentApplication()
 {
     Pages.Patient_Page.NewPatientApplication();
     GoTo();
     CreateNewTreatment.ClickOn();
     utility.SelectFromList("newItemMenu", 0);
     utility.ClickDropdownAndEnter(SelectTerapist);
     utility.SelectCodeOnCodeBroswer("//*[@id='gridCodeBrowser']/div[2]/table/tbody/tr[1]/td[5]/div/input");
     Thread.Sleep(500);
     SaveTreatment.ClickWait();
     softAssert.VerifyElemenNotHaveEqual(utility.TableCount("//*[@id='tab3_customerTreatmentsGrid_" + Constant.patientDataID + "']/div[2]/div[1]/table/tbody"), Constant.tmpTableCount);
 }
Esempio n. 4
0
 public void ReportGenerationCreateApplication()
 {
     GoTo();
     utility.ClickDropdownAndEnter(ReportEntityDropdown);
     FillFieldsToDisplay();
     FindFieldToDefine();
     SaveReport.ClickOn();
     ReportName.SendKeys(Constant.ReportName + RandomNumber.smallNumber());
     SaveAfterName.ClickOn();
     softAssert.VerifySuccessMsg();
 }
Esempio n. 5
0
        public void therapistSchedulerSetup()
        {
            int rowCount = utility.TableCount("//*[@id='userActiveHours']/tbody");

            while (rowCount > 1)
            {
                Browser.Driver.FindElement(By.XPath("//*[@id='userActiveHours']/tbody/tr[2]/td[8]/img[2]")).ClickOn();
                rowCount--;
            }
            Thread.Sleep(1000);
            utility.ClickDropdownAndEnter(TherapistSchedulerBranchDropdown);
        }
Esempio n. 6
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);
 }