public void TC_VerifyClinicalJourney() { journeyEnabled = cmn.GetConfig("JourneyEnabled").ElementAt(0)[1].ToLower(); if (journeyEnabled.Equals("false")) { Assert.Ignore("Journeys not available for the client"); } Page_Journey pjourney = new Page_Journey(softassertions); is_soft_assert = true; pjourney.InitializeJourneyRequest("/journey?isMobile=false"); pjourney.SetMethod(); pjourney.SendRequest(); pjourney.VerifyClinicalJourney(); softassertions.AssertAll(); }
//[Category("Regression")] //[Category("JourClientReg")] public void TC_VerifyJourneyBanners() { journeyEnabled = cmn.GetConfig("JourneyEnabled").ElementAt(0)[1].ToLower(); if (journeyEnabled.Equals("false")) { Assert.Ignore("Journeys not available for the client"); } Page_Journey pjourney = new Page_Journey(softassertions); is_soft_assert = true; pjourney.InitializeJourneyRequest("/memberjourney/language/1033/banner"); pjourney.SetMethod(); pjourney.SendRequest(); pjourney.VerifyJourneyBanner(); softassertions.AssertAll(); }
public void TC_ValidateJourneyWithRecommendation() { journeyEnabled = cmn.GetConfig("JourneyEnabled").ElementAt(0)[1].ToLower(); if (journeyEnabled.Equals("false")) { Assert.Ignore("Journeys not available for the client"); } //Page_Login plogin = new Page_Login(); //plogin.Login(); //Page_HAPrompt haprompt = new Page_HAPrompt(); //Assert.IsTrue(haprompt.AtHaPrompt(), "Not at HA Prompt Page"); //haprompt.GoToDashboard(); //Page_CoachingLearnMore ptlm = new Page_CoachingLearnMore(softassertions); //Common com = new Common(); //com.ClickFooterDashboardLink(); Page_Journey pjourney = new Page_Journey(softassertions); pjourney.VerifyJournerWithRecommendation(); is_soft_assert = true; softassertions.AssertAll(); }