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); }
public void CreateNewTreatmentPlanApplication() { EnterTreatmentPlanPage(); Browser.chromebDriver.WaitFindElement(CreateTreatmentPlan); // CreateTreatmentPlan.ClickWait(); TreatmentPlanName.EnterClearText(Constant.treatmentPlan); utility.SelectCodeOnCodeBroswer("//*[@id='gridCodeBrowser']/div[2]/table/tbody/tr[1]/td[5]/div/input"); Browser.chromebDriver.WaitFindElement(TreatmentPlanSave); // TreatmentPlanSave.ClickWait(); softAssert.VerifySuccessMsg(); softAssert.VerifyElementHasEqual(utility.TableCount(treatmentTableCount), Constant.tmpTableCount + 1); }
public void DevCreatePriceListSeriesApplicaiton() { Pages.Home_Page.EntePriceListTab(); PriceListCreateNew.ClickOn(); PriceListCode.EnterText(Constant.priceListCode + RandomNumber.smallNumber()); PriceListName.EnterText(Constant.priceListName + RandomNumber.smallNumber()); Thread.Sleep(500); PriceListType.ClickOn(); PriceListType.SendKeys(Keys.ArrowDown); PriceListType.SendKeys(Keys.ArrowDown); PriceListType.SendKeys(Keys.Enter); utility.SelectCodeOnCodeBroswer("//*[@id='gridCodeBrowser']/div[2]/table/tbody/tr[1]/td[5]/div/input"); PriceListSaveDev.ClickOn(); PriceListSaveDev.ClickOn(); softAssert.VerifySuccessMsg(); softAssert.VerifyElementHasEqual(utility.TableCount(priceListTableCount), Constant.tmpTableCount + 1); }