コード例 #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();
 }
コード例 #2
0
 public void CreateNewPatientForm()
 {
     FormName.SendKeys(Constant.fieldName);
     utility.ClickDropdownAndEnter(FormSelectDepartment);
     utility.ClickDropdownAndEnter(FormSelectCategory);
     FormTitle.SendKeys(Constant.fieldName);
     FillFormWithComponents();
     SaveForm.ClickOn();
     softAssert.VerifySuccessMsg();
 }
コード例 #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);
 }
コード例 #4
0
 public void ReportGenerationCreateApplication()
 {
     GoTo();
     utility.ClickDropdownAndEnter(ReportEntityDropdown);
     FillFieldsToDisplay();
     FindFieldToDefine();
     SaveReport.ClickOn();
     ReportName.SendKeys(Constant.ReportName + RandomNumber.smallNumber());
     SaveAfterName.ClickOn();
     softAssert.VerifySuccessMsg();
 }
コード例 #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);
        }
コード例 #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);
 }