public void RemoveIdentificationNavigation() { try { IndividualOverviewAction.RemoveIdentificationIo(); WebDriverUtils.HoldDriver(); Assert.AreEqual(TestEnvironment.LoadJson().HeadingIo.RemoveLinkText, WebDriverUtils.TextChecker(IndividualOverviewPageObjects.RemoveIdentificationLink())); 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 void IndividualOverviewNavigation() { try { IndividualOverviewAction.IndividualOverview(); WebDriverUtils.HoldDriver(); Assert.AreEqual(TestEnvironment.LoadJson().HeadingIo.IdentifyingDetails, WebDriverUtils.TextChecker(IndividualOverviewPageObjects.OverviewIdentifyingHeader())); Assert.AreEqual(TestEnvironment.LoadJson().HeadingIo.IdentificationDetails, WebDriverUtils.TextChecker(IndividualOverviewPageObjects.IdentificationHeader())); Assert.AreEqual(TestEnvironment.LoadJson().HeadingIo.DemographicDetails, WebDriverUtils.TextChecker(IndividualOverviewPageObjects.OverviewDemographicHeader())); 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); } }