示例#1
0
        public static void HouseHoldOverviewAddContact()

        {
            ClientSearchAction.SearchAction();
            WebDriverUtils.ClickAction(HouseHoldOverviewPageObjects.ClientName());
            WebDriverUtils.ClickAction(HouseHoldOverviewPageObjects.AddContact());
        }
示例#2
0
        public static void HouseHoldOverviewEditHousehold()

        {
            ClientSearchAction.SearchAction();
            WebDriverUtils.ClickAction(HouseHoldOverviewPageObjects.ClientName());
            WebDriverUtils.ClickAction(HouseHoldOverviewPageObjects.EditHouseholdLink());
        }
 public void HouseHoldOverviewEditHouseholdTest()
 {
     try
     {
         HouseHoldOverviewAction.HouseHoldOverviewEditHousehold();
         Assert.AreEqual(TestEnvironment.LoadJson().HeadingHo.Edithousehold, WebDriverUtils.TextChecker(HouseHoldOverviewPageObjects.EditHouseholdHeader()));
         log.Info(System.Reflection.MethodBase.GetCurrentMethod());
         log.Info(LoginPageObjects.SuccessMessage());
     }
     catch (Exception ex)
     {
         log.Error(System.Reflection.MethodBase.GetCurrentMethod());
         log.Error(ex.Message);
         Assert.Fail(ex.Message);
     }
 }