示例#1
0
 public void HouseHoldOverviewNavigation()
 {
     try
     {
         HouseholdHistoryAction.HouseholdHistory();
         Assert.AreEqual(TestEnvironment.LoadJson().History.HistoryHeading, WebDriverUtils.TextChecker(HouseholdHistoryPageObjects.HistoryHeader()));
         Assert.AreEqual(TestEnvironment.LoadJson().History.ServiceHeading, WebDriverUtils.TextChecker(HouseholdHistoryPageObjects.ServiceHistoryHeader()));
         Assert.AreEqual(TestEnvironment.LoadJson().History.CasenoteHeading, WebDriverUtils.TextChecker(HouseholdHistoryPageObjects.CasenoteHistoryHeader()));
         Assert.AreEqual(TestEnvironment.LoadJson().History.GoalPlanHeading, WebDriverUtils.TextChecker(HouseholdHistoryPageObjects.FamilyGoalPlanHistoryHeader()));
         log.Info(System.Reflection.MethodBase.GetCurrentMethod());
         log.Info(LoginPageObjects.SuccessMessage());
     }
     catch (Exception ex)
     {
         log.Error(System.Reflection.MethodBase.GetCurrentMethod());
         log.Error(LoginPageObjects.FailedMessage() + ex.Message);
         Assert.Fail(ex.Message);
     }
 }
 public static void HouseholdHistory()
 {
     HouseHoldOverviewAction.HouseHoldOverview();
     WebDriverUtils.ClickAction(HouseholdHistoryPageObjects.HistoryLink());
 }