예제 #1
0
        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();
        }
예제 #2
0
        //[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();
        }